https://github.com/halide/Halide
Raw File
Tip revision: 00fb3c92fd4344e53817d8cf61c42861f1c36757 authored by Patricia Suriana on 11 June 2018, 17:06:57 UTC
Fix bug in prefetch test
Tip revision: 00fb3c9
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