Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
SplitTuples.h
Go to the documentation of this file.
1#ifndef HALIDE_SPLIT_TUPLES_H
2#define HALIDE_SPLIT_TUPLES_H
3
4#include "Expr.h"
5#include <map>
6
7/** \file
8 * Defines the lowering pass that breaks up Tuple-valued realization
9 * and productions into several scalar-valued ones. */
10
11 namespace Halide {
12 namespace Internal {
13
14 class Function;
15
16/** Rewrite all tuple-valued Realizations, Provide nodes, and Call
17 * nodes into several scalar-valued ones, so that later lowering
18 * passes only need to think about scalar-valued productions. */
19
20 Stmt split_tuples(const Stmt &s, const std::map<std::string, Function> &env);
21
22} // namespace Internal
23} // namespace Halide
24
25#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::ArgInfoKind::Function
@ Function
Halide::Internal::split_tuples
Stmt split_tuples(const Stmt &s, const std::map< std::string, Function > &env)
Rewrite all tuple-valued Realizations, Provide nodes, and Call nodes into several scalar-valued ones,...
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::cast
Internal::ConstantInterval cast(Type t, const Internal::ConstantInterval &a)
Cast operators for ConstantIntervals.
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427