Revision 5afe0433a36ab629ee59e0b1f1df293ab0fd818c authored by Steven Johnson on 14 August 2019, 18:45:51 UTC, committed by GitHub on 14 August 2019, 18:45:51 UTC
2 parent s 2576f3d + 14f9fb2
Raw File
LICM.h
#ifndef HALIDE_LICM_H
#define HALIDE_LICM_H

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

#include "IR.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