https://github.com/halide/Halide
Raw File
Tip revision: ae71c3867972308a2f86409d727216c52cb1635c authored by Aelphy on 21 April 2023, 16:48:24 UTC
[xtensa] Fixed a bug in interleave RGB for Q8
Tip revision: ae71c38
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