Lines Matching refs:Asm

73     static bool isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind);
168 void writeHeader(const MCAssembler &Asm);
177 bool shouldRelocateWithSymbol(const MCAssembler &Asm,
182 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
192 /// \param Asm - The assembler.
195 void computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
205 void executePostLayoutBinding(MCAssembler &Asm,
212 void writeSectionData(const MCAssembler &Asm, MCSection &Sec,
220 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
222 bool isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
230 void writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
298 bool ELFObjectWriter::isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind) {
300 Asm.getBackend().getFixupKindInfo((MCFixupKind) Kind);
309 void ELFObjectWriter::writeHeader(const MCAssembler &Asm) {
342 write32(Asm.getELFHeaderEFlags());
376 void ELFObjectWriter::executePostLayoutBinding(MCAssembler &Asm,
381 for (const MCSymbol &A : Asm.symbols()) {
495 bool ELFObjectWriter::shouldRelocateWithSymbol(const MCAssembler &Asm,
585 if (Asm.isThumbFunc(Sym))
613 void ELFObjectWriter::recordRelocation(MCAssembler &Asm,
634 Asm.getContext().reportError(
643 Asm.getContext().reportError(
653 Asm.getContext().reportError(
659 Asm.getContext().reportError(
686 bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type);
761 MCAssembler &Asm, const MCAsmLayout &Layout,
764 MCContext &Ctx = Asm.getContext();
785 for (const MCSymbol &S : Asm.symbols()) {
889 ArrayRef<std::string> FileNames = Asm.getFileNames();
992 void ELFObjectWriter::writeSectionData(const MCAssembler &Asm, MCSection &Sec,
1000 if (!Asm.getContext().getAsmInfo()->compressDebugSections() ||
1002 Asm.writeSectionData(&Section, Layout);
1010 Asm.writeSectionData(&Section, Layout);
1026 Asm.getContext().renameELFSection(&Section,
1049 void ELFObjectWriter::writeRelocations(const MCAssembler &Asm,
1060 TargetObjectWriter->sortRelocs(Asm, Relocs);
1181 void ELFObjectWriter::writeObject(MCAssembler &Asm,
1183 MCContext &Ctx = Asm.getContext();
1194 writeHeader(Asm);
1200 for (MCSection &Sec : Asm) {
1209 writeSectionData(Asm, Section, Layout);
1217 Asm.registerSymbol(*SignatureSymbol);
1258 computeSymbolTable(Asm, Layout, SectionIndexMap, RevGroupMap, SectionOffsets);
1266 writeRelocations(Asm, *RelSection->getAssociatedSection());
1314 const MCAssembler &Asm, const MCSymbol &SA, const MCFragment &FB,
1322 return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB,