https://github.com/halide/Halide
Raw File
Tip revision: 65bd54b7ced0c318b4f15cee70408224a6b03dca authored by Volodymyr Kysenko on 20 October 2023, 21:13:43 UTC
Format
Tip revision: 65bd54b
SimplifySpecializations.h
#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
back to top