Home
last modified time | relevance | path

Searched refs:MCAsmLayout (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCAssembler.h49 class MCAsmLayout; variable
74 friend class MCAsmLayout; variable
202 bool layoutOnce(MCAsmLayout &Layout);
210 bool relaxFragment(MCAsmLayout &Layout, MCFragment &F);
212 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
215 bool relaxDwarfCallFrameFragment(MCAsmLayout &Layout,
217 bool relaxCVInlineLineTable(MCAsmLayout &Layout,
223 void finishLayout(MCAsmLayout &Layout);
255 uint64_t computeFragmentSize(const MCAsmLayout &Layout,
270 const MCAsmLayout &Layout) const;
[all …]
H A DMCAsmBackend.h27 class MCAsmLayout; variable
120 const MCAsmLayout &Layout, in shouldInsertFixupForCodeAlign()
126 const MCAsmLayout &Layout, in evaluateTargetFixup()
134 virtual bool handleAddSubRelocations(const MCAsmLayout &Layout, in handleAddSubRelocations()
173 const MCAsmLayout &Layout,
179 const MCAsmLayout &Layout) const = 0;
190 MCAsmLayout &Layout, bool &WasRelaxed) const { in relaxDwarfLineAddr()
194 virtual bool relaxDwarfCFA(MCDwarfCallFrameFragment &DF, MCAsmLayout &Layout, in relaxDwarfCFA()
202 relaxLEB128(MCLEBFragment &LF, MCAsmLayout &Layout, int64_t &Value) const { in relaxLEB128()
229 MCAsmLayout &Layout) const {} in finishLayout()
H A DMCMachObjectWriter.h76 const MCAsmLayout &Layout,
158 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
161 const MCAsmLayout &Layout) const;
163 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
193 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
207 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
239 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
252 const MCAsmLayout &Layout);
255 const MCAsmLayout &Layout) override;
269 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
H A DMCLinkerOptimizationHint.h28 class MCAsmLayout; variable
112 const MCAsmLayout &Layout) const;
128 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const;
133 const MCAsmLayout &Layout) const;
161 const MCAsmLayout &Layout) const { in getEmitSize()
171 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const { in emit()
H A DMCObjectWriter.h18 class MCAsmLayout; variable
58 const MCAsmLayout &Layout) = 0;
66 virtual void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
124 virtual uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) = 0;
H A DMCExpr.h19 class MCAsmLayout; variable
57 const MCAsmLayout *Layout,
68 const MCAsmLayout *Layout,
103 bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout,
108 bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
110 bool evaluateKnownAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
119 bool evaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout,
127 bool evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const;
658 const MCAsmLayout *Layout,
H A DMCAsmLayout.h28 class MCAsmLayout {
47 MCAsmLayout(MCAssembler &Assembler);
H A DMCCodeView.h25 class MCAsmLayout; variable
202 void encodeInlineLineTable(MCAsmLayout &Layout,
210 void encodeDefRange(MCAsmLayout &Layout, MCCVDefRangeFragment &F);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.h48 const MCAsmLayout &Layout,
51 bool evaluateTargetFixup(const MCAssembler &Asm, const MCAsmLayout &Layout,
56 bool handleAddSubRelocations(const MCAsmLayout &Layout, const MCFragment &F,
74 const MCAsmLayout &Layout) const override { in fixupNeedsRelaxation()
81 const MCAsmLayout &Layout,
99 bool relaxDwarfLineAddr(MCDwarfLineAddrFragment &DF, MCAsmLayout &Layout,
101 bool relaxDwarfCFA(MCDwarfCallFrameFragment &DF, MCAsmLayout &Layout,
103 std::pair<bool, bool> relaxLEB128(MCLEBFragment &LF, MCAsmLayout &Layout,
H A DRISCVAsmBackend.cpp146 const MCAsmLayout &Layout, in fixupNeedsRelaxationAdvanced()
210 MCAsmLayout &Layout, in relaxDwarfLineAddr()
276 MCAsmLayout &Layout, in relaxDwarfCFA()
340 MCAsmLayout &Layout, in relaxLEB128()
527 const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, in evaluateTargetFixup()
588 bool RISCVAsmBackend::handleAddSubRelocations(const MCAsmLayout &Layout, in handleAddSubRelocations()
693 const MCAsmLayout &Layout, in shouldInsertFixupForCodeAlign()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCFragment.cpp32 MCAsmLayout::MCAsmLayout(MCAssembler &Asm) : Assembler(Asm) { in MCAsmLayout() function in MCAsmLayout
42 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
51 bool MCAsmLayout::canGetFragmentOffset(const MCFragment *F) const { in canGetFragmentOffset()
70 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
80 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
91 const_cast<MCAsmLayout *>(this)->layoutFragment(&*I); in ensureValid()
96 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
103 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S, in getLabelOffset()
156 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const { in getSymbolOffset()
198 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const { in getSectionAddressSize()
[all …]
H A DSPIRVObjectWriter.cpp32 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation()
37 const MCAsmLayout &Layout) override {} in executePostLayoutBinding()
39 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
66 const MCAsmLayout &Layout) { in writeObject()
H A DMCLinkerOptimizationHint.cpp29 const MCAsmLayout &Layout) const { in emit_impl()
37 const MCAsmLayout &Layout) const { in emit()
43 const MCAsmLayout &Layout) const { in getEmitSize()
H A DMCAssembler.cpp407 void MCAsmLayout::layoutFragment(MCFragment *F) { in layoutFragment()
816 void MCAssembler::layout(MCAsmLayout &Layout) { in layout()
950 MCAsmLayout Layout(*this); in Finish()
990 bool MCAssembler::relaxInstruction(MCAsmLayout &Layout, in relaxInstruction()
1092 bool MCAssembler::relaxBoundaryAlign(MCAsmLayout &Layout, in relaxBoundaryAlign()
1116 bool MCAssembler::relaxDwarfLineAddr(MCAsmLayout &Layout, in relaxDwarfLineAddr()
1165 bool MCAssembler::relaxCVInlineLineTable(MCAsmLayout &Layout, in relaxCVInlineLineTable()
1172 bool MCAssembler::relaxCVDefRange(MCAsmLayout &Layout, in relaxCVDefRange()
1179 bool MCAssembler::relaxPseudoProbeAddr(MCAsmLayout &Layout, in relaxPseudoProbeAddr()
1243 bool MCAssembler::layoutOnce(MCAsmLayout &Layout) { in layoutOnce()
[all …]
H A DWinCOFFObjectWriter.cpp168 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
171 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout);
182 const MCAsmLayout &Layout);
197 void writeSection(MCAssembler &Asm, const MCAsmLayout &Layout,
230 const MCAsmLayout &Layout) override;
235 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
326 const MCAsmLayout &Layout) { in defineSection()
373 const MCAsmLayout &Layout) { in getSymbolValue()
403 const MCAsmLayout &Layout) { in DefineSymbol()
857 const MCAsmLayout &Layout, in recordRelocation()
[all …]
H A DMCDXContainerWriter.cpp38 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation()
43 const MCAsmLayout &Layout) override {} in executePostLayoutBinding()
45 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
50 const MCAsmLayout &Layout) { in writeObject()
H A DXCOFFObjectWriter.cpp359 uint64_t writeObject(MCAssembler &, const MCAsmLayout &) override;
380 const MCAsmLayout &Layout,
384 const MCAsmLayout &Layout,
388 const MCAssembler &Asm, const MCAsmLayout &Layout,
394 void writeSymbolTable(const MCAsmLayout &Layout);
419 void assignAddressesAndIndices(const MCAsmLayout &);
785 const MCAsmLayout &Layout) { in writeSections()
1529 const MCAssembler &Asm, const MCAsmLayout &Layout, in writeSectionForControlSectionEntry()
1576 const MCAssembler &Asm, const MCAsmLayout &Layout, in writeSectionForDwarfSectionEntry()
1604 const MCAssembler &Asm, const MCAsmLayout &Layout, in writeSectionForExceptionSectionEntry()
[all …]
H A DELFObjectWriter.cpp173 ELFSymbolData &MSD, const MCAsmLayout &Layout);
187 void computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
199 void writeSectionHeader(const MCAsmLayout &Layout,
204 const MCAsmLayout &Layout);
213 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout);
260 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
265 const MCAsmLayout &Layout) override;
465 const MCAsmLayout &Layout) { in SymbolValue()
642 MCAssembler &Asm, const MCAsmLayout &Layout, in computeSymbolTable()
875 const MCAsmLayout &Layout) { in writeSectionData()
[all …]
H A DGOFFObjectWriter.cpp239 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation()
243 const MCAsmLayout &Layout) override {} in executePostLayoutBinding()
244 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
282 const MCAsmLayout &Layout) { in writeObject()
H A DWasmObjectWriter.cpp296 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
301 const MCAsmLayout &Layout) override;
303 MCAssembler &Asm, const MCAsmLayout &Layout);
306 uint64_t writeOneObject(MCAssembler &Asm, const MCAsmLayout &Layout,
340 uint32_t writeDataSection(const MCAsmLayout &Layout);
355 const MCAsmLayout &Layout);
484 const MCAsmLayout &Layout, in recordRelocation()
645 const MCAsmLayout &Layout) { in getProvisionalValue()
770 const MCAsmLayout &Layout) { in applyRelocations()
1335 const MCAsmLayout &Layout) { in prepareImports()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchAsmBackend.h42 bool handleAddSubRelocations(const MCAsmLayout &Layout, const MCFragment &F,
57 const MCAsmLayout &Layout,
66 const MCAsmLayout &Layout) const override { in fixupNeedsRelaxation()
81 std::pair<bool, bool> relaxLEB128(MCLEBFragment &LF, MCAsmLayout &Layout,
84 bool relaxDwarfLineAddr(MCDwarfLineAddrFragment &DF, MCAsmLayout &Layout,
86 bool relaxDwarfCFA(MCDwarfCallFrameFragment &DF, MCAsmLayout &Layout,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp29 const MCAsmLayout &Layout,
37 const MCAsmLayout &Layout,
45 const MCAsmLayout &Layout,
51 const MCAsmLayout &Layout,
60 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation()
103 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation()
365 const MCAsmLayout &Layout, in recordScatteredRelocation()
465 const MCAsmLayout &Layout, in recordTLVPRelocation()
505 const MCAsmLayout &Layout, in RecordX86Relocation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp32 const MCAsmLayout &Layout,
41 const MCAsmLayout &Layout,
56 const MCAsmLayout &Layout, const MCFragment *Fragment,
142 const MCAsmLayout &Layout, in RecordARMScatteredHalfRelocation()
255 const MCAsmLayout &Layout, in RecordARMScatteredRelocation()
377 const MCAsmLayout &Layout, in recordRelocation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYAsmBackend.h38 const MCAsmLayout &Layout) const override;
49 const MCAsmLayout &Layout,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.h78 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl()
120 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl()

1234