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 | d369f575d7842877d6fbe36dd136f66b4990da93 (patch) | |
tree | 36b20a4584cf29af2efa2959dabe69e0e9fc8b3f /llvm/lib/Transforms/InstCombine/InstCombine.h | |
parent | 8322c3a19768bdc4f48dc7c206ed30035d9fa755 (diff) | |
download | bcm5719-llvm-d369f575d7842877d6fbe36dd136f66b4990da93.tar.gz bcm5719-llvm-d369f575d7842877d6fbe36dd136f66b4990da93.zip |
refactor some code out into a helper method.
llvm-svn: 125451
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombine.h b/llvm/lib/Transforms/InstCombine/InstCombine.h index 450e7f0a398..9c2969c7ab2 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombine.h +++ b/llvm/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, |