Home
last modified time | relevance | path

Searched refs:MCAssembler (Results 1 – 25 of 89) sorted by relevance

1234

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCObjectWriter.h18 class MCAssembler; variable
53 virtual void executePostLayoutBinding(MCAssembler &Asm,
62 virtual void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
72 bool isSymbolRefDifferenceFullyResolved(const MCAssembler &Asm,
77 virtual bool isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
82 virtual bool isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
105 virtual uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) = 0;
H A DMCMachObjectWriter.h75 virtual void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
150 bool isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind);
238 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
242 void bindIndirectSymbols(MCAssembler &Asm);
245 void computeSymbolTable(MCAssembler &Asm,
250 void computeSectionAddresses(const MCAssembler &Asm,
253 void executePostLayoutBinding(MCAssembler &Asm,
256 bool isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
261 bool isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
266 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
H A DMCAsmBackend.h23 class MCAssembler; variable
91 virtual bool shouldForceRelocation(const MCAssembler &Asm, in shouldForceRelocation()
107 virtual bool shouldInsertFixupForCodeAlign(MCAssembler &Asm, in shouldInsertFixupForCodeAlign()
113 virtual bool evaluateTargetFixup(const MCAssembler &Asm, in evaluateTargetFixup()
127 virtual void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
191 virtual void finishLayout(MCAssembler const &Asm, in finishLayout()
H A DMCAsmLayout.h16 class MCAssembler; variable
29 MCAssembler &Assembler;
47 MCAsmLayout(MCAssembler &Assembler);
50 MCAssembler &getAssembler() const { return Assembler; } in getAssembler()
H A DMCAssembler.h60 class MCAssembler {
229 MCAssembler(MCContext &Context, std::unique_ptr<MCAsmBackend> Backend,
232 MCAssembler(const MCAssembler &) = delete;
233 MCAssembler &operator=(const MCAssembler &) = delete;
234 ~MCAssembler();
433 return const_cast<MCAssembler *>(this)->getLOHContainer(); in getLOHContainer()
471 uint64_t computeBundlePadding(const MCAssembler &Assembler,
H A DMCObjectStreamer.h19 class MCAssembler; variable
37 std::unique_ptr<MCAssembler> Assembler;
112 MCAssembler &getAssembler() { return *Assembler; } in getAssembler()
113 MCAssembler *getAssemblerPtr() override;
H A DMCExpr.h20 class MCAssembler; variable
56 bool evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm,
67 bool evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm,
106 bool evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const;
107 bool evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm) const;
663 virtual void fixELFSymbolsInTLSFixups(MCAssembler &) const = 0;
/netbsd/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCAssembler.cpp83 MCAssembler::MCAssembler(MCContext &Context, in MCAssembler() function in MCAssembler
94 MCAssembler::~MCAssembler() = default;
96 void MCAssembler::reset() { in reset()
123 bool MCAssembler::registerSection(MCSection &Section) { in registerSection()
473 void MCAssembler::writeFragmentPadding(raw_ostream &OS, in writeFragmentPadding()
819 void MCAssembler::layout(MCAsmLayout &Layout) { in layout()
945 void MCAssembler::Finish() { in Finish()
1178 bool MCAssembler::relaxCVDefRange(MCAsmLayout &Layout, in relaxCVDefRange()
1253 bool MCAssembler::layoutOnce(MCAsmLayout &Layout) { in layoutOnce()
1265 void MCAssembler::finishLayout(MCAsmLayout &Layout) { in finishLayout()
[all …]
H A DWinCOFFObjectWriter.cpp197 void writeSection(MCAssembler &Asm, const MCAsmLayout &Layout,
202 void executePostLayoutBinding(MCAssembler &Asm,
214 void createFileSymbols(MCAssembler &Asm);
365 MCAssembler &Assembler, in DefineSymbol()
623 void WinCOFFObjectWriter::writeSection(MCAssembler &Asm, in writeSection()
714 void WinCOFFObjectWriter::recordRelocation(MCAssembler &Asm, in recordRelocation()
858 void WinCOFFObjectWriter::createFileSymbols(MCAssembler &Asm) { in createFileSymbols()
956 void WinCOFFObjectWriter::assignFileOffsets(MCAssembler &Asm, in assignFileOffsets()
1016 uint64_t WinCOFFObjectWriter::writeObject(MCAssembler &Asm, in writeObject()
1150 MCAssembler::iterator J = Asm.begin(); in writeObject()
[all …]
H A DMCObjectWriter.cpp20 const MCAssembler &Asm, const MCSymbolRefExpr *A, const MCSymbolRefExpr *B, in isSymbolRefDifferenceFullyResolved()
39 const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B, in isSymbolRefDifferenceFullyResolvedImpl()
46 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl()
H A DMachObjectWriter.cpp462 void MachObjectWriter::recordRelocation(MCAssembler &Asm, in recordRelocation()
477 void MachObjectWriter::bindIndirectSymbols(MCAssembler &Asm) { in bindIndirectSymbols()
542 MCAssembler &Asm, std::vector<MachSymbolData> &LocalSymbolData, in computeSymbolTable()
548 for (MCAssembler::iterator it = Asm.begin(), in computeSymbolTable()
642 void MachObjectWriter::computeSectionAddresses(const MCAssembler &Asm, in computeSectionAddresses()
657 void MachObjectWriter::executePostLayoutBinding(MCAssembler &Asm, in executePostLayoutBinding()
666 const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B, in isSymbolRefDifferenceFullyResolvedImpl()
754 uint64_t MachObjectWriter::writeObject(MCAssembler &Asm, in writeObject()
763 const MCAssembler::VersionInfoType &VersionInfo = in writeObject()
975 for (MCAssembler::const_data_region_iterator in writeObject()
[all …]
H A DELFObjectWriter.cpp170 void writeHeader(const MCAssembler &Asm);
201 void writeSectionData(const MCAssembler &Asm, MCSection &Sec,
211 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout);
231 bool shouldRelocateWithSymbol(const MCAssembler &Asm,
262 void executePostLayoutBinding(MCAssembler &Asm,
400 void ELFWriter::writeHeader(const MCAssembler &Asm) { in writeHeader()
602 MCAssembler &Asm, const MCAsmLayout &Layout, in computeSymbolTable()
915 void ELFWriter::writeRelocations(const MCAssembler &Asm, in writeRelocations()
1241 void ELFObjectWriter::executePostLayoutBinding(MCAssembler &Asm, in executePostLayoutBinding()
1245 for (const MCAssembler::Symver &S : Asm.Symvers) { in executePostLayoutBinding()
[all …]
H A DMCELFStreamer.cpp54 MCAssembler &Assembler = getAssembler(); in mergeFragment()
139 static void setSectionAlignmentForBundling(const MCAssembler &Assembler, in setSectionAlignmentForBundling()
152 MCAssembler &Asm = getAssembler(); in changeSection()
342 getAssembler().Symvers.push_back(MCAssembler::Symver{ in emitELFSymverDirective()
503 for (MCAssembler::CGProfileEntry &E : getAssembler().CGProfile) { in finalizeCGProfile()
529 MCAssembler &Assembler = getAssembler(); in emitInstToData()
621 MCAssembler &Assembler = getAssembler(); in emitBundleAlignMode()
H A DXCOFFObjectWriter.cpp199 void executePostLayoutBinding(MCAssembler &, const MCAsmLayout &) override;
201 void recordRelocation(MCAssembler &, const MCAsmLayout &, const MCFragment *,
204 uint64_t writeObject(MCAssembler &, const MCAsmLayout &) override;
215 void writeSections(const MCAssembler &Asm, const MCAsmLayout &Layout);
345 void XCOFFObjectWriter::executePostLayoutBinding(MCAssembler &Asm, in executePostLayoutBinding()
408 void XCOFFObjectWriter::recordRelocation(MCAssembler &Asm, in recordRelocation()
515 void XCOFFObjectWriter::writeSections(const MCAssembler &Asm, in writeSections()
554 uint64_t XCOFFObjectWriter::writeObject(MCAssembler &Asm, in writeObject()
H A DMCExpr.cpp549 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in evaluateAsAbsolute()
553 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm) const { in evaluateAsAbsolute()
563 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, in evaluateAsAbsolute()
585 const MCAssembler *Asm, const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference()
674 static bool canFold(const MCAssembler *Asm, const MCSymbolRefExpr *A, in canFold()
712 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout, in EvaluateSymbolicAdd()
769 MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr; in evaluateAsRelocatable()
775 MCAssembler *Assembler = &Layout.getAssembler(); in evaluateAsValue()
793 bool MCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.h20 class MCAssembler; variable
64 bool shouldInsertFixupForCodeAlign(MCAssembler &Asm,
68 bool evaluateTargetFixup(const MCAssembler &Asm, const MCAsmLayout &Layout,
73 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
81 bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup,
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp31 const MCAssembler &Asm,
40 const MCAssembler &Asm,
47 const MCAssembler &Asm,
55 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
141 const MCAssembler &Asm, in RecordARMScatteredHalfRelocation()
254 const MCAssembler &Asm, in RecordARMScatteredRelocation()
330 const MCAssembler &Asm, in requiresExternRelocation()
376 MCAssembler &Asm, in recordRelocation()
H A DARMAsmBackend.h44 bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup,
47 unsigned adjustFixupValue(const MCAssembler &Asm, const MCFixup &Fixup,
52 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.h24 class MCAssembler; variable
40 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
60 bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup,
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.h23 class MCAssembler; variable
41 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
68 bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup,
H A DMipsTargetStreamer.cpp789 MCAssembler &MCA = getStreamer().getAssembler(); in MipsTargetELFStreamer()
877 MCAssembler &MCA = getStreamer().getAssembler(); in finish()
979 MCAssembler &MCA = getStreamer().getAssembler(); in setUsesMicroMips()
986 MCAssembler &MCA = getStreamer().getAssembler(); in emitDirectiveSetMips16()
994 MCAssembler &MCA = getStreamer().getAssembler(); in emitDirectiveSetNoReorder()
1002 MCAssembler &MCA = getStreamer().getAssembler(); in emitDirectiveEnd()
1058 MCAssembler &MCA = getStreamer().getAssembler(); in emitDirectiveAbiCalls()
1065 MCAssembler &MCA = getStreamer().getAssembler(); in emitDirectiveNaN2008()
1072 MCAssembler &MCA = getStreamer().getAssembler(); in emitDirectiveNaNLegacy()
1079 MCAssembler &MCA = getStreamer().getAssembler(); in emitDirectiveOptionPic0()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp28 const MCAssembler &Asm,
36 const MCAssembler &Asm,
44 const MCAssembler &Asm,
50 void RecordX86_64Relocation(MachObjectWriter *Writer, MCAssembler &Asm,
59 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation()
103 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation()
364 const MCAssembler &Asm, in recordScatteredRelocation()
464 const MCAssembler &Asm, in recordTLVPRelocation()
504 const MCAssembler &Asm, in RecordX86Relocation()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCExpr.cpp57 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
86 void CSKYMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp37 unsigned &Log2Size, const MCAssembler &Asm);
43 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
53 unsigned &Log2Size, const MCAssembler &Asm) { in getAArch64FixupKindMachOInfo()
152 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.h80 void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override {} in fixELFSymbolsInTLSFixups()
122 void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override {} in fixELFSymbolsInTLSFixups()

1234