LLVM 20.0.0git
|
Holds the information for a single machine location through SDISel; either an SDNode, a constant, a stack location, or a virtual register. More...
#include "CodeGen/SelectionDAG/SDNodeDbgValue.h"
Public Types | |
enum | Kind { SDNODE = 0 , CONST = 1 , FRAMEIX = 2 , VREG = 3 } |
Public Member Functions | |
Kind | getKind () const |
SDNode * | getSDNode () const |
Returns the SDNode* for a register ref. | |
unsigned | getResNo () const |
Returns the ResNo for a register ref. | |
const Value * | getConst () const |
Returns the Value* for a constant. | |
unsigned | getFrameIx () const |
Returns the FrameIx for a stack object. | |
unsigned | getVReg () const |
Returns the Virtual Register for a VReg. | |
bool | operator!= (const SDDbgOperand &Other) const |
bool | operator== (const SDDbgOperand &Other) const |
Static Public Member Functions | |
static SDDbgOperand | fromNode (SDNode *Node, unsigned ResNo) |
static SDDbgOperand | fromFrameIdx (unsigned FrameIdx) |
static SDDbgOperand | fromVReg (unsigned VReg) |
static SDDbgOperand | fromConst (const Value *Const) |
Holds the information for a single machine location through SDISel; either an SDNode, a constant, a stack location, or a virtual register.
Definition at line 31 of file SDNodeDbgValue.h.
|
inlinestatic |
Definition at line 80 of file SDNodeDbgValue.h.
References Const.
Referenced by llvm::InstrEmitter::EmitDbgValueFromSingleOp(), llvm::SelectionDAG::getConstantDbgValue(), handleDanglingVariadicDebugInfo(), and llvm::SelectionDAGBuilder::handleDebugValue().
|
inlinestatic |
Definition at line 74 of file SDNodeDbgValue.h.
References FRAMEIX.
Referenced by llvm::SelectionDAG::getFrameIndexDbgValue(), llvm::SelectionDAGBuilder::handleDebugValue(), and llvm::SelectionDAG::salvageDebugInfo().
|
inlinestatic |
Definition at line 71 of file SDNodeDbgValue.h.
References ResNo.
Referenced by llvm::SelectionDAG::getDbgValue(), llvm::SelectionDAGBuilder::handleDebugValue(), llvm::SelectionDAG::salvageDebugInfo(), and llvm::SelectionDAG::transferDbgValues().
|
inlinestatic |
Definition at line 77 of file SDNodeDbgValue.h.
Referenced by llvm::SelectionDAG::getVRegDbgValue(), and llvm::SelectionDAGBuilder::handleDebugValue().
Returns the Value* for a constant.
Definition at line 54 of file SDNodeDbgValue.h.
References assert(), and CONST.
Referenced by operator==().
|
inline |
Returns the FrameIx for a stack object.
Definition at line 60 of file SDNodeDbgValue.h.
References assert(), and FRAMEIX.
Referenced by operator==().
|
inline |
Definition at line 39 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef().
|
inline |
Returns the ResNo for a register ref.
Definition at line 48 of file SDNodeDbgValue.h.
References assert(), and SDNODE.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), and operator==().
|
inline |
Returns the SDNode* for a register ref.
Definition at line 42 of file SDNodeDbgValue.h.
References assert(), and SDNODE.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), and operator==().
|
inline |
Returns the Virtual Register for a VReg.
Definition at line 66 of file SDNodeDbgValue.h.
References assert(), and VREG.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), and operator==().
|
inline |
Definition at line 84 of file SDNodeDbgValue.h.
References llvm::Other.
|
inline |
Definition at line 85 of file SDNodeDbgValue.h.
References CONST, FRAMEIX, getConst(), getFrameIx(), getResNo(), getSDNode(), getVReg(), llvm::Other, SDNODE, and VREG.
unsigned llvm::SDDbgOperand::FrameIx |
Valid for stack objects.
Definition at line 109 of file SDNodeDbgValue.h.
SDNode* llvm::SDDbgOperand::Node |
Valid for expressions.
Definition at line 105 of file SDNodeDbgValue.h.
unsigned llvm::SDDbgOperand::ResNo |
struct { ... } llvm::SDDbgOperand::s |
unsigned llvm::SDDbgOperand::VReg |