https://github.com/halide/Halide
Raw File
Tip revision: e982e5cf29ad6d8addf675375fcb1bab31d8431c authored by Steven Johnson on 14 March 2019, 02:16:05 UTC
Use invalidate_cache() aggressively in multithreaded tests
Tip revision: e982e5c
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