https://github.com/halide/Halide
Raw File
Tip revision: 54baae34c5bb8dfbec8461434b0cbf3b6a2ca747 authored by Alexander Root on 10 May 2021, 16:13:01 UTC
update with incremental synthesis + general updates
Tip revision: 54baae3
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