Home
last modified time | relevance | path

Searched refs:MCFragment (Results 1 – 25 of 73) sorted by relevance

123

/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCFragment.h30 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
83 MCFragment() = delete;
84 MCFragment(const MCFragment &) = delete;
85 MCFragment &operator=(const MCFragment &) = delete;
145 case MCFragment::FT_Relaxable: in classof()
147 case MCFragment::FT_Data: in classof()
148 case MCFragment::FT_Dwarf: in classof()
149 case MCFragment::FT_DwarfFrame: in classof()
150 case MCFragment::FT_PseudoProbe: in classof()
233 return Kind == MCFragment::FT_Relaxable || Kind == MCFragment::FT_Data || in classof()
[all …]
H A DMCAsmLayout.h17 class MCFragment; variable
37 mutable DenseMap<const MCSection *, MCFragment *> LastValidFragment;
41 void ensureValid(const MCFragment *F) const;
44 bool isFragmentValid(const MCFragment *F) const;
54 bool canGetFragmentOffset(const MCFragment *F) const;
59 void invalidateFragmentsFrom(MCFragment *F);
64 void layoutFragment(MCFragment *Fragment);
79 uint64_t getFragmentOffset(const MCFragment *F) const;
H A DMCSection.h33 template <> struct ilist_alloc_traits<MCFragment> {
34 static void deleteNode(MCFragment *V);
61 using FragmentListType = iplist<MCFragment>;
100 SmallVector<std::pair<unsigned, MCFragment *>, 1> SubsectionFragmentMap;
178 static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
214 void flushPendingLabels(MCFragment *F, uint64_t FOffset = 0,
H A DMCObjectWriter.h21 class MCFragment; variable
67 const MCFragment *Fragment,
88 const MCFragment &FB,
H A DMCSymbol.h66 static MCFragment *AbsolutePseudoFragment;
83 mutable PointerIntPair<MCFragment *, 1> FragmentAndHasName;
273 void setFragment(MCFragment *F) const { in setFragment()
395 MCFragment *getFragment(bool SetUsed = true) const {
396 MCFragment *Fragment = FragmentAndHasName.getPointer();
H A DMCObjectStreamer.h29 class MCFragment; variable
92 MCFragment *getCurrentFragment() const;
94 void insert(MCFragment *F) { in insert()
119 void flushPendingLabels(MCFragment *F, uint64_t FOffset = 0);
134 virtual void emitLabelAtPos(MCSymbol *Symbol, SMLoc Loc, MCFragment *F,
H A DMCMachObjectWriter.h77 const MCFragment *Fragment,
159 uint64_t getFragmentAddress(const MCFragment *Fragment,
239 const MCFragment *Fragment, const MCFixup &Fixup,
263 const MCFragment &FB, bool InSet,
H A DMCAssembler.h52 class MCFragment; variable
187 const MCFragment *DF, MCValue &Target,
209 bool relaxFragment(MCAsmLayout &Layout, MCFragment &F);
225 handleFixup(const MCAsmLayout &Layout, MCFragment &F, const MCFixup &Fixup);
253 const MCFragment &F) const;
H A DMCAsmBackend.h23 class MCFragment; variable
121 const MCFixup &Fixup, const MCFragment *DF, in evaluateTargetFixup()
H A DMCCodeView.h29 class MCFragment; variable
201 MCFragment *
H A DMCELFStreamer.h20 class MCFragment; variable
52 void emitLabelAtPos(MCSymbol *Symbol, SMLoc Loc, MCFragment *F,
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCFragment.cpp256 void ilist_alloc_traits<MCFragment>::deleteNode(MCFragment *V) { V->destroy(); } in deleteNode()
258 MCFragment::MCFragment(FragmentType Kind, bool HasInstructions, in MCFragment() function in MCFragment
266 void MCFragment::destroy() { in destroy()
349 case MCFragment::FT_Nops: in dump()
374 case MCFragment::FT_Align: { in dump()
384 case MCFragment::FT_Data: { in dump()
420 case MCFragment::FT_Fill: { in dump()
427 case MCFragment::FT_Nops: { in dump()
441 case MCFragment::FT_Org: { in dump()
461 case MCFragment::FT_LEB: { in dump()
[all …]
H A DMCAssembler.cpp297 case MCFragment::FT_Data: in computeFragmentSize()
303 case MCFragment::FT_Fill: { in computeFragmentSize()
319 case MCFragment::FT_Nops: in computeFragmentSize()
322 case MCFragment::FT_LEB: in computeFragmentSize()
353 case MCFragment::FT_Org: { in computeFragmentSize()
382 case MCFragment::FT_Dwarf: in computeFragmentSize()
392 case MCFragment::FT_Dummy: in computeFragmentSize()
577 case MCFragment::FT_Data: in writeFragment()
668 case MCFragment::FT_LEB: { in writeFragment()
688 case MCFragment::FT_Org: { in writeFragment()
[all …]
H A DMCSection.cpp63 SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI = lower_bound( in getSubsectionInsertionPoint()
64 SubsectionFragmentMap, std::make_pair(Subsection, (MCFragment *)nullptr)); in getSubsectionInsertionPoint()
79 MCFragment *F = new MCDataFragment(); in getSubsectionInsertionPoint()
95 void MCSection::flushPendingLabels(MCFragment *F, uint64_t FOffset, in flushPendingLabels()
119 MCFragment *F = new MCDataFragment(); in flushPendingLabels()
H A DMCObjectStreamer.cpp127 MCFragment *SymFragment = PendingFixup.Sym->getFragment(); in resolvePendingFixups()
129 case MCFragment::FT_Relaxable: in resolvePendingFixups()
130 case MCFragment::FT_Dwarf: in resolvePendingFixups()
131 case MCFragment::FT_PseudoProbe: in resolvePendingFixups()
136 case MCFragment::FT_Data: in resolvePendingFixups()
137 case MCFragment::FT_CVDefRange: in resolvePendingFixups()
203 MCFragment *MCObjectStreamer::getCurrentFragment() const { in getCurrentFragment()
620 MCFragment *Frag = in emitCVDefRangeDirective()
743 MCFragment *Fragment = Symbol.getFragment(); in getOffsetAndDataFragment()
770 MCFragment *Fragment = SRE.getSymbol().getFragment(); in getOffsetAndDataFragment()
[all …]
H A DMCExpr.cpp620 const MCFragment *FA = SA.getFragment(); in AttemptToFoldSymbolOffsetDifference()
621 const MCFragment *FB = SB.getFragment(); in AttemptToFoldSymbolOffsetDifference()
658 FA->getKind() != MCFragment::FT_Data || in AttemptToFoldSymbolOffsetDifference()
659 FB->getKind() != MCFragment::FT_Data || in AttemptToFoldSymbolOffsetDifference()
671 if (FI->getKind() != MCFragment::FT_Data) in AttemptToFoldSymbolOffsetDifference()
987 MCFragment *MCExpr::findAssociatedFragment() const { in findAssociatedFragment()
1007 MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment(); in findAssociatedFragment()
1008 MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment(); in findAssociatedFragment()
H A DMCObjectWriter.cpp48 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl()
/openbsd/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp407 isRightAfterData(MCFragment *CurrentFragment, in isRightAfterData()
409 MCFragment *F = CurrentFragment; in isRightAfterData()
442 case MCFragment::FT_Data: in getSizeForInstFragment()
444 case MCFragment::FT_Relaxable: in getSizeForInstFragment()
446 case MCFragment::FT_CompactEncodedInst: in getSizeForInstFragment()
563 MCFragment *CF = OS.getCurrentFragment(); in emitInstructionEnd()
887 DenseSet<MCFragment *> LabeledFragments; in finishLayout()
897 MCFragment &F = *I; in finishLayout()
902 if (F.getKind() == MCFragment::FT_Data || in finishLayout()
917 case MCFragment::FT_Align: in finishLayout()
[all …]
H A DX86MachObjectWriter.cpp30 const MCFragment *Fragment,
38 const MCFragment *Fragment,
46 const MCFragment *Fragment,
52 const MCFragment *Fragment, const MCFixup &Fixup,
60 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation()
104 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in RecordX86_64Relocation()
366 const MCFragment *Fragment, in recordScatteredRelocation()
466 const MCFragment *Fragment, in recordTLVPRelocation()
506 const MCFragment *Fragment, in RecordX86Relocation()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp33 const MCFragment *Fragment,
42 const MCFragment *Fragment,
48 const MCFragment &Fragment, unsigned RelocType,
56 const MCAsmLayout &Layout, const MCFragment *Fragment,
143 const MCFragment *Fragment, in RecordARMScatteredHalfRelocation()
256 const MCFragment *Fragment, in RecordARMScatteredRelocation()
331 const MCFragment &Fragment, in requiresExternRelocation()
378 const MCFragment *Fragment, in recordRelocation()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCExpr.h65 const MCFixup *getPCRelHiFixup(const MCFragment **DFOut) const;
71 MCFragment *findAssociatedFragment() const override { in findAssociatedFragment()
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.h77 MCFragment *findAssociatedFragment() const override { return nullptr; } in findAssociatedFragment()
119 MCFragment *findAssociatedFragment() const override { return nullptr; } in findAssociatedFragment()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCExpr.h22 MCFragment *findAssociatedFragment() const override;
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCExpr.h42 MCFragment *findAssociatedFragment() const override { in findAssociatedFragment()
/openbsd/gnu/llvm/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaMCExpr.h46 MCFragment *findAssociatedFragment() const override { in findAssociatedFragment()

123