https://github.com/halide/Halide
Raw File
Tip revision: c0202215e423a9182da6c6a877223e9a9a5bc7e9 authored by Steven Johnson on 08 December 2022, 22:30:48 UTC
Update qurt_allocator.cpp
Tip revision: c020221
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