[libFuzzer] ensure that the dfsan tracing hooks actually run (using -verbosity=3...
[oota-llvm.git] / lib / IR / ConstantFold.h
index a516abe024e5e005cdafce612c62a0aa1336b005..42a9c6ba908a8bb63421280673ba0c066e2a5e75 100644 (file)
@@ -51,6 +51,10 @@ namespace llvm {
                                       ArrayRef<Constant *> Idxs);
   Constant *ConstantFoldGetElementPtr(Constant *C, bool inBounds,
                                       ArrayRef<Value *> Idxs);
+  Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds,
+                                      ArrayRef<Constant *> Idxs);
+  Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds,
+                                      ArrayRef<Value *> Idxs);
 } // End llvm namespace
 
 #endif