LLVM: llvm::SDUse Class Reference (original) (raw)

Represents a use of a SDNode. More...

#include "[llvm/CodeGen/SelectionDAGNodes.h](SelectionDAGNodes%5F8h%5Fsource.html)"

Public Member Functions
SDUse ()=default
SDUse (const SDUse &U)=delete
SDUse & operator= (const SDUse &)=delete
operator const SDValue & () const
Normally SDUse will just implicitly convert to an SDValue that it holds.
const SDValue & get () const
If implicit conversion to SDValue doesn't work, the get() method returns the SDValue.
SDNode * getUser ()
This returns the SDNode that contains this Use.
const SDNode * getUser () const
SDUse * getNext () const
Get the next SDUse in the use list.
unsigned getOperandNo () const
Return the operand # of this use in its user.
SDNode * getNode () const
Convenience function for get().getNode().
unsigned getResNo () const
Convenience function for get().getResNo().
EVT getValueType () const
Convenience function for get().getValueType().
bool operator== (const SDValue &V) const
Convenience function for get().operator==.
bool operator!= (const SDValue &V) const
Convenience function for get().operator!=.
bool operator< (const SDValue &V) const
Convenience function for get().operator<.
Friends
class SelectionDAG
class SDNode
class HandleSDNode

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.

Definition at line 286 of file SelectionDAGNodes.h.

SDUse() [1/2]

llvm::SDUse::SDUse ( ) default

SDUse() [2/2]

get()

getNext()

SDUse * llvm::SDUse::getNext ( ) const inline

getNode()

SDNode * llvm::SDUse::getNode ( ) const inline

getOperandNo()

unsigned llvm::SDUse::getOperandNo ( ) const inline

getResNo()

unsigned llvm::SDUse::getResNo ( ) const inline

getUser() [1/2]

SDNode * llvm::SDUse::getUser ( ) inline

getUser() [2/2]

getValueType()

EVT llvm::SDUse::getValueType ( ) const inline

operator const SDValue &()

operator!=()

operator<()

operator=()

operator==()

HandleSDNode

SDNode

SelectionDAG


The documentation for this class was generated from the following file: