https://github.com/halide/Halide
Raw File
Tip revision: 2bee115d3dcf3ba713263c5fe31711c0b731e6d1 authored by Steven Johnson on 01 February 2021, 17:59:31 UTC
Merge branch 'master' into abadams/cond_wait_spin
Tip revision: 2bee115
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