LLVM 19.0.0git
|
This class provides iterator support for SDUse operands that use a specific SDNode. More...
#include "llvm/CodeGen/SelectionDAGNodes.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = SDUse |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
use_iterator ()=default | |
use_iterator (const use_iterator &I)=default | |
use_iterator & | operator= (const use_iterator &)=default |
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. | |
use_iterator & | operator++ () |
use_iterator | operator++ (int) |
SDNode * | operator* () const |
Retrieve a pointer to the current user node. | |
SDNode * | operator-> () const |
SDUse & | getUse () const |
unsigned | getOperandNo () const |
Retrieve the operand # of this use in its user. | |
Friends | |
class | SDNode |
This class provides iterator support for SDUse operands that use a specific SDNode.
Definition at line 762 of file SelectionDAGNodes.h.
using llvm::SDNode::use_iterator::difference_type = std::ptrdiff_t |
Definition at line 772 of file SelectionDAGNodes.h.
using llvm::SDNode::use_iterator::iterator_category = std::forward_iterator_tag |
Definition at line 770 of file SelectionDAGNodes.h.
Definition at line 773 of file SelectionDAGNodes.h.
Definition at line 774 of file SelectionDAGNodes.h.
Definition at line 771 of file SelectionDAGNodes.h.
|
default |
|
default |
|
inline |
Return true if this iterator is at the end of uses list.
Definition at line 786 of file SelectionDAGNodes.h.
|
inline |
Retrieve the operand # of this use in its user.
Definition at line 810 of file SelectionDAGNodes.h.
References assert().
|
inline |
Definition at line 807 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::ReplaceAllUsesOfValueWith(), and llvm::SelectionDAG::ReplaceAllUsesWith().
|
inline |
Definition at line 781 of file SelectionDAGNodes.h.
References operator==().
|
inline |
Retrieve a pointer to the current user node.
Definition at line 800 of file SelectionDAGNodes.h.
References assert().
Referenced by operator->().
|
inline |
Definition at line 789 of file SelectionDAGNodes.h.
References assert().
|
inline |
Definition at line 795 of file SelectionDAGNodes.h.
|
inline |
Definition at line 805 of file SelectionDAGNodes.h.
References operator*().
|
default |
|
inline |
Definition at line 780 of file SelectionDAGNodes.h.
Referenced by operator!=().
|
friend |
Definition at line 763 of file SelectionDAGNodes.h.