https://github.com/halide/Halide
Raw File
Tip revision: 94f022159ba652b70b58dc4f87bdcdd7406a8fa5 authored by Andrew Adams on 28 June 2023, 17:49:42 UTC
Merge remote-tracking branch 'origin/main' into srj/ptr-int-cast
Tip revision: 94f0221
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