[llvm-commits] [llvm] r73802 - /llvm/trunk/lib/VMCore/ConstantFold.h

Owen Anderson resistor at mac.com
Fri Jun 19 17:26:26 PDT 2009


Author: resistor
Date: Fri Jun 19 19:26:26 2009
New Revision: 73802

URL: http://llvm.org/viewvc/llvm-project?rev=73802&view=rev
Log:
Forgot this file.

Modified:
    llvm/trunk/lib/VMCore/ConstantFold.h

Modified: llvm/trunk/lib/VMCore/ConstantFold.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/ConstantFold.h?rev=73802&r1=73801&r2=73802&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/ConstantFold.h (original)
+++ llvm/trunk/lib/VMCore/ConstantFold.h Fri Jun 19 19:26:26 2009
@@ -28,13 +28,11 @@
   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 @@
                                                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





More information about the llvm-commits mailing list