LLVM  4.0.0
Public Member Functions | List of all members
llvm::DIEBlock Class Reference

DIEBlock - Represents a block of values. More...

#include <DIE.h>

Inheritance diagram for llvm::DIEBlock:
[legend]
Collaboration diagram for llvm::DIEBlock:
[legend]

Public Member Functions

 DIEBlock ()
 
unsigned ComputeSize (const AsmPrinter *AP) const
 ComputeSize - Calculate the size of the location expression. More...
 
dwarf::Form BestForm () const
 BestForm - Choose the best form for data. More...
 
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit block data. More...
 
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of block data in bytes. More...
 
void print (raw_ostream &O) const
 
- Public Member Functions inherited from llvm::DIEValueList
value_iterator addValue (BumpPtrAllocator &Alloc, const DIEValue &V)
 
template<class T >
value_iterator addValue (BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, T &&Value)
 
value_range values ()
 
const_value_range values () const
 

Additional Inherited Members

- Public Types inherited from llvm::DIEValueList
typedef iterator_range
< value_iterator
value_range
 
typedef iterator_range
< const_value_iterator
const_value_range
 

Detailed Description

DIEBlock - Represents a block of values.

Definition at line 863 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIEBlock::DIEBlock ( )
inline

Definition at line 867 of file DIE.h.

Member Function Documentation

dwarf::Form llvm::DIEBlock::BestForm ( ) const
inline

BestForm - Choose the best form for data.

Definition at line 875 of file DIE.h.

Referenced by llvm::DwarfUnit::addBlock().

unsigned DIEBlock::ComputeSize ( const AsmPrinter AP) const

ComputeSize - Calculate the size of the location expression.

ComputeSize - calculate the size of the block.

Definition at line 762 of file DIE.cpp.

References llvm::DIEValueList::values().

Referenced by llvm::DwarfUnit::addBlock().

void DIEBlock::EmitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const
LLVM_DUMP_METHOD void DIEBlock::print ( raw_ostream O) const

Definition at line 799 of file DIE.cpp.

References printValues().

unsigned DIEBlock::SizeOf ( const AsmPrinter AP,
dwarf::Form  Form 
) const

SizeOf - Determine size of block data in bytes.

Definition at line 788 of file DIE.cpp.

References llvm::getULEB128Size(), and llvm_unreachable.


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