LLVM
8.0.1
|
Represents a use of a SDNode. More...
#include "llvm/CodeGen/SelectionDAGNodes.h"
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. 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 |
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 259 of file SelectionDAGNodes.h.
|
default |
If implicit conversion to SDValue doesn't work, the get() method returns the SDValue.
Definition at line 279 of file SelectionDAGNodes.h.
|
inline |
Get the next SDUse in the use list.
Definition at line 285 of file SelectionDAGNodes.h.
Referenced by llvm::SDNode::use_iterator::operator++().
|
inline |
Convenience function for get().getNode().
Definition at line 288 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 290 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 282 of file SelectionDAGNodes.h.
Referenced by canFoldInAddressingMode(), ExtendUsesToFormExtLoad(), findGlueUse(), llvm::SDNode::use_iterator::getOperandNo(), and llvm::SDNode::use_iterator::operator*().
|
inline |
Convenience function for get().getValueType().
Definition at line 292 of file SelectionDAGNodes.h.
References llvm::SDValue::getValueType().
Normally SDUse will just implicitly convert to an SDValue that it holds.
Definition at line 275 of file SelectionDAGNodes.h.
Convenience function for get().operator!=.
Definition at line 300 of file SelectionDAGNodes.h.
Convenience function for get().operator<.
Definition at line 305 of file SelectionDAGNodes.h.
Convenience function for get().operator==.
Definition at line 295 of file SelectionDAGNodes.h.
|
friend |
Definition at line 313 of file SelectionDAGNodes.h.
|
friend |
Definition at line 311 of file SelectionDAGNodes.h.
|
friend |
Definition at line 310 of file SelectionDAGNodes.h.