https://github.com/halide/Halide
Raw File
Tip revision: 4732e14ee6abfe900e0bba34aab39d929c24712e authored by Steven Johnson on 10 May 2019, 00:55:34 UTC
Merge branch 'master' into srj-hvxshift
Tip revision: 4732e14
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 "IR.h"

namespace Halide {
namespace Internal {

/** 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