Home
last modified time | relevance | path

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

1234567

/external/llvm/include/llvm/MC/
DMCAssembler.h28 class MCAsmLayout; variable
57 friend class MCAsmLayout; variable
164 bool evaluateFixup(const MCAsmLayout &Layout, const MCFixup &Fixup,
171 const MCAsmLayout &Layout) const;
175 const MCAsmLayout &Layout) const;
179 bool layoutOnce(MCAsmLayout &Layout);
183 bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec);
185 bool relaxInstruction(MCAsmLayout &Layout, MCRelaxableFragment &IF);
187 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
189 bool relaxDwarfLineAddr(MCAsmLayout &Layout, MCDwarfLineAddrFragment &DF);
[all …]
DMCMachObjectWriter.h66 const MCAsmLayout &Layout,
140 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
143 const MCAsmLayout &Layout) const;
145 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
175 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
189 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
222 const MCAsmLayout &Layout,
227 void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
231 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
245 const MCAsmLayout &Layout);
[all …]
DMCLinkerOptimizationHint.h28 class MCAsmLayout; variable
110 const MCAsmLayout &Layout) const;
126 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const;
131 const MCAsmLayout &Layout) const;
159 const MCAsmLayout &Layout) const { in getEmitSize()
169 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const { in emit()
DMCAsmBackend.h22 class MCAsmLayout; variable
68 const MCAsmLayout &Layout, in processFixupValue()
94 const MCAsmLayout &Layout) const;
99 const MCAsmLayout &Layout) const = 0;
126 MCAsmLayout &Layout) const {} in finishLayout()
DMCExpr.h19 class MCAsmLayout; variable
51 const MCAsmLayout *Layout,
55 const MCAsmLayout *Layout,
62 const MCAsmLayout *Layout,
91 bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout,
95 bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
97 bool evaluateKnownAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
106 bool evaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout,
114 bool evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const;
534 const MCAsmLayout *Layout,
/external/llvm-project/llvm/include/llvm/MC/
DMCAssembler.h36 class MCAsmLayout; variable
61 friend class MCAsmLayout; variable
172 bool evaluateFixup(const MCAsmLayout &Layout, const MCFixup &Fixup,
179 const MCAsmLayout &Layout) const;
183 const MCAsmLayout &Layout) const;
187 bool layoutOnce(MCAsmLayout &Layout);
191 bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec);
195 bool relaxFragment(MCAsmLayout &Layout, MCFragment &F);
196 bool relaxInstruction(MCAsmLayout &Layout, MCRelaxableFragment &IF);
197 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
[all …]
DMCMachObjectWriter.h76 const MCAsmLayout &Layout,
157 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
160 const MCAsmLayout &Layout) const;
162 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
192 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
206 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
238 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
251 const MCAsmLayout &Layout);
254 const MCAsmLayout &Layout) override;
266 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
DMCAsmBackend.h22 class MCAsmLayout; variable
108 const MCAsmLayout &Layout, in shouldInsertFixupForCodeAlign()
114 const MCAsmLayout &Layout, in evaluateTargetFixup()
156 const MCAsmLayout &Layout,
162 const MCAsmLayout &Layout) const = 0;
192 MCAsmLayout &Layout) const {} in finishLayout()
DMCLinkerOptimizationHint.h29 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()
DMCObjectWriter.h17 class MCAsmLayout; variable
54 const MCAsmLayout &Layout) = 0;
62 virtual void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
102 virtual uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCAssembler.h36 class MCAsmLayout; variable
61 friend class MCAsmLayout; variable
172 bool evaluateFixup(const MCAsmLayout &Layout, const MCFixup &Fixup,
179 const MCAsmLayout &Layout) const;
183 const MCAsmLayout &Layout) const;
187 bool layoutOnce(MCAsmLayout &Layout);
191 bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec);
193 bool relaxInstruction(MCAsmLayout &Layout, MCRelaxableFragment &IF);
194 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
195 bool relaxBoundaryAlign(MCAsmLayout &Layout, MCBoundaryAlignFragment &BF);
[all …]
DMCMachObjectWriter.h75 const MCAsmLayout &Layout,
154 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
157 const MCAsmLayout &Layout) const;
159 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
189 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
203 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
236 const MCAsmLayout &Layout,
241 void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
245 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
258 const MCAsmLayout &Layout);
[all …]
DMCAsmBackend.h23 class MCAsmLayout; variable
106 const MCAsmLayout &Layout, in shouldInsertFixupForCodeAlign()
112 const MCAsmLayout &Layout, in evaluateTargetFixup()
152 const MCAsmLayout &Layout,
158 const MCAsmLayout &Layout) const = 0;
185 MCAsmLayout &Layout) const {} in finishLayout()
DMCLinkerOptimizationHint.h29 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()
DMCObjectWriter.h23 class MCAsmLayout; variable
60 const MCAsmLayout &Layout) = 0;
68 virtual void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
108 virtual uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCFragment.cpp32 MCAsmLayout::MCAsmLayout(MCAssembler &Asm) : Assembler(Asm) { in MCAsmLayout() function in MCAsmLayout
42 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
51 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
61 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
72 const_cast<MCAsmLayout *>(this)->layoutFragment(&*I); in ensureValid()
77 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
84 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S, in getLabelOffset()
96 static bool getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S, in getSymbolOffsetImpl()
129 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const { in getSymbolOffset()
133 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const { in getSymbolOffset()
[all …]
DMCLinkerOptimizationHint.cpp29 const MCAsmLayout &Layout) const { in emit_impl()
37 const MCAsmLayout &Layout) const { in emit()
43 const MCAsmLayout &Layout) const { in getEmitSize()
DXCOFFObjectWriter.cpp173 void executePostLayoutBinding(MCAssembler &, const MCAsmLayout &) override;
175 void recordRelocation(MCAssembler &, const MCAsmLayout &, const MCFragment *,
178 uint64_t writeObject(MCAssembler &, const MCAsmLayout &) override;
189 void writeSections(const MCAssembler &Asm, const MCAsmLayout &Layout);
190 void writeSymbolTable(const MCAsmLayout &Layout);
200 void assignAddressesAndIndices(const MCAsmLayout &);
290 const MCAsmLayout &Layout) { in executePostLayoutBinding()
351 void XCOFFObjectWriter::recordRelocation(MCAssembler &, const MCAsmLayout &, in recordRelocation() argument
358 const MCAsmLayout &Layout) { in writeSections()
389 const MCAsmLayout &Layout) { in writeObject()
[all …]
/external/llvm-project/llvm/lib/MC/
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()
115 static bool getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S, in getSymbolOffsetImpl()
148 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const { in getSymbolOffset()
[all …]
DMCLinkerOptimizationHint.cpp29 const MCAsmLayout &Layout) const { in emit_impl()
37 const MCAsmLayout &Layout) const { in emit()
43 const MCAsmLayout &Layout) const { in getEmitSize()
/external/llvm/lib/MC/
DMCFragment.cpp30 MCAsmLayout::MCAsmLayout(MCAssembler &Asm) in MCAsmLayout() function in MCAsmLayout
42 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
51 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
61 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
72 const_cast<MCAsmLayout *>(this)->layoutFragment(&*I); in ensureValid()
77 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
84 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S, in getLabelOffset()
96 static bool getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S, in getSymbolOffsetImpl()
129 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const { in getSymbolOffset()
133 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const { in getSymbolOffset()
[all …]
DMCAssembler.cpp169 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout, in evaluateFixup()
245 uint64_t MCAssembler::computeFragmentSize(const MCAsmLayout &Layout, in computeFragmentSize()
315 void MCAsmLayout::layoutFragment(MCFragment *F) { in layoutFragment()
421 static void writeFragment(const MCAssembler &Asm, const MCAsmLayout &Layout, in writeFragment()
564 const MCAsmLayout &Layout) const { in writeSectionData()
617 std::pair<uint64_t, bool> MCAssembler::handleFixup(const MCAsmLayout &Layout, in handleFixup()
635 void MCAssembler::layout(MCAsmLayout &Layout) { in layout()
718 MCAsmLayout Layout(*this); in Finish()
732 const MCAsmLayout &Layout) const { in fixupNeedsRelaxation()
741 const MCAsmLayout &Layout) const { in fragmentNeedsRelaxation()
[all …]
DMCLinkerOptimizationHint.cpp28 const MCAsmLayout &Layout) const { in emit_impl()
36 const MCAsmLayout &Layout) const { in emit()
42 const MCAsmLayout &Layout) const { in getEmitSize()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp29 const MCAsmLayout &Layout) override { in executePostLayoutBinding()
32 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation()
39 void writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
53 const MCAsmLayout &Layout) const override { in fixupNeedsRelaxation()
69 const MCAsmLayout &Layout) { in writeObject()
/external/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVAsmBackend.h65 const MCAsmLayout &Layout,
68 bool evaluateTargetFixup(const MCAssembler &Asm, const MCAsmLayout &Layout,
86 const MCAsmLayout &Layout) const override { in fixupNeedsRelaxation()
93 const MCAsmLayout &Layout,

1234567