https://github.com/halide/Halide
Raw File
Tip revision: e88c5d7c92c42851161566bbb9b32da9f2ab915b authored by Andrew Adams on 11 October 2021, 23:15:44 UTC
FindIntrinsics must be after the last simplification pass
Tip revision: e88c5d7
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