https://github.com/halide/Halide
Raw File
Tip revision: 1fd83c92b9eda2037772084e5dd14ea02950c299 authored by Pranav Bhandarkar on 10 August 2018, 23:44:17 UTC
Spooky action inside CodeGen_LLVM.cpp
Tip revision: 1fd83c9
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