https://github.com/halide/Halide
Raw File
Tip revision: cc613924c7ea913f2bc31debc9f55316fbad40d9 authored by Steven Johnson on 15 April 2020, 17:21:10 UTC
Add HALIDE_STATIC_CONSTEXPR
Tip revision: cc61392
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 <string>

#include "Expr.h"

namespace Halide {
namespace Internal {

class Function;

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