https://github.com/halide/Halide
Raw File
Tip revision: 412a0a4e3876021e541e40b6c9139a3b6bfd2c04 authored by Steven Johnson on 08 December 2021, 01:58:10 UTC
Minor tweaks to generate_closure_ir()
Tip revision: 412a0a4
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