[#llvm-SCEVTraversal] = xref:llvm.adoc[llvm]::SCEVTraversal :relfileprefix: ../ :mrdocs: Visit all nodes in the expression tree using worklist traversal. == Synopsis Declared in `<llvm/Analysis/ScalarEvolutionExpressions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename SV> class SCEVTraversal; ---- == Description Visitor implements: // return true to follow this node. bool follow(const SCEV *S); // return true to terminate the search. bool isDone(); == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/SCEVTraversal/2constructor.adoc[`SCEVTraversal`] [.small]#[constructor]# | Construct a traversal that notifies `V` for each followed node. | xref:llvm/SCEVTraversal/visitAll.adoc[`visitAll`] | Traverse every reachable SCEV starting at `Root.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#