https://github.com/halide/Halide
Raw File
Tip revision: 078254fe4ab92be13e1a86e22b8271e564224f82 authored by Dillon Sharlet on 04 May 2021, 21:36:50 UTC
Use memcpy to implement copy_from
Tip revision: 078254f
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