https://github.com/halide/Halide
Raw File
Tip revision: 4f20718ede9647201aa3a996923425fc905ba1dd authored by Andrew Adams on 05 March 2021, 23:29:40 UTC
Merge remote-tracking branch 'origin/master' into abadams/fix-arm-seg2
Tip revision: 4f20718
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