LLVM API Documentation

Public Types | Public Member Functions | Friends
llvm::SDNode::use_iterator Class Reference

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::SDNode::use_iterator:
Inheritance graph
[legend]
Collaboration diagram for llvm::SDNode::use_iterator:
Collaboration graph
[legend]

List of all members.

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_iteratoroperator++ ()
use_iterator operator++ (int)
SDNodeoperator* () const
 Retrieve a pointer to the current user node.
SDNodeoperator-> () const
SDUsegetUse () const
unsigned getOperandNo () const

Friends

class SDNode

Detailed Description

use_iterator - This class provides iterator support for SDUse operands that use a specific SDNode.

Definition at line 487 of file SelectionDAGNodes.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

atEnd - return true if this iterator is at the end of uses list.

Definition at line 510 of file SelectionDAGNodes.h.

Referenced by usesAllNormalStores().

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().

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!=().


Friends And Related Function Documentation

friend class SDNode [friend]

Definition at line 492 of file SelectionDAGNodes.h.


The documentation for this class was generated from the following file: