summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombine.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-13 07:43:07 +0000
committerChris Lattner <sabre@nondot.org>2011-02-13 07:43:07 +0000
commitd369f575d7842877d6fbe36dd136f66b4990da93 (patch)
tree36b20a4584cf29af2efa2959dabe69e0e9fc8b3f /llvm/lib/Transforms/InstCombine/InstCombine.h
parent8322c3a19768bdc4f48dc7c206ed30035d9fa755 (diff)
downloadbcm5719-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.h2
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,
OpenPOWER on IntegriCloud