Loading...
Searching...
No Matches
SimplifySpecializations.h
Go to the documentation of this file.
#ifndef SIMPLIFY_SPECIALIZATIONS_H
#define SIMPLIFY_SPECIALIZATIONS_H
/** \file
*
* Defines pass that try to simplify the RHS/LHS of a function's definition
* based on its specializations.
*/
#include <map>
#include <string>
#include "Expr.h"
namespace Halide {
namespace Internal {
class Function;
/** Try to simplify the RHS/LHS of a function's definition based on its
* specializations. */
void simplify_specializations(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::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
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19