LLVM API Documentation
#include <SelectionDAGNodes.h>
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(). | |
EVT | 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 |
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 253 of file SelectionDAGNodes.h.
llvm::SDUse::SDUse | ( | ) | [inline] |
Definition at line 266 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 273 of file SelectionDAGNodes.h.
SDUse* llvm::SDUse::getNext | ( | ) | const [inline] |
getNext - Get the next SDUse in the use list.
Definition at line 279 of file SelectionDAGNodes.h.
Referenced by llvm::SDNode::use_iterator::operator++().
SDNode* llvm::SDUse::getNode | ( | ) | const [inline] |
getNode - Convenience function for get().getNode().
Definition at line 282 of file SelectionDAGNodes.h.
References llvm::SDValue::getNode().
Referenced by llvm::simplify_type< SDUse >::getSimplifiedValue(), llvm::SDNode::isOperandOf(), llvm::SelectionDAG::MorphNodeTo(), and llvm::SelectionDAG::RemoveDeadNodes().
unsigned llvm::SDUse::getResNo | ( | ) | const [inline] |
getResNo - Convenience function for get().getResNo().
Definition at line 284 of file SelectionDAGNodes.h.
References llvm::SDValue::getResNo().
Referenced by ExtendUsesToFormExtLoad(), findGlueUse(), llvm::SelectionDAG::ReplaceAllUsesOfValuesWith(), llvm::SelectionDAG::ReplaceAllUsesOfValueWith(), and llvm::SelectionDAG::ReplaceAllUsesWith().
SDNode* llvm::SDUse::getUser | ( | ) | [inline] |
getUser - This returns the SDNode that contains this Use.
Definition at line 276 of file SelectionDAGNodes.h.
Referenced by ExtendUsesToFormExtLoad(), findGlueUse(), llvm::SDNode::use_iterator::getOperandNo(), and llvm::SDNode::use_iterator::operator*().
EVT llvm::SDUse::getValueType | ( | ) | const [inline] |
getValueType - Convenience function for get().getValueType().
Definition at line 286 of file SelectionDAGNodes.h.
References llvm::SDValue::getValueType().
Normally SDUse will just implicitly convert to an SDValue that it holds.
Definition at line 269 of file SelectionDAGNodes.h.
operator!= - Convenience function for get().operator!=
Definition at line 294 of file SelectionDAGNodes.h.
operator< - Convenience function for get().operator<
Definition at line 299 of file SelectionDAGNodes.h.
operator== - Convenience function for get().operator==
Definition at line 289 of file SelectionDAGNodes.h.
friend class SDNode [friend] |
Definition at line 305 of file SelectionDAGNodes.h.
friend class SelectionDAG [friend] |
Definition at line 304 of file SelectionDAGNodes.h.