LLVM API Documentation

Public Member Functions | Static Public Member Functions
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]

List of all members.

Public Member Functions

 DIEExpr (const MCExpr *E)
void EmitValue (AsmPrinter *AP, dwarf::Form Form) const override
const MCExprgetValue () 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)

Detailed Description

DIEExpr - An expression DIE.

Definition at line 297 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEExpr::DIEExpr ( const MCExpr E) [inline, explicit]

Definition at line 301 of file DIE.h.


Member Function Documentation

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]

getValue - Get MCExpr.

Definition at line 309 of file DIE.h.

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().


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