https://github.com/halide/Halide
Raw File
Tip revision: 52f1ff007b23517bd7c75e7e197acc286c5c8a75 authored by Steven Johnson on 15 January 2019, 00:15:43 UTC
Bounds: add bitwise or,xor,not to the same case as and, >>, <<
Tip revision: 52f1ff0
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