LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Friends | List of all members
llvm::MCSectionData Class Reference

#include <MCAssembler.h>

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

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=0)
 
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 ()
 
- Public Member Functions inherited from llvm::ilist_node< MCSectionData >
MCSectionDatagetPrevNode ()
 Get the previous node, or 0 for the list head. More...
 
const MCSectionDatagetPrevNode () const
 Get the previous node, or 0 for the list head. More...
 
MCSectionDatagetNextNode ()
 Get the next node, or 0 for the list tail. More...
 
const MCSectionDatagetNextNode () const
 Get the next node, or 0 for the list tail. More...
 

Friends

class MCAsmLayout
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::ilist_node< MCSectionData >
 ilist_node ()
 

Detailed Description

Definition at line 544 of file MCAssembler.h.

Member Typedef Documentation

Definition at line 553 of file MCAssembler.h.

Definition at line 556 of file MCAssembler.h.

Definition at line 551 of file MCAssembler.h.

Definition at line 554 of file MCAssembler.h.

Definition at line 557 of file MCAssembler.h.

Member Enumeration Documentation

Express the state of bundle locked groups while emitting code.

Enumerator
NotBundleLocked 
BundleLocked 
BundleLockedAlignToEnd 

Definition at line 560 of file MCAssembler.h.

Constructor & Destructor Documentation

MCSectionData::MCSectionData ( )

Definition at line 233 of file MCAssembler.cpp.

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

Member Function Documentation

iterator llvm::MCSectionData::begin ( )
inline
const_iterator llvm::MCSectionData::begin ( ) const
inline

Definition at line 626 of file MCAssembler.h.

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

void MCSectionData::dump ( )

Definition at line 1127 of file MCAssembler.cpp.

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

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

Definition at line 639 of file MCAssembler.h.

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

iterator llvm::MCSectionData::end ( )
inline
const_iterator llvm::MCSectionData::end ( ) const
inline

Definition at line 629 of file MCAssembler.h.

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

unsigned llvm::MCSectionData::getAlignment ( ) const
inline
BundleLockStateType llvm::MCSectionData::getBundleLockState ( ) const
inline

Definition at line 647 of file MCAssembler.h.

const FragmentListType& llvm::MCSectionData::getFragmentList ( ) const
inline
FragmentListType& llvm::MCSectionData::getFragmentList ( )
inline

Definition at line 623 of file MCAssembler.h.

unsigned llvm::MCSectionData::getLayoutOrder ( ) const
inline

Definition at line 616 of file MCAssembler.h.

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

unsigned llvm::MCSectionData::getOrdinal ( ) const
inline

Definition at line 613 of file MCAssembler.h.

const MCSection& llvm::MCSectionData::getSection ( ) const
inline
MCSectionData::iterator MCSectionData::getSubsectionInsertionPoint ( unsigned  Subsection)
bool llvm::MCSectionData::hasInstructions ( ) const
inline

Definition at line 610 of file MCAssembler.h.

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

bool llvm::MCSectionData::isBundleGroupBeforeFirstInst ( ) const
inline

Definition at line 655 of file MCAssembler.h.

bool llvm::MCSectionData::isBundleLocked ( ) const
inline
reverse_iterator llvm::MCSectionData::rbegin ( )
inline

Definition at line 631 of file MCAssembler.h.

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

const_reverse_iterator llvm::MCSectionData::rbegin ( ) const
inline

Definition at line 632 of file MCAssembler.h.

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

reverse_iterator llvm::MCSectionData::rend ( )
inline

Definition at line 634 of file MCAssembler.h.

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

const_reverse_iterator llvm::MCSectionData::rend ( ) const
inline

Definition at line 635 of file MCAssembler.h.

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

void llvm::MCSectionData::setAlignment ( unsigned  Value)
inline
void llvm::MCSectionData::setBundleGroupBeforeFirstInst ( bool  IsFirst)
inline

Definition at line 659 of file MCAssembler.h.

void llvm::MCSectionData::setBundleLockState ( BundleLockStateType  NewState)
inline

Definition at line 651 of file MCAssembler.h.

void llvm::MCSectionData::setHasInstructions ( bool  Value)
inline

Definition at line 611 of file MCAssembler.h.

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

void llvm::MCSectionData::setLayoutOrder ( unsigned  Value)
inline

Definition at line 617 of file MCAssembler.h.

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

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

Definition at line 614 of file MCAssembler.h.

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

Definition at line 637 of file MCAssembler.h.

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

Friends And Related Function Documentation

friend class MCAsmLayout
friend

Definition at line 545 of file MCAssembler.h.


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