LLVM  3.7.0
Public Member Functions | List of all members
llvm::DIEExpr Class Reference

DIEExpr - An expression DIE. More...

#include <DIE.h>

Public Member Functions

 DIEExpr (const MCExpr *E)
 
const MCExprgetValue () const
 getValue - Get MCExpr. More...
 
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit expression value. More...
 
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of expression value in bytes. More...
 
void print (raw_ostream &O) const
 

Detailed Description

DIEExpr - An expression DIE.

Definition at line 154 of file DIE.h.

Constructor & Destructor Documentation

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

Definition at line 158 of file DIE.h.

Member Function Documentation

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

EmitValue - Emit expression value.

Definition at line 319 of file DIE.cpp.

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

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

getValue - Get MCExpr.

Definition at line 162 of file DIE.h.

void DIEExpr::print ( raw_ostream O) const

Definition at line 333 of file DIE.cpp.

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

SizeOf - Determine size of expression value in bytes.

Definition at line 325 of file DIE.cpp.

References llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_sec_offset, llvm::dwarf::DW_FORM_strp, llvm::AsmPrinter::getDataLayout(), and llvm::DataLayout::getPointerSize().

Referenced by EmitValue().


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