mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 13:21:30 +00:00
Start of a pass for recognizing memset and memcpy idioms.
No functionality yet. llvm-svn: 122562
This commit is contained in:
parent
626fccab8b
commit
e210c31646
@ -133,6 +133,7 @@ void initializeLoopSplitterPass(PassRegistry&);
|
||||
void initializeLoopStrengthReducePass(PassRegistry&);
|
||||
void initializeLoopUnrollPass(PassRegistry&);
|
||||
void initializeLoopUnswitchPass(PassRegistry&);
|
||||
void initializeLoopIdiomRecognizePass(PassRegistry&);
|
||||
void initializeLowerAtomicPass(PassRegistry&);
|
||||
void initializeLowerIntrinsicsPass(PassRegistry&);
|
||||
void initializeLowerInvokePass(PassRegistry&);
|
||||
|
@ -90,6 +90,7 @@ namespace {
|
||||
(void) llvm::createLoopStrengthReducePass();
|
||||
(void) llvm::createLoopUnrollPass();
|
||||
(void) llvm::createLoopUnswitchPass();
|
||||
(void) llvm::createLoopIdiomPass();
|
||||
(void) llvm::createLoopRotatePass();
|
||||
(void) llvm::createLowerInvokePass();
|
||||
(void) llvm::createLowerSetJmpPass();
|
||||
|
@ -129,6 +129,12 @@ Pass *createLoopUnrollPass();
|
||||
//
|
||||
Pass *createLoopRotatePass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// LoopIdiom - This pass recognizes and replaces idioms in loops.
|
||||
//
|
||||
Pass *createLoopIdiomPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// PromoteMemoryToRegister - This pass is used to promote memory references to
|
||||
|
@ -12,6 +12,7 @@ add_llvm_library(LLVMScalarOpts
|
||||
JumpThreading.cpp
|
||||
LICM.cpp
|
||||
LoopDeletion.cpp
|
||||
LoopIdiomRecognize.cpp
|
||||
LoopRotation.cpp
|
||||
LoopStrengthReduce.cpp
|
||||
LoopUnrollPass.cpp
|
||||
|
@ -44,6 +44,7 @@ void llvm::initializeScalarOpts(PassRegistry &Registry) {
|
||||
initializeLoopStrengthReducePass(Registry);
|
||||
initializeLoopUnrollPass(Registry);
|
||||
initializeLoopUnswitchPass(Registry);
|
||||
initializeLoopIdiomRecognizePass(Registry);
|
||||
initializeLowerAtomicPass(Registry);
|
||||
initializeMemCpyOptPass(Registry);
|
||||
initializeReassociatePass(Registry);
|
||||
|
Loading…
Reference in New Issue
Block a user