https://github.com/halide/Halide
Raw File
Tip revision: 96305ca867d29b03e53d927d2ef6df05a8692bb3 authored by Steven Johnson on 24 September 2020, 20:00:29 UTC
Merge branch 'master' into vksnk/compute_with_async
Tip revision: 96305ca
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