llvm.org GIT mirror llvm / acc897a
Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179272 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 6 years ago
3 changed file(s) with 8 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
3838 /** See llvm::createLoopVectorizePass function. */
3939 void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
4040
41 /** See llvm::createSLPVectorizerPass function. */
42 void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM);
43
4144 /**
4245 * @}
4346 */
1717 using namespace llvm;
1818 using namespace dwarf;
1919
20 template
21 struct FixedFormSizes {
20 namespace {
21 template struct FixedFormSizes {
2222 static const uint8_t sizes[];
2323 };
24 }
2425
2526 template
2627 const uint8_t FixedFormSizes::sizes[] = {
None //===-- Vectorize.cpp -----------------------------------------------------===//
0 //===-- Vectorize.cpp -----------------------------------------------------===//
11 //
22 // The LLVM Compiler Infrastructure
33 //
4242 unwrap(PM)->add(createLoopVectorizePass());
4343 }
4444
45 void LLVMAddLoopRollerPass(LLVMPassManagerRef PM) {
45 void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM) {
4646 unwrap(PM)->add(createSLPVectorizerPass());
4747 }