Lines Matching refs:Asm
60 bool MachObjectWriter::isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind) { in isFixupKindPCRel() argument
61 const MCFixupKindInfo &FKI = Asm.getBackend().getFixupKindInfo( in isFixupKindPCRel()
433 void MachObjectWriter::recordRelocation(MCAssembler &Asm, in recordRelocation() argument
438 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()
442 void MachObjectWriter::bindIndirectSymbols(MCAssembler &Asm) { in bindIndirectSymbols() argument
452 for (MCAssembler::indirect_symbol_iterator it = Asm.indirect_symbol_begin(), in bindIndirectSymbols()
453 ie = Asm.indirect_symbol_end(); it != ie; ++it) { in bindIndirectSymbols()
467 for (MCAssembler::indirect_symbol_iterator it = Asm.indirect_symbol_begin(), in bindIndirectSymbols()
468 ie = Asm.indirect_symbol_end(); it != ie; ++it, ++IndirectIndex) { in bindIndirectSymbols()
477 Asm.registerSymbol(*it->Symbol); in bindIndirectSymbols()
482 for (MCAssembler::indirect_symbol_iterator it = Asm.indirect_symbol_begin(), in bindIndirectSymbols()
483 ie = Asm.indirect_symbol_end(); it != ie; ++it, ++IndirectIndex) { in bindIndirectSymbols()
497 Asm.registerSymbol(*it->Symbol, &Created); in bindIndirectSymbols()
505 MCAssembler &Asm, std::vector<MachSymbolData> &LocalSymbolData, in computeSymbolTable() argument
511 for (MCAssembler::iterator it = Asm.begin(), in computeSymbolTable()
512 ie = Asm.end(); it != ie; ++it, ++Index) in computeSymbolTable()
517 for (const MCSymbol &Symbol : Asm.symbols()) { in computeSymbolTable()
518 if (!Asm.isSymbolLinkerVisible(Symbol)) in computeSymbolTable()
530 for (const MCSymbol &Symbol : Asm.symbols()) { in computeSymbolTable()
532 if (!Asm.isSymbolLinkerVisible(Symbol)) in computeSymbolTable()
556 for (const MCSymbol &Symbol : Asm.symbols()) { in computeSymbolTable()
558 if (!Asm.isSymbolLinkerVisible(Symbol)) in computeSymbolTable()
589 for (const MCSection &Section : Asm) { in computeSymbolTable()
605 void MachObjectWriter::computeSectionAddresses(const MCAssembler &Asm, in computeSectionAddresses() argument
620 void MachObjectWriter::executePostLayoutBinding(MCAssembler &Asm, in executePostLayoutBinding() argument
622 computeSectionAddresses(Asm, Layout); in executePostLayoutBinding()
625 bindIndirectSymbols(Asm); in executePostLayoutBinding()
629 const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B, in isSymbolRefDifferenceFullyResolvedImpl() argument
636 return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, A, B, in isSymbolRefDifferenceFullyResolvedImpl()
641 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl() argument
673 Asm.getSubsectionsViaSymbols())) in isSymbolRefDifferenceFullyResolvedImpl()
707 void MachObjectWriter::writeObject(MCAssembler &Asm, in writeObject() argument
710 computeSymbolTable(Asm, LocalSymbolData, ExternalSymbolData, in writeObject()
713 unsigned NumSections = Asm.size(); in writeObject()
731 unsigned NumDataRegions = Asm.getDataRegions().size(); in writeObject()
738 uint64_t LOHRawSize = Asm.getLOHContainer().getEmitSize(*this, Layout); in writeObject()
755 for (const auto &Option : Asm.getLinkerOptions()) { in writeObject()
767 for (const MCSection &Sec : Asm) { in writeObject()
790 Asm.getSubsectionsViaSymbols()); in writeObject()
798 for (const MCSection &Section : Asm) { in writeObject()
862 unsigned NumIndirectSymbols = Asm.indirect_symbol_size(); in writeObject()
890 for (const auto &Option : Asm.getLinkerOptions()) in writeObject()
894 for (const MCSection &Sec : Asm) { in writeObject()
895 Asm.writeSectionData(&Sec, Layout); in writeObject()
905 for (const MCSection &Sec : Asm) { in writeObject()
917 it = Asm.data_region_begin(), ie = Asm.data_region_end(); in writeObject()
937 Asm.getLOHContainer().emit(*this, Layout); in writeObject()
947 it = Asm.indirect_symbol_begin(), in writeObject()
948 ie = Asm.indirect_symbol_end(); it != ie; ++it) { in writeObject()