https://github.com/halide/Halide
Raw File
Tip revision: 1f4e29f46c531e10c2d4c08c0a75e11210e8769b authored by Volodymyr Kysenko on 25 January 2023, 00:31:13 UTC
[xtensa] Minor DMA improvements
Tip revision: 1f4e29f
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