Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
LoopCarry.h
Go to the documentation of this file.
1#ifndef HALIDE_LOOP_CARRY_H
2#define HALIDE_LOOP_CARRY_H
3
4#include "Expr.h"
5
6 namespace Halide {
7 namespace Internal {
8
9/** Reuse loads done on previous loop iterations by stashing them in
10 * induction variables instead of redoing the load. If the loads are
11 * predicated, the predicates need to match. Can be an optimization or
12 * pessimization depending on how good the L1 cache is on the architecture
13 * and how many memory issue slots there are. Currently only intended
14 * for Hexagon. */
15 Stmt loop_carry(Stmt, int max_carried_values = 8);
16
17} // namespace Internal
18} // namespace Halide
19
20#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
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::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::cast
Internal::ConstantInterval cast(Type t, const Internal::ConstantInterval &a)
Cast operators for ConstantIntervals.
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427