https://github.com/halide/Halide
Raw File
Tip revision: 9f049d48a60ba2aea2280b718515abbe9c737e65 authored by Steven Johnson on 21 October 2021, 16:51:27 UTC
Update Util.cpp
Tip revision: 9f049d4
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