https://github.com/halide/Halide
Raw File
Tip revision: 8cee0dae7fb134da9f7c81d110f3a773bf302863 authored by Andrew Adams on 23 August 2020, 21:39:07 UTC
Check for duplicate vars in calls to reorder/reorder_storage
Tip revision: 8cee0da
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