Loading...
Searching...
No Matches
LoopCarry.h
Go to the documentation of this file.
#ifndef HALIDE_LOOP_CARRY_H
#define HALIDE_LOOP_CARRY_H
#include "Expr.h"
namespace Halide {
namespace Internal {
/** Reuse loads done on previous loop iterations by stashing them in
* induction variables instead of redoing the load. If the loads are
* predicated, the predicates need to match. Can be an optimization or
* pessimization depending on how good the L1 cache is on the architecture
* and how many memory issue slots there are. Currently only intended
* for Hexagon. */
Stmt loop_carry(Stmt, int max_carried_values = 8);
} // namespace Internal
} // namespace Halide
#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::loop_carry
Stmt loop_carry(Stmt, int max_carried_values=8)
Reuse loads done on previous loop iterations by stashing them in induction variables instead of redoi...
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427