Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCAssembler.h36 class MCAsmLayout; variable
61 friend class MCAsmLayout; variable
170 bool evaluateFixup(const MCAsmLayout &Layout, const MCFixup &Fixup,
177 const MCAsmLayout &Layout) const;
181 const MCAsmLayout &Layout) const;
185 bool layoutOnce(MCAsmLayout &Layout);
189 bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec);
191 bool relaxInstruction(MCAsmLayout &Layout, MCRelaxableFragment &IF);
193 bool relaxPaddingFragment(MCAsmLayout &Layout, MCPaddingFragment &PF);
195 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
[all …]
DMCCodePadder.h20 class MCAsmLayout; variable
58 MCPFRange &getJurisdiction(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
63 uint64_t getMaxWindowSize(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
122 bool relaxFragment(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
156 const MCAsmLayout &Layout);
166 MCAsmLayout &Layout) const;
168 uint64_t Offset, MCAsmLayout &Layout) const;
184 MCAsmLayout &Layout) const;
195 MCAsmLayout &Layout) const = 0;
237 MCAsmLayout &Layout) const;
DMCMachObjectWriter.h74 const MCAsmLayout &Layout,
153 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
156 const MCAsmLayout &Layout) const;
158 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
188 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
202 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
235 const MCAsmLayout &Layout,
240 void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
244 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
257 const MCAsmLayout &Layout);
[all …]
DMCLinkerOptimizationHint.h30 class MCAsmLayout; variable
111 const MCAsmLayout &Layout) const;
127 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const;
132 const MCAsmLayout &Layout) const;
160 const MCAsmLayout &Layout) const { in getEmitSize()
170 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const { in emit()
DMCAsmBackend.h25 class MCAsmLayout; variable
124 const MCAsmLayout &Layout,
130 const MCAsmLayout &Layout) const = 0;
157 MCAsmLayout &Layout) const {} in finishLayout()
205 bool relaxFragment(MCPaddingFragment *PF, MCAsmLayout &Layout);
DMCObjectWriter.h24 class MCAsmLayout; variable
61 const MCAsmLayout &Layout) = 0;
69 virtual void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
109 virtual uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) = 0;
DMCExpr.h20 class MCAsmLayout; variable
51 const MCAsmLayout *Layout,
55 const MCAsmLayout *Layout,
62 const MCAsmLayout *Layout,
95 bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout,
100 bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
102 bool evaluateKnownAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
111 bool evaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout,
119 bool evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const;
589 const MCAsmLayout *Layout,
/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/swiftshader/third_party/LLVM/include/llvm/MC/
DMCMachObjectWriter.h66 const MCAsmLayout &Layout,
127 const MCAsmLayout &Layout) const;
130 const MCAsmLayout &Layout) const;
133 const MCAsmLayout &Layout) const;
163 void WriteSection(const MCAssembler &Asm, const MCAsmLayout &Layout,
180 void WriteNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
202 const MCAsmLayout &Layout,
209 const MCAsmLayout &Layout,
214 void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
231 const MCAsmLayout &Layout);
[all …]
DMCAssembler.h26 class MCAsmLayout; variable
42 friend class MCAsmLayout; variable
427 friend class MCAsmLayout; variable
641 friend class MCAsmLayout; variable
714 bool EvaluateFixup(const MCAsmLayout &Layout,
721 const MCAsmLayout &Layout) const;
725 const MCAsmLayout &Layout) const;
729 bool LayoutOnce(MCAsmLayout &Layout);
731 bool LayoutSectionOnce(MCAsmLayout &Layout, MCSectionData &SD);
733 bool RelaxInstruction(MCAsmLayout &Layout, MCInstFragment &IF);
[all …]
DMCObjectWriter.h19 class MCAsmLayout; variable
69 const MCAsmLayout &Layout) = 0;
78 const MCAsmLayout &Layout,
108 const MCAsmLayout &Layout) = 0;
/external/swiftshader/third_party/LLVM/lib/MC/
DELFObjectWriter.h42 static uint64_t SymbolValue(MCSymbolData &Data, const MCAsmLayout &Layout);
49 static uint64_t GetSectionFileSize(const MCAsmLayout &Layout,
51 static uint64_t GetSectionAddressSize(const MCAsmLayout &Layout,
55 const MCAsmLayout &Layout,
256 const MCAsmLayout &Layout);
261 const MCAsmLayout &Layout,
264 virtual void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
294 void CreateRelocationSections(MCAssembler &Asm, MCAsmLayout &Layout,
297 void WriteRelocations(MCAssembler &Asm, MCAsmLayout &Layout,
300 virtual void CreateMetadataSections(MCAssembler &Asm, MCAsmLayout &Layout,
[all …]
DMCAssembler.cpp51 MCAsmLayout::MCAsmLayout(MCAssembler &Asm) in MCAsmLayout() function in MCAsmLayout
63 bool MCAsmLayout::isFragmentUpToDate(const MCFragment *F) const { in isFragmentUpToDate()
72 void MCAsmLayout::Invalidate(MCFragment *F) { in Invalidate()
82 void MCAsmLayout::EnsureValid(const MCFragment *F) const { in EnsureValid()
93 const_cast<MCAsmLayout*>(this)->LayoutFragment(Cur); in EnsureValid()
98 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
104 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbolData *SD) const { in getSymbolOffset()
136 uint64_t MCAsmLayout::getSectionAddressSize(const MCSectionData *SD) const { in getSectionAddressSize()
142 uint64_t MCAsmLayout::getSectionFileSize(const MCSectionData *SD) const { in getSectionFileSize()
240 bool MCAssembler::EvaluateFixup(const MCAsmLayout &Layout, in EvaluateFixup()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCFragment.cpp33 MCAsmLayout::MCAsmLayout(MCAssembler &Asm) : Assembler(Asm) { in MCAsmLayout() function in MCAsmLayout
43 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
52 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
62 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
73 const_cast<MCAsmLayout *>(this)->layoutFragment(&*I); in ensureValid()
78 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
85 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S, in getLabelOffset()
97 static bool getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S, in getSymbolOffsetImpl()
130 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const { in getSymbolOffset()
134 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const { in getSymbolOffset()
[all …]
DMCAssembler.cpp198 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout, in evaluateFixup()
286 uint64_t MCAssembler::computeFragmentSize(const MCAsmLayout &Layout, in computeFragmentSize()
380 void MCAsmLayout::layoutFragment(MCFragment *F) { in layoutFragment()
490 const MCAsmLayout &Layout, const MCFragment &F) { in writeFragment()
659 const MCAsmLayout &Layout) const { in writeSectionData()
714 MCAssembler::handleFixup(const MCAsmLayout &Layout, MCFragment &F, in handleFixup()
750 void MCAssembler::layout(MCAsmLayout &Layout) { in layout()
845 MCAsmLayout Layout(*this); in Finish()
854 const MCAsmLayout &Layout) const { in fixupNeedsRelaxation()
869 const MCAsmLayout &Layout) const { in fragmentNeedsRelaxation()
[all …]
DMCCodePadder.cpp148 MCAsmLayout &Layout) { in getJurisdiction()
185 MCAsmLayout &Layout) { in getMaxWindowSize()
209 MCAsmLayout &Layout) { in relaxFragment()
269 const MCAsmLayout &Layout) { in getNextFragmentOffset()
279 MCAsmLayout &Layout) const { in getFragmentInstByte()
289 MCAsmLayout &Layout) const { in computeWindowEndAddress()
295 const MCPFRange &Range, uint64_t Offset, MCAsmLayout &Layout) const { in computeRangePenaltyWeight()
331 const MCPFRange &Window, uint64_t Offset, MCAsmLayout &Layout) const { in computeFirstWindowPenaltyWeight()
DMCLinkerOptimizationHint.cpp30 const MCAsmLayout &Layout) const { in emit_impl()
38 const MCAsmLayout &Layout) const { in emit()
44 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()

123456