https://github.com/halide/Halide
Raw File
Tip revision: 1fd83c92b9eda2037772084e5dd14ea02950c299 authored by Pranav Bhandarkar on 10 August 2018, 23:44:17 UTC
Spooky action inside CodeGen_LLVM.cpp
Tip revision: 1fd83c9
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