https://github.com/halide/Halide
Raw File
Tip revision: df01e7ba8f4a0d6a1fe4e8bb4a5c269c7716463c authored by Steven Johnson on 08 November 2022, 00:42:27 UTC
Call cache.clear between internal functions in CG_C
Tip revision: df01e7b
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