https://github.com/halide/Halide
Raw File
Tip revision: f8c10947cb1159162d92c632697271d6450d79d5 authored by Steven Johnson on 12 May 2018, 01:49:24 UTC
Also restructure predicate-store as an if-statement
Tip revision: f8c1094
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