https://github.com/halide/Halide
Raw File
Tip revision: 45b767ea12730bec7b08a2a93dfb6bb5e4e80f28 authored by Andrew Adams on 06 September 2023, 21:57:29 UTC
clang-format
Tip revision: 45b767e
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