https://github.com/halide/Halide
Raw File
Tip revision: accf4a4b06f99b27ae3ae07c4e8fc58ce220d363 authored by Volodymyr Kysenko on 13 May 2021, 17:07:49 UTC
Support Shuffle::extract_element from list of scalars in CodeGen_C
Tip revision: accf4a4
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