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

DIELoc - Represents an expression location. More...

#include <DIE.h>

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

Public Member Functions

 DIELoc ()
 
unsigned ComputeSize (const AsmPrinter *AP) const
 ComputeSize - Calculate the size of the location expression. More...
 
dwarf::Form BestForm (unsigned DwarfVersion) const
 BestForm - Choose the best form for data. More...
 
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit location data. More...
 
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of location 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

DIELoc - Represents an expression location.

Definition at line 829 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIELoc::DIELoc ( )
inline

Definition at line 833 of file DIE.h.

Member Function Documentation

dwarf::Form llvm::DIELoc::BestForm ( unsigned  DwarfVersion) const
inline

BestForm - Choose the best form for data.

Definition at line 841 of file DIE.h.

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

unsigned DIELoc::ComputeSize ( const AsmPrinter AP) const

ComputeSize - Calculate the size of the location expression.

ComputeSize - calculate the size of the location expression.

Definition at line 711 of file DIE.cpp.

References llvm::DIEValueList::values().

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

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

Definition at line 752 of file DIE.cpp.

References printValues().

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

SizeOf - Determine size of location data in bytes.

Definition at line 739 of file DIE.cpp.

References llvm::getULEB128Size(), and llvm_unreachable.


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