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

An expression DIE. More...

#include "llvm/CodeGen/DIE.h"

Public Member Functions

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

Detailed Description

An expression DIE.

Definition at line 206 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEExpr()

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

Definition at line 210 of file DIE.h.

Member Function Documentation

◆ emitValue()

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

EmitValue - Emit expression value.

Definition at line 454 of file DIE.cpp.

References llvm::AsmPrinter::emitDebugValue(), llvm::AsmPrinter::getDwarfFormParams(), and sizeOf().

◆ getValue()

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

Get MCExpr.

Definition at line 213 of file DIE.h.

◆ print()

LLVM_DUMP_METHOD void DIEExpr::print ( raw_ostream O) const

Definition at line 475 of file DIE.cpp.

◆ sizeOf()

unsigned DIEExpr::sizeOf ( const dwarf::FormParams FormParams,
dwarf::Form  Form 
) const

SizeOf - Determine size of expression value in bytes.

Definition at line 460 of file DIE.cpp.

References llvm::dwarf::FormParams::getDwarfOffsetByteSize(), and llvm_unreachable.

Referenced by emitValue().

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