https://github.com/halide/Halide
Raw File
Tip revision: 5a9d2ee41e105b9813cc2f3e4f19682420cf5e19 authored by Andrew Adams on 11 November 2023, 17:14:52 UTC
Merge remote-tracking branch 'origin/main' into abadams/delete_prepare_for_early_exit
Tip revision: 5a9d2ee
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