Halide
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 
15 namespace Halide {
16 namespace Internal {
17 
18 class Function;
19 
20 /** Try to simplify the RHS/LHS of a function's definition based on its
21  * specializations. */
22 void simplify_specializations(std::map<std::string, Function> &env);
23 
24 } // namespace Internal
25 } // namespace Halide
26 
27 #endif
Halide::Internal::ArgInfoKind::Function
@ Function
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AbstractGenerator.h:19
Halide::Internal::simplify_specializations
void simplify_specializations(std::map< std::string, Function > &env)
Try to simplify the RHS/LHS of a function's definition based on its specializations.
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Expr.h