Loading...
Searching...
No Matches
SplitTuples.h
Go to the documentation of this file.
#ifndef HALIDE_SPLIT_TUPLES_H
#define HALIDE_SPLIT_TUPLES_H
#include "Expr.h"
#include <map>
/** \file
* Defines the lowering pass that breaks up Tuple-valued realization
* and productions into several scalar-valued ones. */
namespace Halide {
namespace Internal {
class Function;
/** Rewrite all tuple-valued Realizations, Provide nodes, and Call
* nodes into several scalar-valued ones, so that later lowering
* passes only need to think about scalar-valued productions. */
Stmt split_tuples(const Stmt &s, const std::map<std::string, Function> &env);
} // namespace Internal
} // namespace Halide
#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Halide::Internal::Function
A reference-counted handle to Halide's internal representation of a function.
Definition Function.h:39
Halide::Internal
Definition AbstractGenerator.h:24
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::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427