|
LLVM
3.7.0
|
Represents a use of a SDNode. More...
#include <SelectionDAGNodes.h>
Public Member Functions | |
| SDUse () | |
| operator const SDValue & () const | |
| Normally SDUse will just implicitly convert to an SDValue that it holds. More... | |
| const SDValue & | get () const |
| If implicit conversion to SDValue doesn't work, the get() method returns the SDValue. More... | |
| SDNode * | getUser () |
| This returns the SDNode that contains this Use. More... | |
| SDUse * | getNext () const |
| Get the next SDUse in the use list. More... | |
| SDNode * | getNode () const |
| Convenience function for get().getNode(). More... | |
| unsigned | getResNo () const |
| Convenience function for get().getResNo(). More... | |
| EVT | getValueType () const |
| Convenience function for get().getValueType(). More... | |
| bool | operator== (const SDValue &V) const |
| Convenience function for get().operator==. More... | |
| bool | operator!= (const SDValue &V) const |
| Convenience function for get().operator!=. More... | |
| bool | operator< (const SDValue &V) const |
| Convenience function for get().operator<. More... | |
Friends | |
| class | SelectionDAG |
| class | SDNode |
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 233 of file SelectionDAGNodes.h.
|
inline |
Definition at line 246 of file SelectionDAGNodes.h.
If implicit conversion to SDValue doesn't work, the get() method returns the SDValue.
Definition at line 253 of file SelectionDAGNodes.h.
|
inline |
Get the next SDUse in the use list.
Definition at line 259 of file SelectionDAGNodes.h.
Referenced by llvm::SDNode::use_iterator::operator++().
|
inline |
Convenience function for get().getNode().
Definition at line 262 of file SelectionDAGNodes.h.
References llvm::SDValue::getNode().
Referenced by llvm::simplify_type< SDUse >::getSimplifiedValue(), llvm::SelectionDAG::MorphNodeTo(), and llvm::SelectionDAG::RemoveDeadNodes().
|
inline |
Convenience function for get().getResNo().
Definition at line 264 of file SelectionDAGNodes.h.
References llvm::SDValue::getResNo().
Referenced by ExtendUsesToFormExtLoad(), findGlueUse(), llvm::SelectionDAG::ReplaceAllUsesOfValuesWith(), llvm::SelectionDAG::ReplaceAllUsesOfValueWith(), and llvm::SelectionDAG::ReplaceAllUsesWith().
|
inline |
This returns the SDNode that contains this Use.
Definition at line 256 of file SelectionDAGNodes.h.
Referenced by ExtendUsesToFormExtLoad(), findGlueUse(), llvm::SDNode::use_iterator::getOperandNo(), and llvm::SDNode::use_iterator::operator*().
|
inline |
Convenience function for get().getValueType().
Definition at line 266 of file SelectionDAGNodes.h.
References llvm::SDValue::getValueType().
Normally SDUse will just implicitly convert to an SDValue that it holds.
Definition at line 249 of file SelectionDAGNodes.h.
Convenience function for get().operator!=.
Definition at line 274 of file SelectionDAGNodes.h.
Convenience function for get().operator<.
Definition at line 279 of file SelectionDAGNodes.h.
Convenience function for get().operator==.
Definition at line 269 of file SelectionDAGNodes.h.
|
friend |
Definition at line 285 of file SelectionDAGNodes.h.
|
friend |
Definition at line 284 of file SelectionDAGNodes.h.
1.8.6