https://github.com/halide/Halide
Raw File
Tip revision: af8d667ad702f84c6433d36a7ed68c5222199107 authored by Aelphy on 06 February 2024, 19:16:31 UTC
[xtensa] Added int32<->float vector reinterprets
Tip revision: af8d667
UnifyDuplicateLets.h
#ifndef HALIDE_UNIFY_DUPLICATE_LETS_H
#define HALIDE_UNIFY_DUPLICATE_LETS_H

/** \file
 * Defines the lowering pass that coalesces redundant let statements
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Find let statements that all define the same value, and make later
 * ones just reuse the symbol names of the earlier ones. */
Stmt unify_duplicate_lets(const Stmt &s);

}  // namespace Internal
}  // namespace Halide

#endif
back to top