LLVM API Documentation
DIEExpr - An expression DIE. More...
#include <DIE.h>
Public Member Functions | |
DIEExpr (const MCExpr *E) | |
void | EmitValue (AsmPrinter *AP, dwarf::Form Form) const override |
const MCExpr * | getValue () const |
unsigned | SizeOf (AsmPrinter *AP, dwarf::Form Form) const override |
void | print (raw_ostream &O) const override |
Static Public Member Functions | |
static bool | classof (const DIEValue *E) |
llvm::DIEExpr::DIEExpr | ( | const MCExpr * | E | ) | [inline, explicit] |
static bool llvm::DIEExpr::classof | ( | const DIEValue * | E | ) | [inline, static] |
Definition at line 316 of file DIE.h.
References llvm::DIEValue::getType(), and llvm::DIEValue::isExpr.
void DIEExpr::EmitValue | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [override, virtual] |
EmitValue - Emit expression value.
Implements llvm::DIEValue.
Definition at line 273 of file DIE.cpp.
References llvm::MCStreamer::EmitValue(), llvm::AsmPrinter::OutStreamer, and SizeOf().
const MCExpr* llvm::DIEExpr::getValue | ( | ) | const [inline] |
void DIEExpr::print | ( | raw_ostream & | O | ) | const [override, virtual] |
Implements llvm::DIEValue.
Definition at line 287 of file DIE.cpp.
References llvm::MCExpr::print().
unsigned DIEExpr::SizeOf | ( | AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const [override, virtual] |
SizeOf - Determine size of expression value in bytes.
Implements llvm::DIEValue.
Definition at line 279 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().