|
Halide 20.0.0
Halide compiler and libraries
|
Defines methods for substituting out variables in expressions and statements. More...
Go to the source code of this file.
Namespaces | |
| namespace | Halide |
| This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it. | |
| namespace | Halide::Internal |
Functions | |
| Expr | Halide::Internal::substitute (const std::string &name, const Expr &replacement, const Expr &expr) |
| Substitute variables with the given name with the replacement expression within expr. More... | |
| Stmt | Halide::Internal::substitute (const std::string &name, const Expr &replacement, const Stmt &stmt) |
| Substitute variables with the given name with the replacement expression within stmt. More... | |
| Expr | Halide::Internal::substitute (const std::map< std::string, Expr > &replacements, const Expr &expr) |
| Substitute variables with names in the map. More... | |
| Stmt | Halide::Internal::substitute (const std::map< std::string, Expr > &replacements, const Stmt &stmt) |
| Expr | Halide::Internal::substitute (const Expr &find, const Expr &replacement, const Expr &expr) |
| Substitute expressions for other expressions. More... | |
| Stmt | Halide::Internal::substitute (const Expr &find, const Expr &replacement, const Stmt &stmt) |
| template<typename T > | |
| T | Halide::Internal::substitute (const std::map< std::string, Expr > &replacements, const T &container) |
| Substitute a container of Exprs or Stmts out of place. More... | |
| Expr | Halide::Internal::graph_substitute (const std::string &name, const Expr &replacement, const Expr &expr) |
| Substitutions where the IR may be a general graph (and not just a DAG). More... | |
| Stmt | Halide::Internal::graph_substitute (const std::string &name, const Expr &replacement, const Stmt &stmt) |
| Expr | Halide::Internal::graph_substitute (const Expr &find, const Expr &replacement, const Expr &expr) |
| Stmt | Halide::Internal::graph_substitute (const Expr &find, const Expr &replacement, const Stmt &stmt) |
| Expr | Halide::Internal::substitute_in_all_lets (const Expr &expr) |
| Substitute in all let Exprs in a piece of IR. More... | |
| Stmt | Halide::Internal::substitute_in_all_lets (const Stmt &stmt) |
Defines methods for substituting out variables in expressions and statements.
Definition in file Substitute.h.