LLVM  14.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 -> SCEV). 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, ValueToSCEVMapTy &M)
 
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 SCEVvisitPtrToIntExpr (const SCEVPtrToIntExpr *Expr)
 
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, ValueToSCEVMapTy &Map)
 

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 -> SCEV).

Definition at line 862 of file ScalarEvolutionExpressions.h.

Constructor & Destructor Documentation

◆ SCEVParameterRewriter()

llvm::SCEVParameterRewriter::SCEVParameterRewriter ( ScalarEvolution SE,
ValueToSCEVMapTy M 
)
inline

Definition at line 870 of file ScalarEvolutionExpressions.h.

References M.

Member Function Documentation

◆ rewrite()

static const SCEV* llvm::SCEVParameterRewriter::rewrite ( const SCEV Scev,
ScalarEvolution SE,
ValueToSCEVMapTy Map 
)
inlinestatic

◆ visitUnknown()

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

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