LLVM API Documentation

Public Types | Public Member Functions | Friends
llvm::MCSectionData Class Reference

#include <MCAssembler.h>

Inheritance diagram for llvm::MCSectionData:
Inheritance graph
[legend]
Collaboration diagram for llvm::MCSectionData:
Collaboration graph
[legend]

List of all members.

Public Types

enum  BundleLockStateType { NotBundleLocked, BundleLocked, BundleLockedAlignToEnd }
 Express the state of bundle locked groups while emitting code. More...
typedef iplist< MCFragmentFragmentListType
typedef
FragmentListType::const_iterator 
const_iterator
typedef FragmentListType::iterator iterator
typedef
FragmentListType::const_reverse_iterator 
const_reverse_iterator
typedef
FragmentListType::reverse_iterator 
reverse_iterator

Public Member Functions

 MCSectionData ()
 MCSectionData (const MCSection &Section, MCAssembler *A=nullptr)
const MCSectiongetSection () const
unsigned getAlignment () const
void setAlignment (unsigned Value)
bool hasInstructions () const
void setHasInstructions (bool Value)
unsigned getOrdinal () const
void setOrdinal (unsigned Value)
unsigned getLayoutOrder () const
void setLayoutOrder (unsigned Value)
Fragment Access
const FragmentListTypegetFragmentList () const
FragmentListTypegetFragmentList ()
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_t size () const
bool empty () const
iterator getSubsectionInsertionPoint (unsigned Subsection)
bool isBundleLocked () const
BundleLockStateType getBundleLockState () const
void setBundleLockState (BundleLockStateType NewState)
bool isBundleGroupBeforeFirstInst () const
void setBundleGroupBeforeFirstInst (bool IsFirst)
void dump ()

Friends

class MCAsmLayout

Detailed Description

Definition at line 561 of file MCAssembler.h.


Member Typedef Documentation

Definition at line 570 of file MCAssembler.h.

Definition at line 573 of file MCAssembler.h.

Definition at line 568 of file MCAssembler.h.

Definition at line 571 of file MCAssembler.h.

Definition at line 574 of file MCAssembler.h.


Member Enumeration Documentation

Express the state of bundle locked groups while emitting code.

Enumerator:
NotBundleLocked 
BundleLocked 
BundleLockedAlignToEnd 

Definition at line 577 of file MCAssembler.h.


Constructor & Destructor Documentation

MCSectionData::MCSectionData ( )

Definition at line 288 of file MCAssembler.cpp.

MCSectionData::MCSectionData ( const MCSection Section,
MCAssembler A = nullptr 
)

Member Function Documentation

Definition at line 643 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::begin().

Definition at line 1230 of file MCAssembler.cpp.

References begin(), end(), llvm::errs(), and getAlignment().

bool llvm::MCSectionData::empty ( ) const [inline]

Definition at line 656 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::empty().

Definition at line 646 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::end().

Definition at line 664 of file MCAssembler.h.

Definition at line 640 of file MCAssembler.h.

Definition at line 633 of file MCAssembler.h.

Referenced by llvm::MachObjectWriter::getPaddingSize().

Definition at line 630 of file MCAssembler.h.

Definition at line 672 of file MCAssembler.h.

Referenced by llvm::MCELFStreamer::EmitBundleUnlock().

Definition at line 648 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::rbegin().

Definition at line 649 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::rbegin().

Definition at line 651 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::rend().

Definition at line 652 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::rend().

void llvm::MCSectionData::setAlignment ( unsigned  Value) [inline]

Definition at line 676 of file MCAssembler.h.

Referenced by llvm::MCELFStreamer::EmitBundleLock().

Definition at line 628 of file MCAssembler.h.

Referenced by llvm::MCObjectStreamer::EmitInstruction().

Definition at line 634 of file MCAssembler.h.

Referenced by llvm::MCAssembler::Finish().

void llvm::MCSectionData::setOrdinal ( unsigned  Value) [inline]

Definition at line 631 of file MCAssembler.h.

size_t llvm::MCSectionData::size ( ) const [inline]

Definition at line 654 of file MCAssembler.h.

References llvm::iplist< NodeTy, Traits >::size().


Friends And Related Function Documentation

friend class MCAsmLayout [friend]

Definition at line 562 of file MCAssembler.h.


The documentation for this class was generated from the following files: