https://github.com/halide/Halide
Raw File
Tip revision: 92355ea386368d96b16ca89d6dab271b4c511096 authored by Andrew Adams on 04 March 2021, 00:30:10 UTC
Revert unintended change in precision
Tip revision: 92355ea
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