LLVM API Documentation

llvm::SDUse Class Reference

#include <SelectionDAGNodes.h>

Collaboration diagram for llvm::SDUse:
[legend]

List of all members.

Public Member Functions

 SDUse ()
 operator const SDValue & () const
 Normally SDUse will just implicitly convert to an SDValue that it holds.
const SDValue & get () const
SDNode * getUser ()
 getUser - This returns the SDNode that contains this Use.
SDUse * getNext () const
 getNext - Get the next SDUse in the use list.
SDNode * getNode () const
 getNode - Convenience function for get().getNode().
unsigned getResNo () const
 getResNo - Convenience function for get().getResNo().
MVT getValueType () const
 getValueType - Convenience function for get().getValueType().
bool operator== (const SDValue &V) const
 operator== - Convenience function for get().operator==
bool operator!= (const SDValue &V) const
 operator!= - Convenience function for get().operator!=
bool operator< (const SDValue &V) const
 operator< - Convenience function for get().operator<

Friends

class SelectionDAG
class SDNode


Detailed Description

SDUse - 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 976 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::SDUse::SDUse (  )  [inline]

Definition at line 989 of file SelectionDAGNodes.h.


Member Function Documentation

llvm::SDUse::operator const SDValue & (  )  const [inline]

Normally SDUse will just implicitly convert to an SDValue that it holds.

Definition at line 992 of file SelectionDAGNodes.h.

const SDValue& llvm::SDUse::get (  )  const [inline]

If implicit conversion to SDValue doesn't work, the get() method returns the SDValue.

Definition at line 996 of file SelectionDAGNodes.h.

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

getUser - This returns the SDNode that contains this Use.

Definition at line 999 of file SelectionDAGNodes.h.

Referenced by findFlagUse().

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

getNext - Get the next SDUse in the use list.

Definition at line 1002 of file SelectionDAGNodes.h.

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

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

MVT llvm::SDUse::getValueType (  )  const [inline]

getValueType - Convenience function for get().getValueType().

Definition at line 1009 of file SelectionDAGNodes.h.

References llvm::SDValue::getValueType().

bool llvm::SDUse::operator== ( const SDValue &  V  )  const [inline]

operator== - Convenience function for get().operator==

Definition at line 1012 of file SelectionDAGNodes.h.

bool llvm::SDUse::operator!= ( const SDValue &  V  )  const [inline]

operator!= - Convenience function for get().operator!=

Definition at line 1017 of file SelectionDAGNodes.h.

bool llvm::SDUse::operator< ( const SDValue &  V  )  const [inline]

operator< - Convenience function for get().operator<

Definition at line 1022 of file SelectionDAGNodes.h.


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Definition at line 1027 of file SelectionDAGNodes.h.

friend class SDNode [friend]

Definition at line 1028 of file SelectionDAGNodes.h.


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