LLVM
8.0.1
|
This class provides iterator support for SDUse operands that use a specific SDNode. More...
#include "llvm/CodeGen/SelectionDAGNodes.h"
Public Types | |
using | reference = std::iterator< std::forward_iterator_tag, SDUse, ptrdiff_t >::reference |
using | pointer = std::iterator< std::forward_iterator_tag, SDUse, ptrdiff_t >::pointer |
Public Member Functions | |
use_iterator ()=default | |
use_iterator (const use_iterator &I) | |
bool | operator== (const use_iterator &x) const |
bool | operator!= (const use_iterator &x) const |
bool | atEnd () const |
Return true if this iterator is at the end of uses list. More... | |
use_iterator & | operator++ () |
use_iterator | operator++ (int) |
SDNode * | operator* () const |
Retrieve a pointer to the current user node. More... | |
SDNode * | operator-> () const |
SDUse & | getUse () const |
unsigned | getOperandNo () const |
Retrieve the operand # of this use in its user. More... | |
Friends | |
class | SDNode |
This class provides iterator support for SDUse operands that use a specific SDNode.
Definition at line 735 of file SelectionDAGNodes.h.
using llvm::SDNode::use_iterator::pointer = std::iterator<std::forward_iterator_tag, SDUse, ptrdiff_t>::pointer |
Definition at line 747 of file SelectionDAGNodes.h.
using llvm::SDNode::use_iterator::reference = std::iterator<std::forward_iterator_tag, SDUse, ptrdiff_t>::reference |
Definition at line 745 of file SelectionDAGNodes.h.
|
default |
|
inline |
Definition at line 750 of file SelectionDAGNodes.h.
|
inline |
Return true if this iterator is at the end of uses list.
Definition at line 760 of file SelectionDAGNodes.h.
|
inline |
Retrieve the operand # of this use in its user.
Definition at line 784 of file SelectionDAGNodes.h.
References assert(), and llvm::SDUse::getUser().
Referenced by hasNonFlagsUse().
|
inline |
Definition at line 781 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::ReplaceAllUsesOfValueWith(), and llvm::SelectionDAG::ReplaceAllUsesWith().
|
inline |
Definition at line 755 of file SelectionDAGNodes.h.
References llvm::operator==().
|
inline |
Retrieve a pointer to the current user node.
Definition at line 774 of file SelectionDAGNodes.h.
References assert(), and llvm::SDUse::getUser().
|
inline |
Definition at line 763 of file SelectionDAGNodes.h.
References assert(), and llvm::SDUse::getNext().
|
inline |
Definition at line 769 of file SelectionDAGNodes.h.
|
inline |
Definition at line 779 of file SelectionDAGNodes.h.
References llvm::operator*().
|
inline |
Definition at line 752 of file SelectionDAGNodes.h.
|
friend |
Definition at line 737 of file SelectionDAGNodes.h.