class SDDbgValue
Declaration
class SDDbgValue { /* full declaration omitted */ };
Description
Holds the information from a dbg_value node through SDISel. We do not use SDValue here to avoid including its header.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:133
Member Variables
- private size_t NumLocationOps
- private llvm::SDDbgOperand* LocationOps
- private size_t NumAdditionalDependencies
- private llvm::SDNode** AdditionalDependencies
- private llvm::DIVariable* Var
- private llvm::DIExpression* Expr
- private llvm::DebugLoc DL
- private unsigned int Order
- private bool IsIndirect
- private bool IsVariadic
- private bool Invalid = false
- private bool Emitted = false
Method Overview
- public SDDbgValue(const llvm::SDDbgValue & Other)
- public SDDbgValue(llvm::BumpPtrAllocator & Alloc, llvm::DIVariable * Var, llvm::DIExpression * Expr, ArrayRef<llvm::SDDbgOperand> L, ArrayRef<llvm::SDNode *> Dependencies, bool IsIndirect, llvm::DebugLoc DL, unsigned int O, bool IsVariadic)
- public void clearIsEmitted()
- public SmallVector<llvm::SDDbgOperand> copyLocationOps() const
- public void dump() const
- public ArrayRef<llvm::SDNode *> getAdditionalDependencies() const
- public const llvm::DebugLoc & getDebugLoc() const
- public llvm::DIExpression * getExpression() const
- public ArrayRef<llvm::SDDbgOperand> getLocationOps() const
- public unsigned int getOrder() const
- public SmallVector<llvm::SDNode *> getSDNodes() const
- public llvm::DIVariable * getVariable() const
- public bool isEmitted() const
- public bool isIndirect() const
- public bool isInvalidated() const
- public bool isVariadic() const
- public void print(llvm::raw_ostream & OS) const
- public void setIsEmitted()
- public void setIsInvalidated()
- public ~SDDbgValue()
Methods
¶SDDbgValue(const llvm::SDDbgValue& Other)
SDDbgValue(const llvm::SDDbgValue& Other)
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:175
Parameters
- const llvm::SDDbgValue& Other
¶SDDbgValue(llvm::BumpPtrAllocator& Alloc,
llvm::DIVariable* Var,
llvm::DIExpression* Expr,
ArrayRef<llvm::SDDbgOperand> L,
ArrayRef<llvm::SDNode*> Dependencies,
bool IsIndirect,
llvm::DebugLoc DL,
unsigned int O,
bool IsVariadic)
SDDbgValue(llvm::BumpPtrAllocator& Alloc,
llvm::DIVariable* Var,
llvm::DIExpression* Expr,
ArrayRef<llvm::SDDbgOperand> L,
ArrayRef<llvm::SDNode*> Dependencies,
bool IsIndirect,
llvm::DebugLoc DL,
unsigned int O,
bool IsVariadic)
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:156
Parameters
- llvm::BumpPtrAllocator& Alloc
- llvm::DIVariable* Var
- llvm::DIExpression* Expr
- ArrayRef<llvm::SDDbgOperand> L
- ArrayRef<llvm::SDNode*> Dependencies
- bool IsIndirect
- llvm::DebugLoc DL
- unsigned int O
- bool IsVariadic
¶void clearIsEmitted()
void clearIsEmitted()
Description
clearIsEmitted - Reset Emitted flag, for certain special cases where dbg.addr is emitted twice.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:234
¶SmallVector<llvm::SDDbgOperand> copyLocationOps()
const
SmallVector<llvm::SDDbgOperand> copyLocationOps()
const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:189
¶void dump() const
void dump() const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:236
¶ArrayRef<llvm::SDNode*>
getAdditionalDependencies() const
ArrayRef<llvm::SDNode*>
getAdditionalDependencies() const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:204
¶const llvm::DebugLoc& getDebugLoc() const
const llvm::DebugLoc& getDebugLoc() const
Description
Returns the DebugLoc.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:215
¶llvm::DIExpression* getExpression() const
llvm::DIExpression* getExpression() const
Description
Returns the DIExpression pointer for the expression.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:183
¶ArrayRef<llvm::SDDbgOperand> getLocationOps()
const
ArrayRef<llvm::SDDbgOperand> getLocationOps()
const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:185
¶unsigned int getOrder() const
unsigned int getOrder() const
Description
Returns the SDNodeOrder. This is the order of the preceding node in the input.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:219
¶SmallVector<llvm::SDNode*> getSDNodes() const
SmallVector<llvm::SDNode*> getSDNodes() const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:194
¶llvm::DIVariable* getVariable() const
llvm::DIVariable* getVariable() const
Description
Returns the DIVariable pointer for the variable.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:180
¶bool isEmitted() const
bool isEmitted() const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:230
¶bool isIndirect() const
bool isIndirect() const
Description
Returns whether this is an indirect value.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:210
¶bool isInvalidated() const
bool isInvalidated() const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:225
¶bool isVariadic() const
bool isVariadic() const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:212
¶void print(llvm::raw_ostream& OS) const
void print(llvm::raw_ostream& OS) const
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:237
Parameters
¶void setIsEmitted()
void setIsEmitted()
Description
setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:229
¶void setIsInvalidated()
void setIsInvalidated()
Description
setIsInvalidated / isInvalidated - Setter / getter of the "Invalidated" property. A SDDbgValue is invalid if the SDNode that produces the value is deleted.
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:224
¶~SDDbgValue()
~SDDbgValue()
Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:177