14 #ifndef LLVM_MC_MCSECTION_H 15 #define LLVM_MC_MCSECTION_H 47 BundleLockedAlignToEnd
62 unsigned Alignment = 1;
72 unsigned BundleLockNestingDepth = 0;
76 bool BundleGroupBeforeFirstInst : 1;
79 bool HasInstructions : 1;
85 bool IsRegistered : 1;
112 return const_cast<MCSection *
>(
this)->getBeginSymbol();
119 bool hasEnded()
const;
135 return BundleGroupBeforeFirstInst;
138 BundleGroupBeforeFirstInst = IsFirst;
152 return const_cast<MCSection *
>(
this)->getFragmentList();
157 return &MCSection::Fragments;
181 const MCExpr *Subsection)
const = 0;
185 virtual bool UseCodeAlign()
const = 0;
189 virtual bool isVirtualSection()
const = 0;
194 #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.
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)
void setAlignment(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.
reverse_iterator rbegin()
BundleLockStateType getBundleLockState() const
bool isBundleLocked() const
void setHasData(bool Value)
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
SectionKind - This is a simple POD value that classifies the properties of a section.
const_reverse_iterator rbegin() const
void setIsRegistered(bool Value)
SectionVariant getVariant() const
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
const_reverse_iterator rend() 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)