unique_ptrify the result of SpecialCaseList::create
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombine.h
index 9e1cc3cb4d2f6e5c6b03fd180413b6f53b6ad31d..c8ed7c2b5a68f0e6d9c79dee12baafb5fa5f337a 100644 (file)
@@ -152,6 +152,8 @@ public:
   Value *FoldOrOfFCmps(FCmpInst *LHS, FCmpInst *RHS);
   Instruction *FoldOrWithConstants(BinaryOperator &I, Value *Op, Value *A,
                                    Value *B, Value *C);
+  Instruction *FoldXorWithConstants(BinaryOperator &I, Value *Op, Value *A,
+                                    Value *B, Value *C);
   Instruction *visitOr(BinaryOperator &I);
   Instruction *visitXor(BinaryOperator &I);
   Instruction *visitShl(BinaryOperator &I);