Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
TrimNoOps.h
Go to the documentation of this file.
1#ifndef TRIM_NO_OPS_H
2#define TRIM_NO_OPS_H
3
4/** \file
5 * Defines a lowering pass that truncates loops to the region over
6 * which they actually do something.
7 */
8
9#include "Expr.h"
10
11namespace Halide {
12namespace Internal {
13
14/** Truncate loop bounds to the region over which they actually do
15 * something. For examples see test/correctness/trim_no_ops.cpp */
17
18} // namespace Internal
19} // namespace Halide
20
21#endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt trim_no_ops(Stmt s)
Truncate loop bounds to the region over which they actually do something.
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 reference-counted handle to a statement node.
Definition Expr.h:427