https://github.com/halide/Halide
Raw File
Tip revision: 46d8e9e0cdae456489f1eddfd6d829956fc3c843 authored by Steven Johnson on 14 February 2018, 23:10:30 UTC
Merge pull request #2750 from halide/srj-llvm
Tip revision: 46d8e9e
VectorizeLoops.h
#ifndef HALIDE_VECTORIZE_LOOPS_H
#define HALIDE_VECTORIZE_LOOPS_H

/** \file
 * Defines the lowering pass that vectorizes loops marked as such
 */

#include "IR.h"
#include "Target.h"

namespace Halide {
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(Stmt s, const Target &t);

}
}

#endif
back to top