LLVM 22.0.0git
llvm::DIEValue Class Reference

#include "llvm/CodeGen/DIE.h"

Public Types

enum  Type { isNone }

Public Member Functions

 DIEValue ()=default
 DIEValue (const DIEValue &X)
DIEValueoperator= (const DIEValue &X)
 ~DIEValue ()
LLVM_ABI void emitValue (const AsmPrinter *AP) const
 Emit value via the Dwarf writer.
LLVM_ABI unsigned sizeOf (const dwarf::FormParams &FormParams) const
 Return the size of a value in bytes.
LLVM_ABI void print (raw_ostream &O) const
LLVM_ABI void dump () const
Type getType () const
 Accessors.
dwarf::Attribute getAttribute () const
dwarf::Form getForm () const
 operator bool () const

Detailed Description

Definition at line 383 of file DIE.h.

Member Enumeration Documentation

◆ Type

Enumerator
isNone 

Definition at line 385 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEValue() [1/2]

llvm::DIEValue::DIEValue ( )
default

Referenced by DIEValue(), and operator=().

◆ DIEValue() [2/2]

llvm::DIEValue::DIEValue ( const DIEValue & X)
inline

Definition at line 471 of file DIE.h.

References DIEValue(), and X.

◆ ~DIEValue()

llvm::DIEValue::~DIEValue ( )
inline

Definition at line 486 of file DIE.h.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void DIEValue::dump ( ) const

Definition at line 353 of file DIE.cpp.

References llvm::dbgs(), LLVM_DUMP_METHOD, and print().

◆ emitValue()

void DIEValue::emitValue ( const AsmPrinter * AP) const

Emit value via the Dwarf writer.

Definition at line 315 of file DIE.cpp.

References isNone, and llvm_unreachable.

◆ getAttribute()

dwarf::Attribute llvm::DIEValue::getAttribute ( ) const
inline

Definition at line 504 of file DIE.h.

◆ getForm()

dwarf::Form llvm::DIEValue::getForm ( ) const
inline

Definition at line 505 of file DIE.h.

◆ getType()

Type llvm::DIEValue::getType ( ) const
inline

Accessors.

Definition at line 503 of file DIE.h.

◆ operator bool()

llvm::DIEValue::operator bool ( ) const
inlineexplicit

Definition at line 506 of file DIE.h.

◆ operator=()

DIEValue & llvm::DIEValue::operator= ( const DIEValue & X)
inline

Definition at line 475 of file DIE.h.

References DIEValue(), and X.

◆ print()

LLVM_DUMP_METHOD void DIEValue::print ( raw_ostream & O) const

Definition at line 340 of file DIE.cpp.

References isNone, and llvm_unreachable.

Referenced by dump().

◆ sizeOf()

unsigned DIEValue::sizeOf ( const dwarf::FormParams & FormParams) const

Return the size of a value in bytes.

Definition at line 327 of file DIE.cpp.

References isNone, and llvm_unreachable.

Referenced by llvm::dwarf_linker::parallel::DIEGenerator::addAttribute().


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