Halide 22.0.0 Halide compiler and libraries

UnpackBuffers.h
Go to the documentation of this file.
1#ifndef HALIDE_UNPACK_BUFFERS_H
2#define HALIDE_UNPACK_BUFFERS_H
3
4/** \file
5 * Defines the lowering pass that unpacks buffer arguments onto the symbol table
6 */
7
8#include "Expr.h"
9
10 namespace Halide {
11 namespace Internal {
12
13/** Creates let stmts for the various buffer components
14 * (e.g. foo.extent.0) in any referenced concrete buffers or buffer
15 * parameters. After this pass, the only undefined symbols should
16 * scalar parameters and the buffers themselves (e.g. foo.buffer). */
17 Stmt unpack_buffers(Stmt s);
18
19} // namespace Internal
20} // namespace Halide
21
22#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::unpack_buffers
Stmt unpack_buffers(Stmt s)
Creates let stmts for the various buffer components (e.g.
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