Home
last modified time | relevance | path

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

1234567

/external/llvm-project/llvm/include/llvm/MC/
DMCFragment.h31 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
79 MCFragment(FragmentType Kind, bool HasInstructions,
83 MCFragment() = delete;
84 MCFragment(const MCFragment &) = delete;
85 MCFragment &operator=(const MCFragment &) = delete;
114 class MCDummyFragment : public MCFragment {
116 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment()
118 static bool classof(const MCFragment *F) { return F->getKind() == FT_Dummy; } in classof()
124 class MCEncodedFragment : public MCFragment {
131 MCEncodedFragment(MCFragment::FragmentType FType, bool HasInstructions, in MCEncodedFragment()
[all …]
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;
DMCSection.h33 template <> struct ilist_alloc_traits<MCFragment> {
34 static void deleteNode(MCFragment *V);
52 using FragmentListType = iplist<MCFragment>;
91 SmallVector<std::pair<unsigned, MCFragment *>, 1> SubsectionFragmentMap;
163 static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
199 void flushPendingLabels(MCFragment *F, uint64_t FOffset = 0,
DMCObjectWriter.h20 class MCFragment; variable
63 const MCFragment *Fragment,
84 const MCFragment &FB,
/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,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCFragment.h31 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
71 MCFragment(FragmentType Kind, bool HasInstructions,
75 MCFragment() = delete;
76 MCFragment(const MCFragment &) = delete;
77 MCFragment &operator=(const MCFragment &) = delete;
103 class MCDummyFragment : public MCFragment {
105 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment()
107 static bool classof(const MCFragment *F) { return F->getKind() == FT_Dummy; } in classof()
113 class MCEncodedFragment : public MCFragment {
120 MCEncodedFragment(MCFragment::FragmentType FType, bool HasInstructions, in MCEncodedFragment()
[all …]
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;
55 void invalidateFragmentsFrom(MCFragment *F);
60 void layoutFragment(MCFragment *Fragment);
75 uint64_t getFragmentOffset(const MCFragment *F) const;
DMCSection.h33 template <> struct ilist_alloc_traits<MCFragment> {
34 static void deleteNode(MCFragment *V);
50 using FragmentListType = iplist<MCFragment>;
89 SmallVector<std::pair<unsigned, MCFragment *>, 1> SubsectionFragmentMap;
158 static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
192 void flushPendingLabels(MCFragment *F, uint64_t FOffset = 0,
DMCMachObjectWriter.h76 const MCFragment *Fragment,
156 uint64_t getFragmentAddress(const MCFragment *Fragment,
237 const MCFragment *Fragment,
242 const MCFragment *Fragment, const MCFixup &Fixup,
246 const MCFragment *Fragment, const MCFixup &Fixup,
270 const MCFragment &FB, bool InSet,
DMCObjectWriter.h26 class MCFragment; variable
69 const MCFragment *Fragment,
90 const MCFragment &FB,
/external/llvm-project/llvm/lib/MC/
DMCFragment.cpp42 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
44 const MCFragment *LastValid = LastValidFragment.lookup(Sec); in isFragmentValid()
51 bool MCAsmLayout::canGetFragmentOffset(const MCFragment *F) const { in canGetFragmentOffset()
54 if (MCFragment *LastValid = LastValidFragment[Sec]) { in canGetFragmentOffset()
63 const MCFragment *FirstInvalidFragment = &*I; in canGetFragmentOffset()
70 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
80 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
83 if (MCFragment *Cur = LastValidFragment[Sec]) in ensureValid()
96 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
196 const MCFragment &F = Sec->getFragmentList().back(); in getSectionAddressSize()
[all …]
DMCAssembler.cpp193 const MCFixup &Fixup, const MCFragment *DF, in evaluateFixup()
290 const MCFragment &F) const { in computeFragmentSize()
293 case MCFragment::FT_Data: in computeFragmentSize()
295 case MCFragment::FT_Relaxable: in computeFragmentSize()
297 case MCFragment::FT_CompactEncodedInst: in computeFragmentSize()
299 case MCFragment::FT_Fill: { in computeFragmentSize()
315 case MCFragment::FT_Nops: in computeFragmentSize()
318 case MCFragment::FT_LEB: in computeFragmentSize()
321 case MCFragment::FT_BoundaryAlign: in computeFragmentSize()
324 case MCFragment::FT_SymbolId: in computeFragmentSize()
[all …]
DMCSection.cpp63 SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI = in getSubsectionInsertionPoint()
66 std::make_pair(Subsection, (MCFragment *)nullptr)); in getSubsectionInsertionPoint()
81 MCFragment *F = new MCDataFragment(); in getSubsectionInsertionPoint()
97 void MCSection::flushPendingLabels(MCFragment *F, uint64_t FOffset, in flushPendingLabels()
121 MCFragment *F = new MCDataFragment(); in flushPendingLabels()
/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 …]
/external/swiftshader/third_party/llvm-10.0/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()
177 const MCFragment &F = Sec->getFragmentList().back(); in getSectionAddressSize()
233 void ilist_alloc_traits<MCFragment>::deleteNode(MCFragment *V) { V->destroy(); } in deleteNode()
235 MCFragment::MCFragment(FragmentType Kind, bool HasInstructions, in MCFragment() function in MCFragment
243 void MCFragment::destroy() { in destroy()
[all …]
DMCAssembler.cpp192 const MCFixup &Fixup, const MCFragment *DF, in evaluateFixup()
289 const MCFragment &F) const { in computeFragmentSize()
292 case MCFragment::FT_Data: in computeFragmentSize()
294 case MCFragment::FT_Relaxable: in computeFragmentSize()
296 case MCFragment::FT_CompactEncodedInst: in computeFragmentSize()
298 case MCFragment::FT_Fill: { in computeFragmentSize()
314 case MCFragment::FT_LEB: in computeFragmentSize()
317 case MCFragment::FT_BoundaryAlign: in computeFragmentSize()
320 case MCFragment::FT_SymbolId: in computeFragmentSize()
323 case MCFragment::FT_Align: { 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()
92 void MCSection::flushPendingLabels(MCFragment *F, uint64_t FOffset, in flushPendingLabels()
116 MCFragment *F = new MCDataFragment(); in flushPendingLabels()
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
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()
/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-10.0/llvm/lib/Target/ARM/MCTargetDesc/
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()

1234567