InstCombine: Fold comparisons between unguessable allocas and other pointers
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombineInternal.h
index 9e58c7428bdb6043b9eea8940725793ed62a701a..79cb5f25dc63f1f2671a11b30403b7882e9be497 100644 (file)
@@ -281,6 +281,7 @@ public:
                                 ICmpInst::Predicate Pred);
   Instruction *FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS,
                            ICmpInst::Predicate Cond, Instruction &I);
+  Instruction *FoldAllocaCmp(ICmpInst &ICI, AllocaInst *Alloca, Value *Other);
   Instruction *FoldShiftByConstant(Value *Op0, Constant *Op1,
                                    BinaryOperator &I);
   Instruction *commonCastTransforms(CastInst &CI);