|
Halide 22.0.0
Halide compiler and libraries
|
A mutator that caches and reapplies previously done mutations so that it can handle graphs of IR that have not had CSE done to them. More...
#include <IRMutator.h>
Public Member Functions | |
| Stmt | mutate (const Stmt &s) override |
| Expr | mutate (const Expr &e) override |
| This is the main interface for using a mutator. | |
| virtual Expr | mutate (const Expr &expr) |
| This is the main interface for using a mutator. | |
| virtual Stmt | mutate (const Stmt &stmt) |
| std::vector< Expr > | mutate (const std::vector< Expr > &exprs) |
Public Member Functions inherited from Halide::Internal::IRMutator | |
| IRMutator ()=default | |
| virtual | ~IRMutator ()=default |
| std::pair< std::vector< Expr >, bool > | mutate_with_changes (const std::vector< Expr > &) |
| std::vector< Expr > | mutate (const std::vector< Expr > &exprs) |
Protected Attributes | |
| std::map< Expr, Expr, ExprCompare > | expr_replacements |
| std::map< Stmt, Stmt, Stmt::Compare > | stmt_replacements |
A mutator that caches and reapplies previously done mutations so that it can handle graphs of IR that have not had CSE done to them.
Definition at line 109 of file IRMutator.h.
Reimplemented from Halide::Internal::IRMutator.
This is the main interface for using a mutator.
Also call these in your subclass to mutate sub-expressions and sub-statements.
Reimplemented from Halide::Internal::IRMutator.
This is the main interface for using a mutator.
Also call these in your subclass to mutate sub-expressions and sub-statements.
Reimplemented from Halide::Internal::IRMutator.
Reimplemented from Halide::Internal::IRMutator.
Definition at line 45 of file IRMutator.h.
|
protected |
Definition at line 111 of file IRMutator.h.
|
protected |
Definition at line 112 of file IRMutator.h.