https://github.com/halide/Halide
Raw File
Tip revision: e87f0618dc15400f9c4040e606f3bd56fc643692 authored by Andrew Adams on 23 September 2018, 21:40:26 UTC
Merge branch 'master' into compute_at_guard_with_if_goes_on_stack
Tip revision: e87f061
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