LLVM  3.7.0
Public Member Functions | Friends | List of all members
llvm::LazyCallGraph::iterator Class Reference

A lazy iterator used for both the entry nodes and child nodes. More...

#include <LazyCallGraph.h>

Inheritance diagram for llvm::LazyCallGraph::iterator:
[legend]
Collaboration diagram for llvm::LazyCallGraph::iterator:
[legend]

Public Member Functions

 iterator ()
 
iteratoroperator++ ()
 
reference operator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< iterator, NodeVectorImplT::iterator, std::forward_iterator_tag, Node >
iterator & operator+= (difference_type n)
 
iterator & operator-= (difference_type n)
 
difference_type operator- (const iterator &RHS) const
 
iterator & operator++ ()
 
iterator & operator-- ()
 
bool operator== (const iterator &RHS) const
 
bool operator< (const iterator &RHS) const
 
Node & operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< iterator, std::forward_iterator_tag, Node, typename std::iterator_traits< NodeVectorImplT::iterator >::difference_type, Node *, Node & >
iterator operator+ (typename std::iterator_traits< NodeVectorImplT::iterator >::difference_typen) const
 
iterator operator- (typename std::iterator_traits< NodeVectorImplT::iterator >::difference_typen) const
 
iterator & operator++ ()
 
iterator operator++ (int)
 
iterator & operator-- ()
 
iterator operator-- (int)
 
bool operator!= (const iterator &RHS) const
 
bool operator> (const iterator &RHS) const
 
bool operator<= (const iterator &RHS) const
 
bool operator>= (const iterator &RHS) const
 
Node * operator-> () const
 
Node & operator[] (typename std::iterator_traits< NodeVectorImplT::iterator >::difference_typen) const
 

Friends

class LazyCallGraph
 
class LazyCallGraph::Node
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< iterator, NodeVectorImplT::iterator, std::forward_iterator_tag, Node >
typedef typename
std::iterator_traits
< NodeVectorImplT::iterator >
::difference_type 
difference_type
 
- Protected Types inherited from llvm::iterator_facade_base< iterator, std::forward_iterator_tag, Node, typename std::iterator_traits< NodeVectorImplT::iterator >::difference_type, Node *, Node & >
enum  
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< iterator, NodeVectorImplT::iterator, std::forward_iterator_tag, Node >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (U &&u, typename std::enable_if< !std::is_base_of< typename std::remove_cv< typename std::remove_reference< U >::type >::type, iterator >::value, int >::type=0)
 
const NodeVectorImplT::iterator & wrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< iterator, NodeVectorImplT::iterator, std::forward_iterator_tag, Node >
NodeVectorImplT::iterator I
 

Detailed Description

A lazy iterator used for both the entry nodes and child nodes.

When this iterator is dereferenced, if not yet available, a function will be scanned for "calls" or uses of functions and its child information will be constructed. All of these results are accumulated and cached in the graph.

Definition at line 116 of file LazyCallGraph.h.

Constructor & Destructor Documentation

llvm::LazyCallGraph::iterator::iterator ( )
inline

Definition at line 134 of file LazyCallGraph.h.

Member Function Documentation

reference llvm::LazyCallGraph::iterator::operator* ( ) const
inline
iterator& llvm::LazyCallGraph::iterator::operator++ ( )
inline

Friends And Related Function Documentation

friend class LazyCallGraph
friend

Definition at line 119 of file LazyCallGraph.h.

friend class LazyCallGraph::Node
friend

Definition at line 120 of file LazyCallGraph.h.


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