llvm::SDUse

Represents a use of an SDNode value in another node's operand list.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

class SDUse;

Description

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.

Member Functions

NameDescription
SDUse [constructor]Constructors
operator= [deleted]SDUse is non-assignable.
get Return the held SDValue.
getNext Return the next SDUse in the use list.
getNode Return the SDNode producing the used value.
getOperandNo Return the operand number of this use in its user.
getResNo Return the result number of the used value.
getUser getUser overloads
getValueType Return the ValueType of the used value.
operator SDValue const& Implicitly convert to the held SDValue.
operator== Return true if the held SDValue equals V.
operator!= Return true if the held SDValue differs from V.
operator< Return true if the held SDValue is less than V.

Friends

NameDescription
llvm::HandleSDNodePersistent handle around another node updated across RAUW.
llvm::SDNodeRepresents one node in the SelectionDAG.
llvm::SelectionDAGThis is used to represent a portion of an LLVM function as a DAG.