https://github.com/halide/Halide
Raw File
Tip revision: f38b889a24422eadd49e8afc49a5248a534e1230 authored by Aelphy on 25 April 2023, 22:08:28 UTC
[xtensa] New rewrite rules for narrow_predicate in FindIntrinsics.cpp prevented Optimize to use clamped_dense_ramp. New patterns compensate for that.
Tip revision: f38b889
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