https://github.com/halide/Halide
Raw File
Tip revision: cc613924c7ea913f2bc31debc9f55316fbad40d9 authored by Steven Johnson on 15 April 2020, 17:21:10 UTC
Add HALIDE_STATIC_CONSTEXPR
Tip revision: cc61392
LICM.h
#ifndef HALIDE_LICM_H
#define HALIDE_LICM_H

/** \file
 * Methods for lifting loop invariants out of inner loops.
 */

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Hoist loop-invariants out of inner loops. This is especially
 * important in cases where LLVM would not do it for us
 * automatically. For example, it hoists loop invariants out of cuda
 * kernels. */
Stmt loop_invariant_code_motion(Stmt);

}  // namespace Internal
}  // namespace Halide

#endif
back to top