Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/MC/
DMCFragment.h25 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
28 MCFragment(const MCFragment &) = delete;
29 void operator=(const MCFragment &) = delete;
82 MCFragment(FragmentType Kind, bool HasInstructions,
85 ~MCFragment();
89 friend struct ilist_sentinel_traits<MCFragment>;
90 MCFragment();
135 class MCDummyFragment : public MCFragment {
138 : MCFragment(FT_Dummy, false, 0, Sec){};
139 static bool classof(const MCFragment *F) { return F->getKind() == FT_Dummy; }
[all …]
DMCSection.h29 class MCFragment; variable
35 struct ilist_node_traits<MCFragment> {
36 MCFragment *createNode(const MCFragment &V);
37 static void deleteNode(MCFragment *V);
39 void addNodeToList(MCFragment *) {}
40 void removeNodeFromList(MCFragment *) {}
42 ilist_iterator<MCFragment> /*first*/,
43 ilist_iterator<MCFragment> /*last*/) {}
59 typedef iplist<MCFragment> FragmentListType;
101 SmallVector<std::pair<unsigned, MCFragment *>, 1> SubsectionFragmentMap;
[all …]
DMCAsmLayout.h18 class MCFragment; variable
38 mutable DenseMap<const MCSection *, MCFragment *> LastValidFragment;
42 void ensureValid(const MCFragment *F) const;
45 bool isFragmentValid(const MCFragment *F) const;
56 void invalidateFragmentsFrom(MCFragment *F);
61 void layoutFragment(MCFragment *Fragment);
76 uint64_t getFragmentOffset(const MCFragment *F) const;
DMCSymbol.h27 class MCFragment; variable
60 static MCFragment *AbsolutePseudoFragment;
77 mutable PointerIntPair<MCFragment *, 1> FragmentAndHasName;
180 if (MCFragment *F = getFragment(SetUsed)) {
270 void setFragment(MCFragment *F) const { in setFragment()
377 MCFragment *getFragment(bool SetUsed = true) const {
378 MCFragment *Fragment = FragmentAndHasName.getPointer();
DMCMachObjectWriter.h67 const MCFragment *Fragment,
142 uint64_t getFragmentAddress(const MCFragment *Fragment,
223 const MCFragment *Fragment,
228 const MCFragment *Fragment, const MCFixup &Fixup,
232 const MCFragment *Fragment, const MCFixup &Fixup,
257 const MCFragment &FB, bool InSet,
DMCAssembler.h33 class MCFragment; variable
165 const MCFragment *DF, MCValue &Target,
200 MCFragment &F, const MCFixup &Fixup);
206 const MCFragment &F) const;
412 void writeFragmentPadding(const MCFragment &F, uint64_t FSize,
423 uint64_t computeBundlePadding(const MCAssembler &Assembler, const MCFragment *F,
DMCObjectStreamer.h23 class MCFragment; variable
62 MCFragment *getCurrentFragment() const;
64 void insert(MCFragment *F) { in insert()
82 void flushPendingLabels(MCFragment *F, uint64_t FOffset = 0);
DMCObjectWriter.h24 class MCFragment; variable
86 const MCFragment *Fragment,
107 const MCFragment &FB,
DMCAsmBackend.h26 class MCFragment; variable
69 const MCFixup &Fixup, const MCFragment *DF, in processFixupValue()
/external/llvm/lib/MC/
DMCFragment.cpp42 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
44 const MCFragment *LastValid = LastValidFragment.lookup(Sec); in isFragmentValid()
51 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
61 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
64 if (MCFragment *Cur = LastValidFragment[Sec]) in ensureValid()
77 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
178 const MCFragment &F = Sec->getFragmentList().back(); in getSectionAddressSize()
192 const MCFragment *F, in computeBundlePadding()
234 void ilist_node_traits<MCFragment>::deleteNode(MCFragment *V) { in deleteNode()
238 MCFragment::MCFragment() : Kind(FragmentType(~0)), HasInstructions(false), in MCFragment() function in MCFragment
[all …]
DMCAssembler.cpp170 const MCFixup &Fixup, const MCFragment *DF, in evaluateFixup()
246 const MCFragment &F) const { in computeFragmentSize()
248 case MCFragment::FT_Data: in computeFragmentSize()
250 case MCFragment::FT_Relaxable: in computeFragmentSize()
252 case MCFragment::FT_CompactEncodedInst: in computeFragmentSize()
254 case MCFragment::FT_Fill: in computeFragmentSize()
257 case MCFragment::FT_LEB: in computeFragmentSize()
260 case MCFragment::FT_SafeSEH: in computeFragmentSize()
263 case MCFragment::FT_Align: { in computeFragmentSize()
278 case MCFragment::FT_Org: { in computeFragmentSize()
[all …]
DMCSection.cpp61 SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI = in getSubsectionInsertionPoint()
64 std::make_pair(Subsection, (MCFragment *)nullptr)); in getSubsectionInsertionPoint()
79 MCFragment *F = new MCDataFragment(); in getSubsectionInsertionPoint()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCAssembler.h32 class MCFragment; variable
41 class MCFragment : public ilist_node<MCFragment> {
44 MCFragment(const MCFragment&); // DO NOT IMPLEMENT
45 void operator=(const MCFragment&); // DO NOT IMPLEMENT
85 MCFragment(FragmentType _Kind, MCSectionData *_Parent = 0);
89 MCFragment();
90 virtual ~MCFragment();
103 static bool classof(const MCFragment *O) { return true; } in classof()
108 class MCDataFragment : public MCFragment {
119 MCDataFragment(MCSectionData *SD = 0) : MCFragment(FT_Data, SD) {} in MCFragment() function
[all …]
DMCAsmLayout.h17 class MCFragment; variable
42 mutable DenseMap<const MCSectionData*, MCFragment *> LastValidFragment;
46 void EnsureValid(const MCFragment *F) const;
48 bool isFragmentUpToDate(const MCFragment *F) const;
58 void Invalidate(MCFragment *F);
63 void LayoutFragment(MCFragment *Fragment);
80 uint64_t getFragmentOffset(const MCFragment *F) const;
DMCMachObjectWriter.h67 const MCFragment *Fragment,
129 uint64_t getFragmentAddress(const MCFragment *Fragment,
203 const MCFragment *Fragment,
210 const MCFragment *Fragment,
215 const MCFragment *Fragment, const MCFixup &Fixup,
237 const MCFragment &FB,
DMCObjectWriter.h22 class MCFragment; variable
79 const MCFragment *Fragment,
97 const MCFragment &FB,
DMCObjectStreamer.h20 class MCFragment; variable
50 MCFragment *getCurrentFragment() const;
/external/swiftshader/third_party/LLVM/lib/MC/
DMCAssembler.cpp63 bool MCAsmLayout::isFragmentUpToDate(const MCFragment *F) const { in isFragmentUpToDate()
65 const MCFragment *LastValid = LastValidFragment.lookup(&SD); in isFragmentUpToDate()
72 void MCAsmLayout::Invalidate(MCFragment *F) { in Invalidate()
82 void MCAsmLayout::EnsureValid(const MCFragment *F) const { in EnsureValid()
85 MCFragment *Cur = LastValidFragment[&SD]; in EnsureValid()
98 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
138 const MCFragment &F = SD->getFragmentList().back(); in getSectionAddressSize()
153 MCFragment::MCFragment() : Kind(FragmentType(~0)) { in MCFragment() function in MCFragment
156 MCFragment::~MCFragment() { in ~MCFragment()
159 MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent) in MCFragment() function in MCFragment
[all …]
DELFObjectWriter.h145 const MCFragment &F,
152 const MCFragment &F, in ExplicitRelSym()
265 const MCFragment *Fragment, const MCFixup &Fixup,
335 const MCFragment &FB,
386 const MCFragment &F,
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp32 const MCFragment *Fragment,
41 const MCFragment *Fragment,
47 const MCFragment &Fragment, unsigned RelocType,
55 const MCAsmLayout &Layout, const MCFragment *Fragment,
142 const MCFragment *Fragment, in RecordARMScatteredHalfRelocation()
246 const MCFragment *Fragment, in RecordARMScatteredRelocation()
312 const MCFragment &Fragment, in requiresExternRelocation()
351 const MCFragment *Fragment, in recordRelocation()
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp29 const MCFragment *Fragment,
37 const MCFragment *Fragment,
45 const MCFragment *Fragment,
52 const MCFragment *Fragment,
64 const MCFragment *Fragment, const MCFixup &Fixup, in RecordRelocation()
102 const MCFragment *Fragment, in RecordX86_64Relocation()
341 const MCFragment *Fragment, in RecordScatteredRelocation()
407 const MCFragment *Fragment, in RecordTLVPRelocation()
454 const MCFragment *Fragment, in RecordX86Relocation()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp30 const MCFragment *Fragment,
36 const MCFragment *Fragment, const MCFixup &Fixup,
44 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation()
177 const MCFragment *Fragment, in getFixupOffset()
193 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in recordScatteredRelocation()
303 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in RecordPPCRelocation()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp31 const MCFragment *Fragment,
39 const MCFragment *Fragment,
47 const MCFragment *Fragment,
53 const MCFragment *Fragment, const MCFixup &Fixup,
61 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation()
104 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in RecordX86_64Relocation()
368 const MCFragment *Fragment, in recordScatteredRelocation()
468 const MCFragment *Fragment, in recordTLVPRelocation()
510 const MCFragment *Fragment, in RecordX86Relocation()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp30 const MCFragment *Fragment,
38 const MCFragment *Fragment,
50 const MCFragment *Fragment, const MCFixup &Fixup,
125 const MCFragment *Fragment, in RecordARMMovwMovtRelocation()
222 const MCFragment *Fragment, in RecordARMScatteredRelocation()
283 const MCFragment *Fragment, in RecordRelocation()
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h72 MCFragment *findAssociatedFragment() const override { return nullptr; } in findAssociatedFragment()
114 MCFragment *findAssociatedFragment() const override { return nullptr; } in findAssociatedFragment()

123