LLVM API Documentation
#include <ScalarEvolutionExpressions.h>
Public Member Functions | |
SCEVTraversal (SV &V) | |
void | visitAll (const SCEV *Root) |
Visit all nodes in the expression tree using worklist traversal.
Visitor implements: return true to follow this node. bool follow(const SCEV *S); return true to terminate the search. bool isDone();
Definition at line 574 of file ScalarEvolutionExpressions.h.
llvm::SCEVTraversal< SV >::SCEVTraversal | ( | SV & | V | ) | [inline] |
Definition at line 584 of file ScalarEvolutionExpressions.h.
void llvm::SCEVTraversal< SV >::visitAll | ( | const SCEV * | Root | ) | [inline] |
Definition at line 586 of file ScalarEvolutionExpressions.h.
References llvm::SmallVectorBase::empty(), llvm::SCEVUDivExpr::getLHS(), llvm::SCEVUDivExpr::getRHS(), llvm::SCEV::getSCEVType(), I, llvm_unreachable, llvm::SCEVNAryExpr::op_begin(), llvm::SCEVNAryExpr::op_end(), llvm::SmallVectorImpl< T >::pop_back_val(), llvm::scAddExpr, llvm::scAddRecExpr, llvm::scConstant, llvm::scCouldNotCompute, llvm::scMulExpr, llvm::scSignExtend, llvm::scSMaxExpr, llvm::scTruncate, llvm::scUDivExpr, llvm::scUMaxExpr, llvm::scUnknown, and llvm::scZeroExtend.
Referenced by containsParameters(), containsUndefs(), sizeOfSCEV(), and llvm::visitAll().