mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Start of a pass for recognizing memset and memcpy idioms.
No functionality yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122562 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3fed0d917d
commit
b0db161f5b
@ -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…
x
Reference in New Issue
Block a user