Halide
CSE.h File Reference
#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::common_subexpression_elimination (const Expr &, bool lift_all=false)
 Replace each common sub-expression in the argument with a variable, and wrap the resulting expr in a let statement giving a value to that variable. More...
 
Stmt Halide::Internal::common_subexpression_elimination (const Stmt &, bool lift_all=false)
 Do common-subexpression-elimination on each expression in a statement. More...
 
void Halide::Internal::cse_test ()
 

Detailed Description

Defines a pass for introducing let expressions to wrap common sub-expressions.

Definition in file CSE.h.