Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
UnrollLoops.h
Go to the documentation of this file.
1#ifndef HALIDE_UNROLL_LOOPS_H
2#define HALIDE_UNROLL_LOOPS_H
3
4/** \file
5 * Defines the lowering pass that unrolls loops marked as such
6 */
7
8#include "Expr.h"
9
10 namespace Halide {
11 namespace Internal {
12
13/** Take a statement with for loops marked for unrolling, and convert
14 * each into several copies of the innermost statement. I.e. unroll
15 * the loop. */
16 Stmt unroll_loops(const Stmt &);
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::unroll_loops
Stmt unroll_loops(const Stmt &)
Take a statement with for loops marked for unrolling, and convert each into several copies of the inn...
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