Forgot this file.
authorOwen Anderson <resistor@mac.com>
Sat, 20 Jun 2009 00:26:26 +0000 (00:26 +0000)
committerOwen Anderson <resistor@mac.com>
Sat, 20 Jun 2009 00:26:26 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73802 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/ConstantFold.h

index 66ca8ff31a4160e5e766de511201720f216837c0..49aea11870afb7732d99085f9973e3e366e6edfd 100644 (file)
@@ -28,13 +28,11 @@ namespace llvm {
   Constant *ConstantFoldCastInstruction(
     unsigned opcode,     ///< The opcode of the cast
     const Constant *V,   ///< The source constant
-    const Type *DestTy,   ///< The destination type
-    bool locked = true
+    const Type *DestTy   ///< The destination type
   );
   Constant *ConstantFoldSelectInstruction(const Constant *Cond,
                                           const Constant *V1,
-                                          const Constant *V2,
-                                          bool locked = true);
+                                          const Constant *V2);
   Constant *ConstantFoldExtractElementInstruction(const Constant *Val,
                                                   const Constant *Idx);
   Constant *ConstantFoldInsertElementInstruction(const Constant *Val,
@@ -51,13 +49,12 @@ namespace llvm {
                                                const unsigned* Idxs,
                                                unsigned NumIdx);
   Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
-                                          const Constant *V2,
-                                          bool locked = true);
+                                          const Constant *V2);
   Constant *ConstantFoldCompareInstruction(unsigned short predicate, 
                                            const Constant *C1, 
                                            const Constant *C2);
-  Constant *ConstantFoldGetElementPtr(const Constant *C, Constant* const *Idxs,
-                                      unsigned NumIdx, bool locked = true);
+  Constant *ConstantFoldGetElementPtr(const Constant *C,
+                                      Constant* const *Idxs, unsigned NumIdx);
 } // End llvm namespace
 
 #endif