Halide
Substitute.h File Reference
#include <map>
#include "Expr.h"

Go to the source code of this file.

Namespaces

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

Detailed Description

Defines methods for substituting out variables in expressions and statements.

Definition in file Substitute.h.