1 /*===---------------------------Vectorize.h --------------------- -*- C -*-===*\
2 |*===----------- Vectorization Transformation Library C Interface ---------===*|
4 |* The LLVM Compiler Infrastructure *|
6 |* This file is distributed under the University of Illinois Open Source *|
7 |* License. See LICENSE.TXT for details. *|
9 |*===----------------------------------------------------------------------===*|
11 |* This header declares the C interface to libLLVMVectorize.a, which *|
12 |* implements various vectorization transformations of the LLVM IR. *|
14 |* Many exotic languages can interoperate with C code but have a harder time *|
15 |* with C++ due to name mangling. So in addition to C, this interface enables *|
16 |* tools written in such languages. *|
18 \*===----------------------------------------------------------------------===*/
20 #ifndef LLVM_C_TRANSFORMS_VECTORIZE_H
21 #define LLVM_C_TRANSFORMS_VECTORIZE_H
23 #include "llvm-c/Core.h"
30 * @defgroup LLVMCTransformsVectorize Vectorization transformations
31 * @ingroup LLVMCTransforms
36 /** See llvm::createBBVectorizePass function. */
37 void LLVMAddBBVectorizePass(LLVMPassManagerRef PM);
45 #endif /* defined(__cplusplus) */