class SDDbgOperand
Declaration
class SDDbgOperand { /* full declaration omitted */ };
Description
Holds the information for a single machine location through SDISel; either an SDNode, a constant, a stack location, or a virtual register.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:31
Member Variables
- private llvm::SDDbgOperand::Kind kind
- private union(unnamed union at / home / hdoc / tmp / llvm - project / llvm / lib / CodeGen / SelectionDAG / SDNodeDbgValue.h : 103 : 3) u
Method Overview
- private SDDbgOperand(llvm::SDNode * N, unsigned int R)
- private SDDbgOperand(const llvm::Value * C)
- private SDDbgOperand(unsigned int VRegOrFrameIdx, llvm::SDDbgOperand::Kind Kind)
- public static llvm::SDDbgOperand fromConst(const llvm::Value * Const)
- public static llvm::SDDbgOperand fromFrameIdx(unsigned int FrameIdx)
- public static llvm::SDDbgOperand fromNode(llvm::SDNode * Node, unsigned int ResNo)
- public static llvm::SDDbgOperand fromVReg(unsigned int VReg)
- public const llvm::Value * getConst() const
- public unsigned int getFrameIx() const
- public llvm::SDDbgOperand::Kind getKind() const
- public unsigned int getResNo() const
- public llvm::SDNode * getSDNode() const
- public unsigned int getVReg() const
Methods
¶SDDbgOperand(llvm::SDNode* N, unsigned int R)
SDDbgOperand(llvm::SDNode* N, unsigned int R)
Description
Constructor for non-constants.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:114
Parameters
- llvm::SDNode* N
- unsigned int R
¶SDDbgOperand(const llvm::Value* C)
SDDbgOperand(const llvm::Value* C)
Description
Constructor for constants.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:119
Parameters
- const llvm::Value* C
¶SDDbgOperand(unsigned int VRegOrFrameIdx,
llvm::SDDbgOperand::Kind Kind)
SDDbgOperand(unsigned int VRegOrFrameIdx,
llvm::SDDbgOperand::Kind Kind)
Description
Constructor for virtual registers and frame indices.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:121
Parameters
- unsigned int VRegOrFrameIdx
- llvm::SDDbgOperand::Kind Kind
¶static llvm::SDDbgOperand fromConst(
const llvm::Value* Const)
static llvm::SDDbgOperand fromConst(
const llvm::Value* Const)
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:80
Parameters
- const llvm::Value* Const
¶static llvm::SDDbgOperand fromFrameIdx(
unsigned int FrameIdx)
static llvm::SDDbgOperand fromFrameIdx(
unsigned int FrameIdx)
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:74
Parameters
- unsigned int FrameIdx
¶static llvm::SDDbgOperand fromNode(
llvm::SDNode* Node,
unsigned int ResNo)
static llvm::SDDbgOperand fromNode(
llvm::SDNode* Node,
unsigned int ResNo)
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:71
Parameters
- llvm::SDNode* Node
- unsigned int ResNo
¶static llvm::SDDbgOperand fromVReg(
unsigned int VReg)
static llvm::SDDbgOperand fromVReg(
unsigned int VReg)
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:77
Parameters
- unsigned int VReg
¶const llvm::Value* getConst() const
const llvm::Value* getConst() const
Description
Returns the Value* for a constant
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:54
¶unsigned int getFrameIx() const
unsigned int getFrameIx() const
Description
Returns the FrameIx for a stack object
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:60
¶llvm::SDDbgOperand::Kind getKind() const
llvm::SDDbgOperand::Kind getKind() const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:39
¶unsigned int getResNo() const
unsigned int getResNo() const
Description
Returns the ResNo for a register ref
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:48
¶llvm::SDNode* getSDNode() const
llvm::SDNode* getSDNode() const
Description
Returns the SDNode* for a register ref
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:42
¶unsigned int getVReg() const
unsigned int getVReg() const
Description
Returns the Virtual Register for a VReg
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:66