LLVM
15.0.0git
|
Holds the information from a dbg_value node through SDISel. More...
#include "CodeGen/SelectionDAG/SDNodeDbgValue.h"
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. More... | |
DIExpression * | getExpression () const |
Returns the DIExpression pointer for the expression. More... | |
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. More... | |
bool | isVariadic () const |
const DebugLoc & | getDebugLoc () const |
Returns the DebugLoc. More... | |
unsigned | getOrder () const |
Returns the SDNodeOrder. More... | |
void | setIsInvalidated () |
setIsInvalidated / isInvalidated - Setter / getter of the "Invalidated" property. More... | |
bool | isInvalidated () const |
void | setIsEmitted () |
setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB. More... | |
bool | isEmitted () const |
void | clearIsEmitted () |
clearIsEmitted - Reset Emitted flag, for certain special cases where dbg.addr is emitted twice. More... | |
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 133 of file SDNodeDbgValue.h.
|
inline |
Definition at line 156 of file SDNodeDbgValue.h.
|
delete |
|
delete |
|
inline |
clearIsEmitted - Reset Emitted flag, for certain special cases where dbg.addr is emitted twice.
Definition at line 234 of file SDNodeDbgValue.h.
|
inline |
Definition at line 189 of file SDNodeDbgValue.h.
LLVM_DUMP_METHOD void SDDbgValue::dump | ( | ) | const |
Definition at line 886 of file SelectionDAGDumper.cpp.
Definition at line 204 of file SDNodeDbgValue.h.
Referenced by getSDNodes().
Returns the DebugLoc.
Definition at line 215 of file SDNodeDbgValue.h.
References DL.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgNoLocation(), llvm::InstrEmitter::EmitDbgValue(), and llvm::InstrEmitter::EmitDbgValueFromSingleOp().
|
inline |
Returns the DIExpression pointer for the expression.
Definition at line 183 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgNoLocation(), llvm::InstrEmitter::EmitDbgValue(), and llvm::InstrEmitter::EmitDbgValueFromSingleOp().
|
inline |
Definition at line 185 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgValue(), llvm::InstrEmitter::EmitDbgValueFromSingleOp(), and getSDNodes().
|
inline |
Returns the SDNodeOrder.
This is the order of the preceding node in the input.
Definition at line 219 of file SDNodeDbgValue.h.
|
inline |
Definition at line 194 of file SDNodeDbgValue.h.
References getAdditionalDependencies(), getLocationOps(), and llvm::SDDbgOperand::SDNODE.
Referenced by llvm::SelectionDAG::AddDbgValue().
|
inline |
Returns the DIVariable pointer for the variable.
Definition at line 180 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgNoLocation(), llvm::InstrEmitter::EmitDbgValue(), and llvm::InstrEmitter::EmitDbgValueFromSingleOp().
|
inline |
Definition at line 230 of file SDNodeDbgValue.h.
|
inline |
Returns whether this is an indirect value.
Definition at line 210 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), and llvm::InstrEmitter::EmitDbgValueFromSingleOp().
|
inline |
Definition at line 225 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Definition at line 212 of file SDNodeDbgValue.h.
Referenced by llvm::SDDbgInfo::add(), llvm::InstrEmitter::EmitDbgInstrRef(), and llvm::InstrEmitter::EmitDbgValue().
|
delete |
LLVM_DUMP_METHOD void SDDbgValue::print | ( | raw_ostream & | OS | ) | const |
Definition at line 844 of file SelectionDAGDumper.cpp.
|
inline |
setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB.
Definition at line 229 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
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.