https://github.com/halide/Halide
Raw File
Tip revision: 404dac588e195418d1fa3d4da5186915a399a3aa authored by Steven Johnson on 20 March 2018, 23:24:38 UTC
WIP
Tip revision: 404dac5
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 "IR.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);

}
}

#endif
back to top