Loading...
Searching...
No Matches
FlattenNestedRamps.h
Go to the documentation of this file.
#ifndef HALIDE_FLATTEN_NESTED_RAMPS_H
#define HALIDE_FLATTEN_NESTED_RAMPS_H
/** \file
* Defines the lowering pass that flattens nested ramps and broadcasts.
* */
#include "IR.h"
namespace Halide {
namespace Internal {
/** Take a statement/expression and replace nested ramps and broadcasts. */
Stmt flatten_nested_ramps(const Stmt &s);
Expr flatten_nested_ramps(const Expr &e);
} // namespace Internal
} // namespace Halide
#endif
IR.h
Subtypes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::flatten_nested_ramps
Stmt flatten_nested_ramps(const Stmt &s)
Take a statement/expression and replace nested ramps and broadcasts.
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Expr
A fragment of Halide syntax.
Definition Expr.h:258
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427