LLVM
8.0.1
|
This visitor recursively visits a SCEV expression and re-writes it. More...
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
Public Member Functions | |
SCEVRewriteVisitor (ScalarEvolution &SE) | |
const SCEV * | visit (const SCEV *S) |
const SCEV * | visitConstant (const SCEVConstant *Constant) |
const SCEV * | visitTruncateExpr (const SCEVTruncateExpr *Expr) |
const SCEV * | visitZeroExtendExpr (const SCEVZeroExtendExpr *Expr) |
const SCEV * | visitSignExtendExpr (const SCEVSignExtendExpr *Expr) |
const SCEV * | visitAddExpr (const SCEVAddExpr *Expr) |
const SCEV * | visitMulExpr (const SCEVMulExpr *Expr) |
const SCEV * | visitUDivExpr (const SCEVUDivExpr *Expr) |
const SCEV * | visitAddRecExpr (const SCEVAddRecExpr *Expr) |
const SCEV * | visitSMaxExpr (const SCEVSMaxExpr *Expr) |
const SCEV * | visitUMaxExpr (const SCEVUMaxExpr *Expr) |
const SCEV * | visitUnknown (const SCEVUnknown *Expr) |
const SCEV * | visitCouldNotCompute (const SCEVCouldNotCompute *Expr) |
Public Member Functions inherited from llvm::SCEVVisitor< SC, const SCEV *> | |
const SCEV * | visit (const SCEV *S) |
const SCEV * | visitCouldNotCompute (const SCEVCouldNotCompute *S) |
Protected Attributes | |
ScalarEvolution & | SE |
DenseMap< const SCEV *, const SCEV * > | RewriteResults |
This visitor recursively visits a SCEV expression and re-writes it.
The result from each visit is cached, so it will return the same SCEV for the same input.
Definition at line 577 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 588 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 590 of file ScalarEvolutionExpressions.h.
Referenced by llvm::SCEVParameterRewriter::rewrite(), and llvm::SCEVLoopAddRecRewriter::rewrite().
|
inline |
Definition at line 625 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 652 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 600 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 688 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 635 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 618 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 664 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 604 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 645 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 674 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 684 of file ScalarEvolutionExpressions.h.
|
inline |
Definition at line 611 of file ScalarEvolutionExpressions.h.
|
protected |
Definition at line 585 of file ScalarEvolutionExpressions.h.
|
protected |
Definition at line 579 of file ScalarEvolutionExpressions.h.