The SCEVLoopAddRecRewriter takes a scalar evolution expression and applies the Map (Loop ‐> SCEV) to all AddRecExprs.
Synopsis
Declared in <llvm/Analysis/ScalarEvolutionExpressions.h>
class SCEVLoopAddRecRewriter
: public SCEVRewriteVisitor<SCEVLoopAddRecRewriter>
Base Classes
Name |
Description |
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. |
Member Functions
Name |
Description |
|
Construct a loop add‐rec rewriter using |
Rewrite |
|
Rewrite an add by rewriting each operand. |
|
Rewrite an add‐recurrence, evaluating it when its loop is mapped. |
|
Return |
|
Return |
|
Rewrite a mul by rewriting each operand. |
|
Rewrite a pointer‐to‐address cast by rewriting its operand. |
|
Rewrite a signed max by rewriting each operand. |
|
Rewrite a signed min by rewriting each operand. |
|
Rewrite a sequential unsigned min by rewriting each operand. |
|
Rewrite a sign‐extend by rewriting its operand. |
|
Rewrite a truncate by rewriting its operand. |
|
Rewrite an unsigned division by rewriting both operands. |
|
Rewrite an unsigned max by rewriting each operand. |
|
Rewrite an unsigned min by rewriting each operand. |
|
Return |
|
Return |
|
Rewrite a zero‐extend by rewriting its operand. |
Static Member Functions
Name |
Description |
Rewrite |
Protected Data Members
Name |
Description |
Memoized rewrite results keyed by the original SCEV. |
|
Scalar evolution used to rebuild rewritten expressions. |
Created with MrDocs