https://github.com/halide/Halide
Raw File
Tip revision: 26f6457a625b4702913860b138f8d6be5a44187b authored by Andrew Adams on 11 October 2021, 21:03:06 UTC
Merge remote-tracking branch 'origin/master' into abadams/unsigned_demosaic
Tip revision: 26f6457
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