Halide 22.0.0 Halide compiler and libraries

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
11 namespace Halide {
12 namespace 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 */
16 Stmt trim_no_ops(Stmt s);
17
18} // namespace Internal
19} // namespace Halide
20
21#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::trim_no_ops
Stmt trim_no_ops(Stmt s)
Truncate loop bounds to the region over which they actually do something.
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::Internal::Stmt
A reference-counted handle to a statement node.
Definition: Expr.h:427