From d369f575d7842877d6fbe36dd136f66b4990da93 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 13 Feb 2011 07:43:07 +0000 Subject: refactor some code out into a helper method. llvm-svn: 125451 --- llvm/lib/Transforms/InstCombine/InstCombine.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Transforms/InstCombine/InstCombine.h') 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, -- cgit v1.2.3