mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-11 12:11:20 +00:00
Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file.
llvm-svn: 179272
This commit is contained in:
parent
877d1576e6
commit
cf2731d0e0
@ -39,6 +39,9 @@ void LLVMAddBBVectorizePass(LLVMPassManagerRef PM);
|
|||||||
/** See llvm::createLoopVectorizePass function. */
|
/** See llvm::createLoopVectorizePass function. */
|
||||||
void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
|
void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
|
||||||
|
|
||||||
|
/** See llvm::createSLPVectorizerPass function. */
|
||||||
|
void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
@ -18,10 +18,11 @@
|
|||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
using namespace dwarf;
|
using namespace dwarf;
|
||||||
|
|
||||||
template <uint8_t AddrSize, uint8_t RefAddrSize>
|
namespace {
|
||||||
struct FixedFormSizes {
|
template <uint8_t AddrSize, uint8_t RefAddrSize> struct FixedFormSizes {
|
||||||
static const uint8_t sizes[];
|
static const uint8_t sizes[];
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
template <uint8_t AddrSize, uint8_t RefAddrSize>
|
template <uint8_t AddrSize, uint8_t RefAddrSize>
|
||||||
const uint8_t FixedFormSizes<AddrSize, RefAddrSize>::sizes[] = {
|
const uint8_t FixedFormSizes<AddrSize, RefAddrSize>::sizes[] = {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//===-- Vectorize.cpp -----------------------------------------------------===//
|
//===-- Vectorize.cpp -----------------------------------------------------===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
@ -43,6 +43,6 @@ void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM) {
|
|||||||
unwrap(PM)->add(createLoopVectorizePass());
|
unwrap(PM)->add(createLoopVectorizePass());
|
||||||
}
|
}
|
||||||
|
|
||||||
void LLVMAddLoopRollerPass(LLVMPassManagerRef PM) {
|
void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM) {
|
||||||
unwrap(PM)->add(createSLPVectorizerPass());
|
unwrap(PM)->add(createSLPVectorizerPass());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user