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