https://github.com/halide/Halide
Raw File
Tip revision: fe3fb36697e774341ddda4e19ccbf78dc47b8a87 authored by Andrew Adams on 20 February 2023, 17:33:09 UTC
Overflow on casts is fine for ints < 32 bits
Tip revision: fe3fb36
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