Halide
AlignLoads.h
Go to the documentation of this file.
1 #ifndef HALIDE_ALIGN_LOADS_H
2 #define HALIDE_ALIGN_LOADS_H
3 
4 /** \file
5  * Defines a lowering pass that rewrites unaligned loads into
6  * sequences of aligned loads.
7  */
8 #include "Expr.h"
9 
10 namespace Halide {
11 namespace Internal {
12 
13 /** Attempt to rewrite unaligned loads from buffers which are known to
14  * be aligned to instead load aligned vectors that cover the original
15  * load, and then slice the original load out of the aligned
16  * vectors. */
17 Stmt align_loads(const Stmt &s, int alignment);
18 
19 } // namespace Internal
20 } // namespace Halide
21 
22 #endif
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AddAtomicMutex.h:21
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::align_loads
Stmt align_loads(const Stmt &s, int alignment)
Attempt to rewrite unaligned loads from buffers which are known to be aligned to instead load aligned...
Expr.h