https://github.com/halide/Halide
Raw File
Tip revision: d7e1a447c7739ca501fc8c716255dfb67c167c81 authored by Steven Johnson on 27 June 2023, 17:35:38 UTC
Merge branch 'main' into srj/pip-cron
Tip revision: d7e1a44
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