Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
SimplifySpecializations.h
Go to the documentation of this file.
1#ifndef SIMPLIFY_SPECIALIZATIONS_H
2#define SIMPLIFY_SPECIALIZATIONS_H
3
4/** \file
5 *
6 * Defines pass that try to simplify the RHS/LHS of a function's definition
7 * based on its specializations.
8 */
9
10#include <map>
11#include <string>
12
13#include "Expr.h"
14
15namespace Halide {
16namespace Internal {
17
18class Function;
19
20/** Try to simplify the RHS/LHS of a function's definition based on its
21 * specializations. */
22void simplify_specializations(std::map<std::string, Function> &env);
23
24} // namespace Internal
25} // namespace Halide
26
27#endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
void simplify_specializations(std::map< std::string, Function > &env)
Try to simplify the RHS/LHS of a function's definition based on its specializations.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.