1#ifndef HALIDE_CONSTANT_BOUNDS_H
2#define HALIDE_CONSTANT_BOUNDS_H
30 std::map<Expr, ConstantInterval, ExprCompare> *cache =
nullptr);
Defines the ConstantInterval class, and operators on it.
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Defines the Scope class, which is used for keeping track of names in a scope while traversing IR.
A common pattern when traversing Halide IR is that you need to keep track of stuff when you find a Le...
ConstantInterval constant_integer_bounds(const Expr &e, const Scope< ConstantInterval > &scope=Scope< ConstantInterval >::empty_scope(), std::map< Expr, ConstantInterval, ExprCompare > *cache=nullptr)
Deduce constant integer bounds on an expression.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A fragment of Halide syntax.
A class to represent ranges of integers.