diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-26 19:32:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-26 19:32:44 +0000 |
commit | b0db161f5b85c4a31046d2271d9e270991b53a15 (patch) | |
tree | 1633b486dab1fa6c1671076c12257b1057cf6024 /include/llvm/Transforms | |
parent | 3fed0d917d23f4151cb8d98f122edd3229daf6ab (diff) |
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
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 84690fd740..4d0d3f6901 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -131,6 +131,12 @@ Pass *createLoopRotatePass(); //===----------------------------------------------------------------------===// // +// LoopIdiom - This pass recognizes and replaces idioms in loops. +// +Pass *createLoopIdiomPass(); + +//===----------------------------------------------------------------------===// +// // PromoteMemoryToRegister - This pass is used to promote memory references to // be register references. A simple example of the transformation performed by // this pass is: |