https://github.com/halide/Halide
Raw File
Tip revision: 0eec1e95a0f7bec4a5b9e77f561c6211e2c8f4ef authored by Steven Johnson on 09 September 2022, 18:33:50 UTC
Merge branch 'main' into gpu_canon_fix
Tip revision: 0eec1e9
RebaseLoopsToZero.h
#ifndef HALIDE_REBASE_LOOPS_TO_ZERO_H
#define HALIDE_REBASE_LOOPS_TO_ZERO_H

/** \file
 * Defines the lowering pass that rewrites loop mins to be 0.
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Rewrite the mins of most loops to 0. */
Stmt rebase_loops_to_zero(const Stmt &);

}  // namespace Internal
}  // namespace Halide

#endif
back to top