mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
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
This commit is contained in:
parent
bf53841cfe
commit
acc897a5e1
@ -39,6 +39,9 @@ void LLVMAddBBVectorizePass(LLVMPassManagerRef PM);
|
||||
/** See llvm::createLoopVectorizePass function. */
|
||||
void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createSLPVectorizerPass function. */
|
||||
void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -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[] = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
//===-- Vectorize.cpp -----------------------------------------------------===//
|
||||
//===-- Vectorize.cpp -----------------------------------------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
@ -43,6 +43,6 @@ void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createLoopVectorizePass());
|
||||
}
|
||||
|
||||
void LLVMAddLoopRollerPass(LLVMPassManagerRef PM) {
|
||||
void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createSLPVectorizerPass());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user