https://github.com/halide/Halide
Raw File
Tip revision: 6512634130fe91f21916779e78dde245ea88aaec authored by Tzu-Mao Li on 28 October 2019, 15:19:00 UTC
Merge branch 'master' into tzumao-autodiff-boundarycond
Tip revision: 6512634
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);

}  // namespace Internal
}  // namespace Halide

#endif
back to top