https://github.com/halide/Halide
Raw File
Tip revision: 7c4b7d9d1a0a23a4ef9d588adc7e77e533b3ffea authored by Steven Johnson on 01 August 2023, 16:39:31 UTC
clang-tidy
Tip revision: 7c4b7d9
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