Loading...
Searching...
No Matches
VectorizeLoops.h
Go to the documentation of this file.
#ifndef HALIDE_VECTORIZE_LOOPS_H
#define HALIDE_VECTORIZE_LOOPS_H
/** \file
* Defines the lowering pass that vectorizes loops marked as such
*/
#include "Expr.h"
#include "Function.h"
#include <map>
namespace Halide {
struct Target;
namespace Internal {
/** Take a statement with for loops marked for vectorization, and turn
* them into single statements that operate on vectors. The loops in
* question must have constant extent.
*/
Stmt vectorize_loops(const Stmt &s, const std::map<std::string, Function> &env);
} // namespace Internal
} // namespace Halide
#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Function.h
Defines the internal representation of a halide function and related classes.
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::vectorize_loops
Stmt vectorize_loops(const Stmt &s, const std::map< std::string, Function > &env)
Take a statement with for loops marked for vectorization, and turn them into single statements that o...
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
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19