LLVM
8.0.1
|
Visit all nodes in the expression tree using worklist traversal. More...
#include "llvm/Analysis/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 491 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 502 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 504 of file ScalarEvolutionExpressions.h.
References llvm::SmallVectorBase::empty(), llvm::SCEVUDivExpr::getLHS(), llvm::SCEVUDivExpr::getRHS(), llvm::SCEV::getSCEVType(), llvm_unreachable, 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 containsConstantInAddMulChain(), IsAvailableOnEntry(), sizeOfSCEV(), and llvm::visitAll().