LLVM  8.0.1
Public Member Functions | Static Public Member Functions | List of all members
llvm::SCEVParameterRewriter Class Reference

The SCEVParameterRewriter takes a scalar evolution expression and updates the SCEVUnknown components following the Map (Value -> Value). More...

#include "llvm/Analysis/ScalarEvolutionExpressions.h"

Inheritance diagram for llvm::SCEVParameterRewriter:
Inheritance graph
[legend]
Collaboration diagram for llvm::SCEVParameterRewriter:
Collaboration graph
[legend]

Public Member Functions

 SCEVParameterRewriter (ScalarEvolution &SE, ValueToValueMap &M, bool C)
 
const SCEVvisitUnknown (const SCEVUnknown *Expr)
 
- Public Member Functions inherited from llvm::SCEVRewriteVisitor< SCEVParameterRewriter >
 SCEVRewriteVisitor (ScalarEvolution &SE)
 
const SCEVvisit (const SCEV *S)
 
const SCEVvisitConstant (const SCEVConstant *Constant)
 
const SCEVvisitTruncateExpr (const SCEVTruncateExpr *Expr)
 
const SCEVvisitZeroExtendExpr (const SCEVZeroExtendExpr *Expr)
 
const SCEVvisitSignExtendExpr (const SCEVSignExtendExpr *Expr)
 
const SCEVvisitAddExpr (const SCEVAddExpr *Expr)
 
const SCEVvisitMulExpr (const SCEVMulExpr *Expr)
 
const SCEVvisitUDivExpr (const SCEVUDivExpr *Expr)
 
const SCEVvisitAddRecExpr (const SCEVAddRecExpr *Expr)
 
const SCEVvisitSMaxExpr (const SCEVSMaxExpr *Expr)
 
const SCEVvisitUMaxExpr (const SCEVUMaxExpr *Expr)
 
const SCEVvisitUnknown (const SCEVUnknown *Expr)
 
const SCEVvisitCouldNotCompute (const SCEVCouldNotCompute *Expr)
 
- Public Member Functions inherited from llvm::SCEVVisitor< SCEVParameterRewriter, const SCEV *>
const SCEVvisit (const SCEV *S)
 
const SCEVvisitCouldNotCompute (const SCEVCouldNotCompute *S)
 

Static Public Member Functions

static const SCEVrewrite (const SCEV *Scev, ScalarEvolution &SE, ValueToValueMap &Map, bool InterpretConsts=false)
 

Additional Inherited Members

- Protected Attributes inherited from llvm::SCEVRewriteVisitor< SCEVParameterRewriter >
ScalarEvolutionSE
 
DenseMap< const SCEV *, const SCEV *> RewriteResults
 

Detailed Description

The SCEVParameterRewriter takes a scalar evolution expression and updates the SCEVUnknown components following the Map (Value -> Value).

Definition at line 697 of file ScalarEvolutionExpressions.h.

Constructor & Destructor Documentation

◆ SCEVParameterRewriter()

llvm::SCEVParameterRewriter::SCEVParameterRewriter ( ScalarEvolution SE,
ValueToValueMap M,
bool  C 
)
inline

Definition at line 706 of file ScalarEvolutionExpressions.h.

Member Function Documentation

◆ rewrite()

static const SCEV* llvm::SCEVParameterRewriter::rewrite ( const SCEV Scev,
ScalarEvolution SE,
ValueToValueMap Map,
bool  InterpretConsts = false 
)
inlinestatic

Definition at line 699 of file ScalarEvolutionExpressions.h.

References Rewriter, and llvm::SCEVRewriteVisitor< SC >::visit().

Referenced by sizeOfSCEV().

◆ visitUnknown()

const SCEV* llvm::SCEVParameterRewriter::visitUnknown ( const SCEVUnknown Expr)
inline

Definition at line 709 of file ScalarEvolutionExpressions.h.

References llvm::SCEVUnknown::getValue().


The documentation for this class was generated from the following file: