Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A 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;
H A DMCAssembler.h37 class MCAsmLayout; variable
62 friend class MCAsmLayout; variable
180 const MCAsmLayout &Layout) const;
188 bool layoutOnce(MCAsmLayout &Layout);
198 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
201 bool relaxDwarfCallFrameFragment(MCAsmLayout &Layout,
203 bool relaxCVInlineLineTable(MCAsmLayout &Layout,
208 void finishLayout(MCAsmLayout &Layout);
231 uint64_t computeFragmentSize(const MCAsmLayout &Layout,
246 const MCAsmLayout &Layout) const;
[all …]
H A DMCMachObjectWriter.h74 const MCAsmLayout &Layout,
153 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
156 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);
260 const MCAsmLayout &Layout) override;
[all …]
H A 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()
H A 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);
H A 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;
H A 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;
591 const MCAsmLayout *Layout,
H A DMCAsmLayout.h29 class MCAsmLayout {
48 MCAsmLayout(MCAssembler &Assembler);
/freebsd-12.1/contrib/llvm/lib/MC/
H A 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()
134 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const { in getSymbolOffset()
140 const MCSymbol *MCAsmLayout::getBaseSymbol(const MCSymbol &Symbol) const { in getBaseSymbol()
176 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const { in getSectionAddressSize()
[all …]
H A DMCAssembler.cpp199 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout, in evaluateFixup()
381 void MCAsmLayout::layoutFragment(MCFragment *F) { in layoutFragment()
751 void MCAssembler::layout(MCAsmLayout &Layout) { in layout()
846 MCAsmLayout Layout(*this); in Finish()
885 bool MCAssembler::relaxInstruction(MCAsmLayout &Layout, in relaxInstruction()
919 bool MCAssembler::relaxPaddingFragment(MCAsmLayout &Layout, in relaxPaddingFragment()
953 bool MCAssembler::relaxDwarfLineAddr(MCAsmLayout &Layout, in relaxDwarfLineAddr()
1013 bool MCAssembler::relaxCVInlineLineTable(MCAsmLayout &Layout, in relaxCVInlineLineTable()
1020 bool MCAssembler::relaxCVDefRange(MCAsmLayout &Layout, in relaxCVDefRange()
1079 bool MCAssembler::layoutOnce(MCAsmLayout &Layout) { in layoutOnce()
[all …]
H A 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()
H A DMCLinkerOptimizationHint.cpp30 const MCAsmLayout &Layout) const { in emit_impl()
38 const MCAsmLayout &Layout) const { in emit()
44 const MCAsmLayout &Layout) const { in getEmitSize()
H A DELFObjectWriter.cpp185 ELFSymbolData &MSD, const MCAsmLayout &Layout);
199 void computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
211 void writeSectionHeader(const MCAsmLayout &Layout,
216 const MCAsmLayout &Layout);
225 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout);
270 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
275 const MCAsmLayout &Layout) override;
465 const MCAsmLayout &Layout) { in SymbolValue()
611 MCAssembler &Asm, const MCAsmLayout &Layout, in computeSymbolTable()
843 const MCAsmLayout &Layout) { in writeSectionData()
[all …]
H A DWinCOFFObjectWriter.cpp175 const MCAsmLayout &Layout);
191 void writeSection(MCAssembler &Asm, const MCAsmLayout &Layout,
197 const MCAsmLayout &Layout) override;
204 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
210 void assignFileOffsets(MCAssembler &Asm, const MCAsmLayout &Layout);
328 const MCAsmLayout &Layout) { in getSymbolValue()
358 const MCAsmLayout &Layout) { in DefineSymbol()
614 const MCAsmLayout &Layout, in writeSection()
698 const MCAsmLayout &Layout, in recordRelocation()
894 const MCAsmLayout &Layout) { in assignFileOffsets()
[all …]
H A DMCExpr.cpp452 const MCAsmLayout &Layout) const { in evaluateAsAbsolute()
457 const MCAsmLayout &Layout, in evaluateAsAbsolute()
471 const MCAsmLayout &Layout) const { in evaluateKnownAbsolute()
477 const MCAsmLayout *Layout, in evaluateAsAbsolute()
486 const MCAsmLayout *Layout, in evaluateAsAbsolute()
507 const MCAssembler *Asm, const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference()
592 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout, in EvaluateSymbolicAdd()
648 const MCAsmLayout *Layout, in evaluateAsRelocatable()
655 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const { in evaluateAsValue()
675 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl()
H A DMCAsmBackend.cpp103 const MCRelaxableFragment *DF, const MCAsmLayout &Layout, in fixupNeedsRelaxationAdvanced()
128 bool MCAsmBackend::relaxFragment(MCPaddingFragment *PF, MCAsmLayout &Layout) { in relaxFragment()
H A DMachObjectWriter.cpp81 const MCAsmLayout &Layout) const { in getFragmentAddress()
87 const MCAsmLayout &Layout) const { in getSymbolAddress()
120 const MCAsmLayout &Layout) const { in getPaddingSize()
213 void MachObjectWriter::writeSection(const MCAsmLayout &Layout, in writeSection()
338 const MCAsmLayout &Layout) { in writeNlist()
453 const MCAsmLayout &Layout, in recordRelocation()
627 const MCAsmLayout &Layout) { in computeSectionAddresses()
642 const MCAsmLayout &Layout) { in executePostLayoutBinding()
739 const MCAsmLayout &Layout) { in writeObject()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMachObjectWriter.cpp29 const MCAsmLayout &Layout,
35 const MCAsmLayout &Layout,
44 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation()
176 static uint32_t getFixupOffset(const MCAsmLayout &Layout, in getFixupOffset()
192 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in recordScatteredRelocation()
302 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordPPCRelocation()
/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp30 const MCAsmLayout &Layout,
38 const MCAsmLayout &Layout,
46 const MCAsmLayout &Layout,
52 const MCAsmLayout &Layout,
61 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation()
104 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation()
367 const MCAsmLayout &Layout, in recordScatteredRelocation()
467 const MCAsmLayout &Layout, in recordTLVPRelocation()
507 const MCAsmLayout &Layout, in RecordX86Relocation()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp33 const MCAsmLayout &Layout,
42 const MCAsmLayout &Layout,
57 const MCAsmLayout &Layout, const MCFragment *Fragment,
143 const MCAsmLayout &Layout, in RecordARMScatteredHalfRelocation()
256 const MCAsmLayout &Layout, in RecordARMScatteredRelocation()
378 const MCAsmLayout &Layout, in recordRelocation()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCExpr.h42 bool evaluatePCRelLo(MCValue &Res, const MCAsmLayout *Layout,
64 bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout,
H A DRISCVAsmBackend.h57 const MCAsmLayout &Layout) const override { in fixupNeedsRelaxation()
64 const MCAsmLayout &Layout,
H A DRISCVMCExpr.cpp74 bool RISCVMCExpr::evaluatePCRelLo(MCValue &Res, const MCAsmLayout *Layout, in evaluatePCRelLo()
123 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.h73 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl()
115 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl()
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430AsmBackend.cpp53 const MCAsmLayout &Layout) const override { in fixupNeedsRelaxation()
60 const MCAsmLayout &Layout, in fixupNeedsRelaxationAdvanced()

123