https://github.com/halide/Halide
Raw File
Tip revision: d7651f4b32f9dbd764f243134001f7554378d62d authored by Steven Johnson on 01 March 2023, 00:29:17 UTC
Backport #7315 and #7380 to release/15.x branch (#7383)
Tip revision: d7651f4
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