|
LLVM
4.0.0
|
A post-order depth-first RefSCC iterator over the call graph. More...
#include <LazyCallGraph.h>
Public Member Functions | |
| bool | operator== (const postorder_ref_scc_iterator &Arg) const |
| reference | operator* () const |
| postorder_ref_scc_iterator & | operator++ () |
Public Member Functions inherited from llvm::iterator_facade_base< postorder_ref_scc_iterator, std::forward_iterator_tag, RefSCC > | |
| postorder_ref_scc_iterator | operator+ (std::ptrdiff_tn) const |
| postorder_ref_scc_iterator | operator- (std::ptrdiff_tn) const |
| postorder_ref_scc_iterator & | operator++ () |
| postorder_ref_scc_iterator | operator++ (int) |
| postorder_ref_scc_iterator & | operator-- () |
| postorder_ref_scc_iterator | operator-- (int) |
| bool | operator!= (const postorder_ref_scc_iterator &RHS) const |
| bool | operator> (const postorder_ref_scc_iterator &RHS) const |
| bool | operator<= (const postorder_ref_scc_iterator &RHS) const |
| bool | operator>= (const postorder_ref_scc_iterator &RHS) const |
| RefSCC * | operator-> () const |
| ReferenceProxy | operator[] (std::ptrdiff_tn) const |
Friends | |
| class | LazyCallGraph |
| class | LazyCallGraph::Node |
Additional Inherited Members | |
Protected Types inherited from llvm::iterator_facade_base< postorder_ref_scc_iterator, std::forward_iterator_tag, RefSCC > | |
| enum | |
A post-order depth-first RefSCC iterator over the call graph.
This iterator triggers the Tarjan DFS-based formation of the RefSCC (and SCC) DAG for the call graph, walking it lazily in depth-first post-order. That is, it always visits RefSCCs for the target of a reference edge prior to visiting the RefSCC for a source of the edge (when they are in different RefSCCs).
When forming each RefSCC, the call edges within it are used to form SCCs within it, so iterating this also controls the lazy formation of SCCs.
Definition at line 805 of file LazyCallGraph.h.
|
inline |
Definition at line 842 of file LazyCallGraph.h.
|
inline |
Definition at line 845 of file LazyCallGraph.h.
References assert().
|
inline |
Definition at line 838 of file LazyCallGraph.h.
|
friend |
Definition at line 808 of file LazyCallGraph.h.
|
friend |
Definition at line 809 of file LazyCallGraph.h.
1.8.6