[llvm] r179272 - Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file.
Benjamin Kramer
benny.kra at googlemail.com
Thu Apr 11 04:36:37 PDT 2013
Author: d0k
Date: Thu Apr 11 06:36:36 2013
New Revision: 179272
URL: http://llvm.org/viewvc/llvm-project?rev=179272&view=rev
Log:
Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file.
Modified:
llvm/trunk/include/llvm-c/Transforms/Vectorize.h
llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp
llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp
Modified: llvm/trunk/include/llvm-c/Transforms/Vectorize.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Transforms/Vectorize.h?rev=179272&r1=179271&r2=179272&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Transforms/Vectorize.h (original)
+++ llvm/trunk/include/llvm-c/Transforms/Vectorize.h Thu Apr 11 06:36:36 2013
@@ -39,6 +39,9 @@ void LLVMAddBBVectorizePass(LLVMPassMana
/** See llvm::createLoopVectorizePass function. */
void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
+/** See llvm::createSLPVectorizerPass function. */
+void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM);
+
/**
* @}
*/
Modified: llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp?rev=179272&r1=179271&r2=179272&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp Thu Apr 11 06:36:36 2013
@@ -18,10 +18,11 @@
using namespace llvm;
using namespace dwarf;
-template <uint8_t AddrSize, uint8_t RefAddrSize>
-struct FixedFormSizes {
+namespace {
+template <uint8_t AddrSize, uint8_t RefAddrSize> struct FixedFormSizes {
static const uint8_t sizes[];
};
+}
template <uint8_t AddrSize, uint8_t RefAddrSize>
const uint8_t FixedFormSizes<AddrSize, RefAddrSize>::sizes[] = {
Modified: llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp?rev=179272&r1=179271&r2=179272&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp Thu Apr 11 06:36:36 2013
@@ -1,4 +1,4 @@
- //===-- Vectorize.cpp -----------------------------------------------------===//
+//===-- Vectorize.cpp -----------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -43,6 +43,6 @@ void LLVMAddLoopVectorizePass(LLVMPassMa
unwrap(PM)->add(createLoopVectorizePass());
}
-void LLVMAddLoopRollerPass(LLVMPassManagerRef PM) {
+void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createSLPVectorizerPass());
}
More information about the llvm-commits
mailing list