LLVM API Documentation

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

DIEExpr - An expression DIE. More...

#include <DIE.h>

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

Public Member Functions

 DIEExpr (const MCExpr *E)
 
virtual void EmitValue (AsmPrinter *AP, dwarf::Form Form) const
 
const MCExprgetValue () const
 
virtual unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const
 
virtual void print (raw_ostream &O) const
 
- Public Member Functions inherited from llvm::DIEValue
 DIEValue (unsigned T)
 
virtual ~DIEValue ()
 
unsigned getType () const
 
void dump () const
 

Static Public Member Functions

static bool classof (const DIEValue *E)
 

Additional Inherited Members

- Public Types inherited from llvm::DIEValue
enum  {
  isInteger, isString, isExpr, isLabel,
  isDelta, isEntry, isBlock
}
 
- Protected Attributes inherited from llvm::DIEValue
unsigned Type
 

Detailed Description

DIEExpr - An expression DIE.

Definition at line 270 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIEExpr::DIEExpr ( const MCExpr E)
inlineexplicit

Definition at line 273 of file DIE.h.

Member Function Documentation

static bool llvm::DIEExpr::classof ( const DIEValue E)
inlinestatic

Definition at line 288 of file DIE.h.

References llvm::DIEValue::getType(), and llvm::DIEValue::isExpr.

void DIEExpr::EmitValue ( AsmPrinter AP,
dwarf::Form  Form 
) const
virtual

EmitValue - Emit expression value.

Implements llvm::DIEValue.

Definition at line 279 of file DIE.cpp.

References llvm::MCStreamer::EmitValue(), llvm::AsmPrinter::OutStreamer, and SizeOf().

const MCExpr* llvm::DIEExpr::getValue ( ) const
inline

getValue - Get MCExpr.

Definition at line 281 of file DIE.h.

void DIEExpr::print ( raw_ostream O) const
virtual

Implements llvm::DIEValue.

Definition at line 293 of file DIE.cpp.

References llvm::MCExpr::print().

unsigned DIEExpr::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const
virtual

SizeOf - Determine size of expression value in bytes.

Implements llvm::DIEValue.

Definition at line 285 of file DIE.cpp.

References llvm::AsmPrinter::getDataLayout(), and llvm::DataLayout::getPointerSize().

Referenced by EmitValue().


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