LLVM API Documentation
#include <SelectionDAGNodes.h>
Public Types | |
typedef std::iterator < std::forward_iterator_tag, SDUse, ptrdiff_t >::reference | reference |
typedef std::iterator < std::forward_iterator_tag, SDUse, ptrdiff_t >::pointer | pointer |
Public Member Functions | |
use_iterator (const use_iterator &I) | |
use_iterator () | |
bool | operator== (const use_iterator &x) const |
bool | operator!= (const use_iterator &x) const |
bool | atEnd () const |
atEnd - 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 |
Friends | |
class | SDNode |
use_iterator - This class provides iterator support for SDUse operands that use a specific SDNode.
Definition at line 487 of file SelectionDAGNodes.h.
typedef std::iterator<std::forward_iterator_tag, SDUse, ptrdiff_t>::pointer llvm::SDNode::use_iterator::pointer |
Definition at line 497 of file SelectionDAGNodes.h.
typedef std::iterator<std::forward_iterator_tag, SDUse, ptrdiff_t>::reference llvm::SDNode::use_iterator::reference |
Definition at line 495 of file SelectionDAGNodes.h.
llvm::SDNode::use_iterator::use_iterator | ( | const use_iterator & | I | ) | [inline] |
Definition at line 499 of file SelectionDAGNodes.h.
llvm::SDNode::use_iterator::use_iterator | ( | ) | [inline] |
Definition at line 500 of file SelectionDAGNodes.h.
bool llvm::SDNode::use_iterator::atEnd | ( | ) | const [inline] |
atEnd - return true if this iterator is at the end of uses list.
Definition at line 510 of file SelectionDAGNodes.h.
Referenced by usesAllNormalStores().
unsigned llvm::SDNode::use_iterator::getOperandNo | ( | ) | const [inline] |
getOperandNo - Retrieve the operand # of this use in its user.
Definition at line 535 of file SelectionDAGNodes.h.
References llvm::SDUse::getUser().
Referenced by hasNonFlagsUse().
SDUse& llvm::SDNode::use_iterator::getUse | ( | ) | const [inline] |
Definition at line 531 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::ReplaceAllUsesOfValueWith(), and llvm::SelectionDAG::ReplaceAllUsesWith().
bool llvm::SDNode::use_iterator::operator!= | ( | const use_iterator & | x | ) | const [inline] |
Definition at line 505 of file SelectionDAGNodes.h.
References operator==().
SDNode* llvm::SDNode::use_iterator::operator* | ( | ) | const [inline] |
Retrieve a pointer to the current user node.
Definition at line 524 of file SelectionDAGNodes.h.
References llvm::SDUse::getUser().
Referenced by operator->().
use_iterator& llvm::SDNode::use_iterator::operator++ | ( | ) | [inline] |
Definition at line 513 of file SelectionDAGNodes.h.
References llvm::SDUse::getNext().
use_iterator llvm::SDNode::use_iterator::operator++ | ( | int | ) | [inline] |
Definition at line 519 of file SelectionDAGNodes.h.
SDNode* llvm::SDNode::use_iterator::operator-> | ( | ) | const [inline] |
Definition at line 529 of file SelectionDAGNodes.h.
References operator*().
bool llvm::SDNode::use_iterator::operator== | ( | const use_iterator & | x | ) | const [inline] |
Definition at line 502 of file SelectionDAGNodes.h.
Referenced by operator!=().
friend class SDNode [friend] |
Definition at line 492 of file SelectionDAGNodes.h.