PurifyIndexMath.h File Reference
#include "Expr.h"

Go to the source code of this file.


 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.


Expr Halide::Internal::purify_index_math (const Expr &)
 Bounds inference and related stages can lift integer bounds expressions out of if statements that guard against those integer expressions doing side-effecty things like dividing or modding by zero. More...

Detailed Description

Removes side-effects in integer math.

Definition in file PurifyIndexMath.h.