https://github.com/halide/Halide
Raw File
Tip revision: 61d344b6f64f63664f483bb9d1ea5fd87d9d1338 authored by Volodymyr Kysenko on 15 December 2023, 19:15:36 UTC
Fix spelling
Tip revision: 61d344b
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