]> granicus.if.org Git - llvm/commit
[PM] Port MemCpyOpt to the new PM.
authorSean Silva <chisophugis@gmail.com>
Tue, 14 Jun 2016 02:44:55 +0000 (02:44 +0000)
committerSean Silva <chisophugis@gmail.com>
Tue, 14 Jun 2016 02:44:55 +0000 (02:44 +0000)
commitcf989e53a0ca82ebff12c31655f4efe946e6045c
treef5a20efe76b89152d1093695da271910ebe2b6cd
parent364a6f6bab7db3f8c3017cbda06cc35dd102a29f
[PM] Port MemCpyOpt to the new PM.

The need for all these Lookup* functions is just because of calls to
getAnalysis inside methods (i.e. not at the top level) of the
runOnFunction method. They should be straightforward to clean up when
the old PM is gone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272615 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InitializePasses.h
include/llvm/Transforms/Scalar/MemCpyOptimizer.h [new file with mode: 0644]
lib/LTO/LTOCodeGenerator.cpp
lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
lib/Transforms/Scalar/MemCpyOptimizer.cpp
lib/Transforms/Scalar/Scalar.cpp
test/Transforms/MemCpyOpt/smaller.ll