1 #ifndef TRIM_NO_OPS_H 2 #define TRIM_NO_OPS_H 3 4 /** \file 5 * Defines a lowering pass that truncates loops to the region over 6 * which they actually do something. 7 */ 8 9 #include "Expr.h" 10 11 namespace Halide { 12 namespace Internal { 13 14 /** Truncate loop bounds to the region over which they actually do 15 * something. For examples see test/correctness/trim_no_ops.cpp */ 16 Stmt trim_no_ops(Stmt s); 17 18 } // namespace Internal 19 } // namespace Halide 20 21 #endif 22