https://github.com/halide/Halide
Raw File
Tip revision: d10c33c1e64e623e27d5e6b7b0da1ea9941ba164 authored by Derek Gerstmann on 20 June 2023, 18:22:15 UTC
trigger buildbots x2
Tip revision: d10c33c
TrimNoOps.h
#ifndef TRIM_NO_OPS_H
#define TRIM_NO_OPS_H

/** \file
 * Defines a lowering pass that truncates loops to the region over
 * which they actually do something.
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Truncate loop bounds to the region over which they actually do
 * something. For examples see test/correctness/trim_no_ops.cpp */
Stmt trim_no_ops(Stmt s);

}  // namespace Internal
}  // namespace Halide

#endif
back to top