https://github.com/halide/Halide
Raw File
Tip revision: 96a2e1fb519cbc910038f6a64bc760b4a4853ff0 authored by Steven Johnson on 22 August 2022, 18:39:03 UTC
Revert "Handle saturating_cast in compute_expr_cost() (#6947)"
Tip revision: 96a2e1f
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