LLVM  11.0.0git
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
Collaboration diagram for llvm::SCEVParameterRewriter:
Collaboration graph

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 SCEVvisitSMinExpr (const SCEVSMinExpr *Expr)
const SCEVvisitUMinExpr (const SCEVUMinExpr *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 >
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 789 of file ScalarEvolutionExpressions.h.

Constructor & Destructor Documentation

◆ SCEVParameterRewriter()

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

Definition at line 798 of file ScalarEvolutionExpressions.h.

Member Function Documentation

◆ rewrite()

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

Definition at line 791 of file ScalarEvolutionExpressions.h.

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

Referenced by hasHugeExpression().

◆ visitUnknown()

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

Definition at line 801 of file ScalarEvolutionExpressions.h.

References llvm::SCEVUnknown::getValue().

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