LLVM API Documentation

llvm::DIEAbbrev Class Reference

Collaboration diagram for llvm::DIEAbbrev:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DIEAbbrev (unsigned T, unsigned C)
 ~DIEAbbrev ()
unsigned getTag () const
unsigned getChildrenFlag () const
const std::vector< DIEAbbrevData > & getData () const
void setChildrenFlag (unsigned CF)
bool operator== (const DIEAbbrev &DA) const
bool operator< (const DIEAbbrev &DA) const
void AddAttribute (unsigned Attribute, unsigned Form)
void AddFirstAttribute (unsigned Attribute, unsigned Form)
void Emit (const DwarfWriter &DW) const
void print (std::ostream &O)
void dump ()

Detailed Description

Definition at line 134 of file DwarfWriter.cpp.


Constructor & Destructor Documentation

llvm::DIEAbbrev::DIEAbbrev ( unsigned  T,
unsigned  C 
) [inline]

Definition at line 142 of file DwarfWriter.cpp.

llvm::DIEAbbrev::~DIEAbbrev (  )  [inline]

Definition at line 147 of file DwarfWriter.cpp.


Member Function Documentation

void llvm::DIEAbbrev::AddAttribute ( unsigned  Attribute,
unsigned  Form 
) [inline]

AddAttribute - Adds another set of attribute information to the abbreviation.

Definition at line 165 of file DwarfWriter.cpp.

Referenced by llvm::DIE::AddBlock(), llvm::DIE::AddDelta(), llvm::DIE::AddDIEntry(), llvm::DIE::AddLabel(), llvm::DIE::AddObjectLabel(), llvm::DIE::AddSInt(), llvm::DIE::AddString(), and llvm::DIE::AddUInt().

void llvm::DIEAbbrev::AddFirstAttribute ( unsigned  Attribute,
unsigned  Form 
) [inline]

AddFirstAttribute - Adds a set of attribute information to the front of the abbreviation.

Definition at line 171 of file DwarfWriter.cpp.

Referenced by llvm::DIE::AddSiblingOffset().

void DIEAbbrev::dump (  ) 

Definition at line 592 of file DwarfWriter.cpp.

References print().

void DIEAbbrev::Emit ( const DwarfWriter DW  )  const

Emit - Print the abbreviation using the specified Dwarf writer.

Definition at line 547 of file DwarfWriter.cpp.

References llvm::dwarf::AttributeString(), llvm::dwarf::ChildrenString(), DW, llvm::dwarf::FormEncodingString(), and llvm::dwarf::TagString().

unsigned llvm::DIEAbbrev::getChildrenFlag (  )  const [inline]

Definition at line 151 of file DwarfWriter.cpp.

const std::vector<DIEAbbrevData>& llvm::DIEAbbrev::getData (  )  const [inline]

Definition at line 152 of file DwarfWriter.cpp.

unsigned llvm::DIEAbbrev::getTag (  )  const [inline]

Definition at line 150 of file DwarfWriter.cpp.

bool DIEAbbrev::operator< ( const DIEAbbrev DA  )  const

operator< - Used by UniqueVector to locate entry.

Definition at line 533 of file DwarfWriter.cpp.

References llvm::X86II::DA.

bool DIEAbbrev::operator== ( const DIEAbbrev DA  )  const

operator== - Used by UniqueVector to locate entry.

Definition at line 519 of file DwarfWriter.cpp.

References llvm::X86II::DA.

void DIEAbbrev::print ( std::ostream &  O  ) 

Definition at line 575 of file DwarfWriter.cpp.

References llvm::dwarf::AttributeString(), llvm::dwarf::ChildrenString(), llvm::dwarf::FormEncodingString(), and llvm::dwarf::TagString().

Referenced by dump().

void llvm::DIEAbbrev::setChildrenFlag ( unsigned  CF  )  [inline]

Definition at line 153 of file DwarfWriter.cpp.

Referenced by llvm::DIE::AddChild().


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