Halide
VectorizeLoops.h
Go to the documentation of this file.
1 #ifndef HALIDE_VECTORIZE_LOOPS_H
2 #define HALIDE_VECTORIZE_LOOPS_H
3 
4 /** \file
5  * Defines the lowering pass that vectorizes loops marked as such
6  */
7 
8 #include "Expr.h"
9 #include "Function.h"
10 #include "Target.h"
11 
12 #include <map>
13 
14 namespace Halide {
15 namespace Internal {
16 
17 /** Take a statement with for loops marked for vectorization, and turn
18  * them into single statements that operate on vectors. The loops in
19  * question must have constant extent.
20  */
21 Stmt vectorize_loops(const Stmt &s, const std::map<std::string, Function> &env, const Target &t);
22 
23 } // namespace Internal
24 } // namespace Halide
25 
26 #endif
Target.h
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::vectorize_loops
Stmt vectorize_loops(const Stmt &s, const std::map< std::string, Function > &env, const Target &t)
Take a statement with for loops marked for vectorization, and turn them into single statements that o...
Expr.h
Function.h