13 #ifndef LLVM_MC_MCSECTION_H 14 #define LLVM_MC_MCSECTION_H 47 BundleLockedAlignToEnd
72 unsigned BundleLockNestingDepth = 0;
76 bool BundleGroupBeforeFirstInst : 1;
79 bool HasInstructions : 1;
81 bool IsRegistered : 1;
95 PendingLabel(
MCSymbol* Sym,
unsigned Subsection = 0)
96 : Sym(Sym), Subsection(Subsection) {}
117 return const_cast<MCSection *
>(
this)->getBeginSymbol();
124 bool hasEnded()
const;
140 return BundleGroupBeforeFirstInst;
143 BundleGroupBeforeFirstInst = IsFirst;
154 return const_cast<MCSection *
>(
this)->getFragmentList();
159 return &MCSection::Fragments;
177 const MCExpr *Subsection)
const = 0;
181 virtual bool UseCodeAlign()
const = 0;
189 void addPendingLabel(
MCSymbol* label,
unsigned Subsection = 0);
192 void flushPendingLabels(
MCFragment *
F, uint64_t FOffset = 0,
193 unsigned Subsection = 0);
197 void flushPendingLabels();
202 #endif // LLVM_MC_MCSECTION_H Instances of this class represent a uniqued identifier for a section in the current translation unit...
SectionKind getKind() const
bool hasInstructions() const
This class represents lattice values for constants.
bool isVirtualSection(uint8_t type)
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
const MCSymbol * getBeginSymbol() const
void setLayoutOrder(unsigned Value)
unsigned getOrdinal() const
unsigned getAlignment() const
BundleLockStateType
Express the state of bundle locked groups while emitting code.
void setHasInstructions(bool Value)
Base class for the full range of assembler expressions which are needed for parsing.
Context object for machine code objects.
BundleLockStateType getBundleLockState() const
bool isBundleLocked() const
uint64_t value() const
This is a hole in the type system and should not be abused.
This class is intended to be used as a base class for asm properties and features specific to the tar...
Use delete by default for iplist and ilist.
void dump(const SparseBitVector< ElementSize > &LHS, raw_ostream &out)
bool isRegistered() const
void setAlignment(Align Value)
SectionKind - This is a simple POD value that classifies the properties of a section.
void setIsRegistered(bool Value)
SectionVariant getVariant() const
This struct is a compact representation of a valid (non-zero power of two) alignment.
Triple - Helper class for working with autoconf configuration names.
void setOrdinal(unsigned Value)
Iterator for intrusive lists based on ilist_node.
const MCDummyFragment & getDummyFragment() const
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
const MCSection::FragmentListType & getFragmentList() const
MCSymbol * getBeginSymbol()
const_iterator begin() const
static void deleteNode(NodeTy *V)
static FragmentListType MCSection::* getSublistAccess(MCFragment *)
Support for MCFragment::getNextNode().
const_iterator end() const
bool isBundleGroupBeforeFirstInst() const
void setBundleGroupBeforeFirstInst(bool IsFirst)
unsigned getLayoutOrder() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
LLVM Value Representation.
MCDummyFragment & getDummyFragment()
This class implements an extremely fast bulk output stream that can only output to a stream...
MCSection::FragmentListType & getFragmentList()
void setBeginSymbol(MCSymbol *Sym)