class SDUse
Declaration
class SDUse { /* full declaration omitted */ };
Description
Represents a use of a SDNode. This class holds an SDValue, which records the SDNode being used and the result number, a pointer to the SDNode using the value, and Next and Prev pointers, which link together all the uses of an SDNode.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:263
Method Overview
- public SDUse()
- public SDUse(const llvm::SDUse & U)
- public const llvm::SDValue & get() const
- public llvm::SDUse * getNext() const
- public llvm::SDNode * getNode() const
- public unsigned int getResNo() const
- public llvm::SDNode * getUser()
- public llvm::EVT getValueType() const
- public const llvm::SDValue & operator const llvm::SDValue &() const
Methods
¶SDUse()
SDUse()
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:274
¶SDUse(const llvm::SDUse& U)
SDUse(const llvm::SDUse& U)
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:275
Parameters
- const llvm::SDUse& U
¶const llvm::SDValue& get() const
const llvm::SDValue& get() const
Description
If implicit conversion to SDValue doesn't work, the get() method returns the SDValue.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:283
¶llvm::SDUse* getNext() const
llvm::SDUse* getNext() const
Description
Get the next SDUse in the use list.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:289
¶llvm::SDNode* getNode() const
llvm::SDNode* getNode() const
Description
Convenience function for get().getNode().
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:292
¶unsigned int getResNo() const
unsigned int getResNo() const
Description
Convenience function for get().getResNo().
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:294
¶llvm::SDNode* getUser()
llvm::SDNode* getUser()
Description
This returns the SDNode that contains this Use.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:286
¶llvm::EVT getValueType() const
llvm::EVT getValueType() const
Description
Convenience function for get().getValueType().
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:296
¶const llvm::SDValue&
operator const llvm::SDValue&() const
const llvm::SDValue&
operator const llvm::SDValue&() const
Description
Normally SDUse will just implicitly convert to an SDValue that it holds.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:279