Home
last modified time | relevance | path

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

12345

/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,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCFragment.h31 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
81 MCFragment(FragmentType Kind, bool HasInstructions,
84 ~MCFragment();
87 MCFragment() = delete;
88 MCFragment(const MCFragment &) = delete;
89 MCFragment &operator=(const MCFragment &) = delete;
118 class MCDummyFragment : public MCFragment {
120 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment()
122 static bool classof(const MCFragment *F) { return F->getKind() == FT_Dummy; } in classof()
128 class MCEncodedFragment : public MCFragment {
[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;
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;
149 static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
DMCSymbol.h64 static MCFragment *AbsolutePseudoFragment;
81 mutable PointerIntPair<MCFragment *, 1> FragmentAndHasName;
181 if (MCFragment *F = getFragment()) { in getSectionPtr()
273 void setFragment(MCFragment *F) const { in setFragment()
384 MCFragment *getFragment(bool SetUsed = true) const {
385 MCFragment *Fragment = FragmentAndHasName.getPointer();
DMCMachObjectWriter.h75 const MCFragment *Fragment,
155 uint64_t getFragmentAddress(const MCFragment *Fragment,
236 const MCFragment *Fragment,
241 const MCFragment *Fragment, const MCFixup &Fixup,
245 const MCFragment *Fragment, const MCFixup &Fixup,
269 const MCFragment &FB, bool InSet,
DMCObjectWriter.h27 class MCFragment; variable
70 const MCFragment *Fragment,
91 const MCFragment &FB,
DMCObjectStreamer.h23 class MCFragment; variable
65 MCFragment *getCurrentFragment() const;
67 void insert(MCFragment *F) { in insert()
88 void flushPendingLabels(MCFragment *F, uint64_t FOffset = 0);
102 virtual void EmitLabel(MCSymbol *Symbol, SMLoc Loc, MCFragment *F);
/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-7.0/llvm/lib/MC/
DMCFragment.cpp43 bool MCAsmLayout::isFragmentValid(const MCFragment *F) const { in isFragmentValid()
45 const MCFragment *LastValid = LastValidFragment.lookup(Sec); in isFragmentValid()
52 void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) { in invalidateFragmentsFrom()
62 void MCAsmLayout::ensureValid(const MCFragment *F) const { in ensureValid()
65 if (MCFragment *Cur = LastValidFragment[Sec]) in ensureValid()
78 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const { in getFragmentOffset()
178 const MCFragment &F = Sec->getFragmentList().back(); in getSectionAddressSize()
234 void ilist_alloc_traits<MCFragment>::deleteNode(MCFragment *V) { V->destroy(); } in deleteNode()
236 MCFragment::~MCFragment() = default;
238 MCFragment::MCFragment(FragmentType Kind, bool HasInstructions, in MCFragment() function in MCFragment
[all …]
DMCAssembler.cpp199 const MCFixup &Fixup, const MCFragment *DF, in evaluateFixup()
287 const MCFragment &F) const { in computeFragmentSize()
290 case MCFragment::FT_Data: in computeFragmentSize()
292 case MCFragment::FT_Relaxable: in computeFragmentSize()
294 case MCFragment::FT_CompactEncodedInst: in computeFragmentSize()
296 case MCFragment::FT_Fill: { in computeFragmentSize()
312 case MCFragment::FT_LEB: in computeFragmentSize()
315 case MCFragment::FT_Padding: in computeFragmentSize()
318 case MCFragment::FT_SymbolId: in computeFragmentSize()
321 case MCFragment::FT_Align: { in computeFragmentSize()
[all …]
DMCCodePadder.cpp43 OS->getCurrentFragment()->getKind() != MCFragment::FT_Align) && in handleBasicBlockStart()
84 OS->getCurrentFragment()->getKind() != MCFragment::FT_Align) && in handleInstructionBegin()
99 MCFragment *CurrFragment = OS->getCurrentFragment(); in handleInstructionBegin()
105 CurrFragment->getKind() == MCFragment::FT_Padding; in handleInstructionBegin()
124 MCFragment *InstFragment = OS->getCurrentFragment(); in handleInstructionEnd()
157 for (MCFragment *CurrFragment = Fragment; CurrFragment != nullptr; in getJurisdiction()
268 uint64_t MCCodePaddingPolicy::getNextFragmentOffset(const MCFragment *Fragment, in getNextFragmentOffset()
271 MCFragment const *NextFragment = Fragment->getNextNode(); in getNextFragmentOffset()
341 for (const MCFragment *Fragment = (*Window.begin())->getPrevNode(); in computeFirstWindowPenaltyWeight()
/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,
/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 …]
/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-7.0/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()
359 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()

12345