https://github.com/halide/Halide
Raw File
Tip revision: c8b85d529c7a86b0685cbfd5a08a6ea67e2de5e2 authored by Steven Johnson on 19 February 2019, 20:18:10 UTC
Merge branch 'master' into webassembly
Tip revision: c8b85d5
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