|
LLVM
8.0.1
|
Holds the information from a dbg_value node through SDISel. More...
#include "CodeGen/SelectionDAG/SDNodeDbgValue.h"

Public Types | |
| enum | DbgValueKind { SDNODE = 0, CONST = 1, FRAMEIX = 2, VREG = 3 } |
Public Member Functions | |
| SDDbgValue (DIVariable *Var, DIExpression *Expr, SDNode *N, unsigned R, bool indir, DebugLoc dl, unsigned O) | |
| Constructor for non-constants. More... | |
| SDDbgValue (DIVariable *Var, DIExpression *Expr, const Value *C, DebugLoc dl, unsigned O) | |
| Constructor for constants. More... | |
| SDDbgValue (DIVariable *Var, DIExpression *Expr, unsigned VRegOrFrameIdx, bool IsIndirect, DebugLoc DL, unsigned Order, enum DbgValueKind Kind) | |
| Constructor for virtual registers and frame indices. More... | |
| DbgValueKind | getKind () const |
| Returns the kind. More... | |
| DIVariable * | getVariable () const |
| Returns the DIVariable pointer for the variable. More... | |
| DIExpression * | getExpression () const |
| Returns the DIExpression pointer for the expression. More... | |
| SDNode * | getSDNode () const |
| Returns the SDNode* for a register ref. More... | |
| unsigned | getResNo () const |
| Returns the ResNo for a register ref. More... | |
| const Value * | getConst () const |
| Returns the Value* for a constant. More... | |
| unsigned | getFrameIx () const |
| Returns the FrameIx for a stack object. More... | |
| unsigned | getVReg () const |
| Returns the Virtual Register for a VReg. More... | |
| bool | isIndirect () const |
| Returns whether this is an indirect value. More... | |
| 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 (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 31 of file SDNodeDbgValue.h.
|
inline |
Constructor for non-constants.
Definition at line 60 of file SDNodeDbgValue.h.
|
inline |
|
inline |
|
inline |
clearIsEmitted - Reset Emitted flag, for certain special cases where dbg.addr is emitted twice.
Definition at line 137 of file SDNodeDbgValue.h.
References dump(), and LLVM_DUMP_METHOD.
| LLVM_DUMP_METHOD void SDDbgValue::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 712 of file SelectionDAGDumper.cpp.
Referenced by clearIsEmitted().
Returns the Value* for a constant.
Definition at line 106 of file SDNodeDbgValue.h.
References assert(), and CONST.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the DebugLoc.
Definition at line 118 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the DIExpression pointer for the expression.
Definition at line 97 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the FrameIx for a stack object.
Definition at line 109 of file SDNodeDbgValue.h.
References assert(), and FRAMEIX.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the kind.
Definition at line 91 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the SDNodeOrder.
This is the order of the preceding node in the input.
Definition at line 122 of file SDNodeDbgValue.h.
Referenced by llvm::ScheduleDAGSDNodes::EmitSchedule().
|
inline |
Returns the ResNo for a register ref.
Definition at line 103 of file SDNodeDbgValue.h.
References assert(), and SDNODE.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the SDNode* for a register ref.
Definition at line 100 of file SDNodeDbgValue.h.
References assert(), and SDNODE.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the DIVariable pointer for the variable.
Definition at line 94 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Returns the Virtual Register for a VReg.
Definition at line 112 of file SDNodeDbgValue.h.
References assert(), and VREG.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Definition at line 133 of file SDNodeDbgValue.h.
|
inline |
Returns whether this is an indirect value.
Definition at line 115 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
Definition at line 128 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB.
Definition at line 132 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 127 of file SDNodeDbgValue.h.
Valid for constants.
Definition at line 45 of file SDNodeDbgValue.h.
| unsigned llvm::SDDbgValue::FrameIx |
Valid for stack objects.
Definition at line 46 of file SDNodeDbgValue.h.
| SDNode* llvm::SDDbgValue::Node |
Valid for expressions.
Definition at line 42 of file SDNodeDbgValue.h.
| unsigned llvm::SDDbgValue::ResNo |
Valid for expressions.
Definition at line 43 of file SDNodeDbgValue.h.
| struct { ... } llvm::SDDbgValue::s |
| unsigned llvm::SDDbgValue::VReg |
Valid for registers.
Definition at line 47 of file SDNodeDbgValue.h.
1.8.13