diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-01-03 00:25:16 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-01-03 00:25:16 +0000 |
commit | 832f61117d69019376c4aabedd4de3831279e288 (patch) | |
tree | c47be67fe90ab424bf8b7d7e81886dcdb363f968 /include/llvm/Transforms/Scalar.h | |
parent | 67678c8307bca7fa867059669ead579215cda732 (diff) | |
download | llvm-832f61117d69019376c4aabedd4de3831279e288.tar.gz llvm-832f61117d69019376c4aabedd4de3831279e288.tar.bz2 llvm-832f61117d69019376c4aabedd4de3831279e288.tar.xz |
Add a new loop-instsimplify pass, with the intention of replacing the instance
of instcombine that is currently in the middle of the loop pass pipeline. This
commit only checks in the pass; it will hopefully be enabled by default later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Scalar.h')
-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 f494586c59..039e4a2f40 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -119,6 +119,12 @@ Pass *createLoopUnswitchPass(bool OptimizeForSize = false); //===----------------------------------------------------------------------===// // +// LoopInstSimplify - This pass simplifies instructions in a loop's body. +// +Pass *createLoopInstSimplifyPass(); + +//===----------------------------------------------------------------------===// +// // LoopUnroll - This pass is a simple loop unrolling pass. // Pass *createLoopUnrollPass(); |