https://github.com/halide/Halide
Raw File
Tip revision: 245ebcf13a6a385df37fbfb7382ae781dcbab6ef authored by Alexander Root on 12 December 2020, 21:42:35 UTC
change StrongestExprNodeType for rewriter
Tip revision: 245ebcf
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