diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-13 07:43:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-13 07:43:07 +0000 |
commit | 74542aa5001fb6ff3d7d0958b5c391cde63df1ca (patch) | |
tree | 7838b95d3dbcddda4f27fb4df45ae03f58d0016d /lib/Transforms/InstCombine/InstCombine.h | |
parent | 8ebaf909580ada88d9952327323ded1e328d0708 (diff) |
refactor some code out into a helper method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r-- | lib/Transforms/InstCombine/InstCombine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/InstCombine/InstCombine.h b/lib/Transforms/InstCombine/InstCombine.h index 450e7f0a39..9c2969c7ab 100644 --- a/lib/Transforms/InstCombine/InstCombine.h +++ b/lib/Transforms/InstCombine/InstCombine.h @@ -145,6 +145,8 @@ public: ConstantInt *RHS); Instruction *FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, ConstantInt *DivRHS); + Instruction *FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *DivI, + ConstantInt *DivRHS); Instruction *FoldICmpAddOpCst(ICmpInst &ICI, Value *X, ConstantInt *CI, ICmpInst::Predicate Pred, Value *TheAdd); Instruction *FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS, |