https://github.com/halide/Halide
Raw File
Tip revision: b497cf1c42dea81275439041318a59f91b012d64 authored by Andrew Adams on 18 December 2018, 19:03:41 UTC
Enable tests
Tip revision: b497cf1
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 "IR.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(Stmt s);

}  // namespace Internal
}  // namespace Halide

#endif
back to top