LLVM  14.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. 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

An expression DIE.

Definition at line 201 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEExpr()

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

Definition at line 205 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 466 of file DIE.cpp.

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

◆ getValue()

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

Get MCExpr.

Definition at line 208 of file DIE.h.

◆ print()

LLVM_DUMP_METHOD void DIEExpr::print ( raw_ostream O) const

Definition at line 486 of file DIE.cpp.

References llvm::RISCVFenceField::O.

◆ SizeOf()

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

SizeOf - Determine size of expression value in bytes.

Definition at line 472 of file DIE.cpp.

References llvm::AsmPrinter::getDwarfOffsetByteSize(), and llvm_unreachable.

Referenced by emitValue().

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