https://github.com/halide/Halide
Raw File
Tip revision: b2135e1318ab0e278cf43e5e531555f23e89e1c4 authored by Andrew Adams on 21 February 2024, 18:53:54 UTC
Merge remote-tracking branch 'origin/main' into abadams/tweak_unpack_buffers
Tip revision: b2135e1
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