LLVM: llvm::SDDbgValue Class Reference (original) (raw)

Holds the information from a dbg_value node through SDISel. More...

#include "[CodeGen/SelectionDAG/SDNodeDbgValue.h](SDNodeDbgValue%5F8h%5Fsource.html)"

Public Member Functions
SDDbgValue (BumpPtrAllocator &Alloc, DIVariable *Var, DIExpression *Expr, ArrayRef< SDDbgOperand > L, ArrayRef< SDNode * > Dependencies, bool IsIndirect, DebugLoc DL, unsigned O, bool IsVariadic)
SDDbgValue (const SDDbgValue &Other)=delete
SDDbgValue & operator= (const SDDbgValue &Other)=delete
~SDDbgValue ()=delete
DIVariable * getVariable () const
Returns the DIVariable pointer for the variable.
DIExpression * getExpression () const
Returns the DIExpression pointer for the expression.
ArrayRef< SDDbgOperand > getLocationOps () const
SmallVector< SDDbgOperand > copyLocationOps () const
SmallVector< SDNode * > getSDNodes () const
ArrayRef< SDNode * > getAdditionalDependencies () const
bool isIndirect () const
Returns whether this is an indirect value.
bool isVariadic () const
const DebugLoc & getDebugLoc () const
Returns the DebugLoc.
unsigned getOrder () const
Returns the SDNodeOrder.
void setIsInvalidated ()
setIsInvalidated / isInvalidated - Setter / getter of the "Invalidated" property.
bool isInvalidated () const
void setIsEmitted ()
setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB.
bool isEmitted () const
void clearIsEmitted ()
clearIsEmitted - Reset Emitted flag, for certain special cases where SDDbgValue is emitted twice.
LLVM_DUMP_METHOD void dump () const
LLVM_DUMP_METHOD void print (raw_ostream &OS) const

Holds the information from a dbg_value node through SDISel.

We do not use SDValue here to avoid including its header.

Definition at line 134 of file SDNodeDbgValue.h.

SDDbgValue() [2/2]

~SDDbgValue()

llvm::SDDbgValue::~SDDbgValue ( ) delete

clearIsEmitted()

void llvm::SDDbgValue::clearIsEmitted ( ) inline

clearIsEmitted - Reset Emitted flag, for certain special cases where SDDbgValue is emitted twice.

DBG_INSTR_REF depends on this behaviour.

Definition at line 234 of file SDNodeDbgValue.h.

copyLocationOps()

dump()

getAdditionalDependencies()

ArrayRef< SDNode * > llvm::SDDbgValue::getAdditionalDependencies ( ) const inline

getDebugLoc()

getExpression()

DIExpression * llvm::SDDbgValue::getExpression ( ) const inline

getLocationOps()

getOrder()

unsigned llvm::SDDbgValue::getOrder ( ) const inline

Returns the SDNodeOrder.

This is the order of the preceding node in the input.

Definition at line 219 of file SDNodeDbgValue.h.

Referenced by print().

getSDNodes()

getVariable()

DIVariable * llvm::SDDbgValue::getVariable ( ) const inline

isEmitted()

bool llvm::SDDbgValue::isEmitted ( ) const inline

isIndirect()

bool llvm::SDDbgValue::isIndirect ( ) const inline

isInvalidated()

bool llvm::SDDbgValue::isInvalidated ( ) const inline

isVariadic()

bool llvm::SDDbgValue::isVariadic ( ) const inline

operator=()

print()

Definition at line 997 of file SelectionDAGDumper.cpp.

References llvm::SDDbgOperand::CONST, llvm::SDDbgOperand::FRAMEIX, getLocationOps(), getOrder(), isEmitted(), isIndirect(), isInvalidated(), isVariadic(), LLVM_DUMP_METHOD, PrintNodeId(), llvm::printReg(), llvm::SDDbgOperand::SDNODE, and llvm::SDDbgOperand::VREG.

Referenced by dump().

setIsEmitted()

void llvm::SDDbgValue::setIsEmitted ( ) inline

setIsInvalidated()

void llvm::SDDbgValue::setIsInvalidated ( ) inline

setIsInvalidated / isInvalidated - Setter / getter of the "Invalidated" property.

A SDDbgValue is invalid if the SDNode that produces the value is deleted.

Definition at line 224 of file SDNodeDbgValue.h.


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