LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::SCEVApplyRewriter Struct Reference

#include <ScalarEvolutionExpressions.h>

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

List of all members.

Public Member Functions

 SCEVApplyRewriter (ScalarEvolution &S, LoopToScevMapT &M)
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)

Static Public Member Functions

static const SCEVrewrite (const SCEV *Scev, LoopToScevMapT &Map, ScalarEvolution &SE)

Detailed Description

The SCEVApplyRewriter takes a scalar evolution expression and applies the Map (Loop -> SCEV) to all AddRecExprs.

Definition at line 735 of file ScalarEvolutionExpressions.h.


Constructor & Destructor Documentation

Definition at line 744 of file ScalarEvolutionExpressions.h.


Member Function Documentation

static const SCEV* llvm::SCEVApplyRewriter::rewrite ( const SCEV Scev,
LoopToScevMapT Map,
ScalarEvolution SE 
) [inline, static]

Definition at line 738 of file ScalarEvolutionExpressions.h.

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

Referenced by llvm::apply().

Definition at line 747 of file ScalarEvolutionExpressions.h.

References llvm::ISD::Constant.

Definition at line 813 of file ScalarEvolutionExpressions.h.


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