Halide 22.0.0 Halide compiler and libraries

FlattenNestedRamps.h
Go to the documentation of this file.
1#ifndef HALIDE_FLATTEN_NESTED_RAMPS_H
2#define HALIDE_FLATTEN_NESTED_RAMPS_H
3
4/** \file
5 * Defines the lowering pass that flattens nested ramps and broadcasts.
6 * */
7
8#include "IR.h"
9
10 namespace Halide {
11 namespace Internal {
12
13/** Take a statement/expression and replace nested ramps and broadcasts. */
14 Stmt flatten_nested_ramps(const Stmt &s);
15 Expr flatten_nested_ramps(const Expr &e);
16
17} // namespace Internal
18} // namespace Halide
19
20#endif
IR.h
Subtypes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
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::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
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