Halide 22.0.0 Halide compiler and libraries

SlidingWindow.h
Go to the documentation of this file.
1#ifndef HALIDE_SLIDING_WINDOW_H
2#define HALIDE_SLIDING_WINDOW_H
3
4/** \file
5 *
6 * Defines the sliding_window lowering optimization pass, which avoids
7 * computing provably-already-computed values.
8 */
9
10#include <map>
11#include <string>
12
13#include "Expr.h"
14
15 namespace Halide {
16 namespace Internal {
17
18 class Function;
19
20/** Perform sliding window optimizations on a halide
21 * statement. I.e. don't bother computing points in a function that
22 * have provably already been computed by a previous iteration.
23 */
24 Stmt sliding_window(const Stmt &s, const std::map<std::string, Function> &env);
25
26} // namespace Internal
27} // namespace Halide
28
29#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::ArgInfoKind::Function
@ Function
Halide::Internal::sliding_window
Stmt sliding_window(const Stmt &s, const std::map< std::string, Function > &env)
Perform sliding window optimizations on a halide statement.
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