https://github.com/halide/Halide
Raw File
Tip revision: 2c94de21b1ce7da9354150d63065b5e2a28a5336 authored by Aelphy on 01 February 2024, 12:45:29 UTC
[xtensa] added vector load_predicated for f16
Tip revision: 2c94de2
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