Factor a bunch of functionality related to memcpy and memset transforms out of

GVN and into its own pass.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2008-04-09 08:23:16 +00:00
parent 82a66291b0
commit a723d1e48f
13 changed files with 790 additions and 628 deletions

View File

@ -303,6 +303,13 @@ FunctionPass *createGVNPREPass();
//
FunctionPass *createGVNPass();
//===----------------------------------------------------------------------===//
//
// MemCpyOpt - This pass performs optimizations related to eliminating memcpy
// calls and/or combining multiple stores into memset's.
//
FunctionPass *createMemCpyOptPass();
//===----------------------------------------------------------------------===//
//
// CodeGenPrepare - This pass prepares a function for instruction selection.