[vmkit-commits] [vmkit] r73522 - in /vmkit/trunk: include/jnjvm/JnjvmModule.h include/mvm/JIT.h lib/JnJVM/Compiler/JITInfo.cpp lib/JnJVM/Compiler/JavaAOTCompiler.cpp lib/JnJVM/Compiler/JavaJIT.cpp lib/JnJVM/Compiler/JavaJITOpcodes.cpp lib/JnJVM/Compiler/JnjvmModule.cpp lib/JnJVM/Compiler/JnjvmModuleProvider.cpp lib/Mvm/Compiler/JIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Jun 16 11:17:03 PDT 2009


Author: geoffray
Date: Tue Jun 16 13:17:03 2009
New Revision: 73522

URL: http://llvm.org/viewvc/llvm-project?rev=73522&view=rev
Log:
Move to the new LLVM API.

Modified:
    vmkit/trunk/include/jnjvm/JnjvmModule.h
    vmkit/trunk/include/mvm/JIT.h
    vmkit/trunk/lib/JnJVM/Compiler/JITInfo.cpp
    vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp
    vmkit/trunk/lib/JnJVM/Compiler/JavaJIT.cpp
    vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp
    vmkit/trunk/lib/JnJVM/Compiler/JnjvmModule.cpp
    vmkit/trunk/lib/JnJVM/Compiler/JnjvmModuleProvider.cpp
    vmkit/trunk/lib/Mvm/Compiler/JIT.cpp

Modified: vmkit/trunk/include/jnjvm/JnjvmModule.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/jnjvm/JnjvmModule.h?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/include/jnjvm/JnjvmModule.h (original)
+++ vmkit/trunk/include/jnjvm/JnjvmModule.h Tue Jun 16 13:17:03 2009
@@ -58,7 +58,7 @@
   const llvm::Type* llvmType;
   const llvm::Type* llvmTypePtr;
   llvm::Constant* llvmNullConstant;
-  llvm::ConstantInt* logSizeInBytesConstant;
+  llvm::Constant* logSizeInBytesConstant;
   
   static void initialise();
   static std::map<const char, LLVMAssessorInfo> AssessorInfo;
@@ -74,7 +74,7 @@
   Class* classDef;
   /// virtualSizeLLVM - The LLVM constant size of instances of this class.
   ///
-  llvm::ConstantInt* virtualSizeConstant;
+  llvm::Constant* virtualSizeConstant;
   /// virtualType - The LLVM type of instance of this class.
   ///
   const llvm::Type * virtualType;
@@ -100,12 +100,12 @@
   JavaMethod* methodDef;
 
   llvm::Function* methodFunction;
-  llvm::ConstantInt* offsetConstant;
+  llvm::Constant* offsetConstant;
   const llvm::FunctionType* functionType;
   
 public:
   llvm::Function* getMethod();
-  llvm::ConstantInt* getOffset();
+  llvm::Constant* getOffset();
   const llvm::FunctionType* getFunctionType();
     
   LLVMMethodInfo(JavaMethod* M); 
@@ -117,10 +117,10 @@
 private:
   JavaField* fieldDef;
   
-  llvm::ConstantInt* offsetConstant;
+  llvm::Constant* offsetConstant;
 
 public:
-  llvm::ConstantInt* getOffset();
+  llvm::Constant* getOffset();
 
   LLVMFieldInfo(JavaField* F) : 
     fieldDef(F), 
@@ -189,10 +189,10 @@
 class JnjvmModule : public mvm::MvmModule {
 
 public:
-  static llvm::ConstantInt* JavaArraySizeOffsetConstant;
-  static llvm::ConstantInt* JavaArrayElementsOffsetConstant;
-  static llvm::ConstantInt* JavaObjectLockOffsetConstant;
-  static llvm::ConstantInt* JavaObjectVTOffsetConstant;
+  static llvm::Constant* JavaArraySizeOffsetConstant;
+  static llvm::Constant* JavaArrayElementsOffsetConstant;
+  static llvm::Constant* JavaObjectLockOffsetConstant;
+  static llvm::Constant* JavaObjectVTOffsetConstant;
 
   static const llvm::Type* JavaArrayUInt8Type;
   static const llvm::Type* JavaArraySInt8Type;
@@ -301,22 +301,22 @@
   llvm::Function* GetFinalDoubleFieldFunction;
   llvm::Function* GetFinalObjectFieldFunction;
 
-  static llvm::ConstantInt* OffsetObjectSizeInClassConstant;
-  static llvm::ConstantInt* OffsetVTInClassConstant;
-  static llvm::ConstantInt* OffsetTaskClassMirrorInClassConstant;
-  static llvm::ConstantInt* OffsetStaticInstanceInTaskClassMirrorConstant;
-  static llvm::ConstantInt* OffsetInitializedInTaskClassMirrorConstant;
-  static llvm::ConstantInt* OffsetStatusInTaskClassMirrorConstant;
-  
-  static llvm::ConstantInt* OffsetJavaExceptionInThreadConstant;
-  static llvm::ConstantInt* OffsetCXXExceptionInThreadConstant;
-  
-  static llvm::ConstantInt* OffsetClassInVTConstant;
-  static llvm::ConstantInt* OffsetDepthInVTConstant;
-  static llvm::ConstantInt* OffsetDisplayInVTConstant;
-  static llvm::ConstantInt* OffsetBaseClassVTInVTConstant;
+  static llvm::Constant* OffsetObjectSizeInClassConstant;
+  static llvm::Constant* OffsetVTInClassConstant;
+  static llvm::Constant* OffsetTaskClassMirrorInClassConstant;
+  static llvm::Constant* OffsetStaticInstanceInTaskClassMirrorConstant;
+  static llvm::Constant* OffsetInitializedInTaskClassMirrorConstant;
+  static llvm::Constant* OffsetStatusInTaskClassMirrorConstant;
+  
+  static llvm::Constant* OffsetJavaExceptionInThreadConstant;
+  static llvm::Constant* OffsetCXXExceptionInThreadConstant;
+  
+  static llvm::Constant* OffsetClassInVTConstant;
+  static llvm::Constant* OffsetDepthInVTConstant;
+  static llvm::Constant* OffsetDisplayInVTConstant;
+  static llvm::Constant* OffsetBaseClassVTInVTConstant;
   
-  static llvm::ConstantInt* ClassReadyConstant;
+  static llvm::Constant* ClassReadyConstant;
 
   static llvm::Constant*    JavaObjectNullConstant;
   static llvm::Constant*    MaxArraySizeConstant;

Modified: vmkit/trunk/include/mvm/JIT.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/mvm/JIT.h?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/include/mvm/JIT.h (original)
+++ vmkit/trunk/include/mvm/JIT.h Tue Jun 16 13:17:03 2009
@@ -114,50 +114,50 @@
   llvm::Function* llvm_atomic_lcs_ptr;
 
 
-  static llvm::ConstantInt* constantInt8Zero;
-  static llvm::ConstantInt* constantZero;
-  static llvm::ConstantInt* constantOne;
-  static llvm::ConstantInt* constantTwo;
-  static llvm::ConstantInt* constantThree;
-  static llvm::ConstantInt* constantFour;
-  static llvm::ConstantInt* constantFive;
-  static llvm::ConstantInt* constantSix;
-  static llvm::ConstantInt* constantSeven;
-  static llvm::ConstantInt* constantEight;
-  static llvm::ConstantInt* constantMinusOne;
-  static llvm::ConstantInt* constantLongMinusOne;
-  static llvm::ConstantInt* constantLongZero;
-  static llvm::ConstantInt* constantLongOne;
-  static llvm::ConstantInt* constantMinInt;
-  static llvm::ConstantInt* constantMaxInt;
-  static llvm::ConstantInt* constantMinLong;
-  static llvm::ConstantInt* constantMaxLong;
-  static llvm::ConstantFP*  constantFloatZero;
-  static llvm::ConstantFP*  constantFloatOne;
-  static llvm::ConstantFP*  constantFloatTwo;
-  static llvm::ConstantFP*  constantDoubleZero;
-  static llvm::ConstantFP*  constantDoubleOne;
-  static llvm::ConstantFP*  constantMaxIntFloat;
-  static llvm::ConstantFP*  constantMinIntFloat;
-  static llvm::ConstantFP*  constantMinLongFloat;
-  static llvm::ConstantFP*  constantMinLongDouble;
-  static llvm::ConstantFP*  constantMaxLongFloat;
-  static llvm::ConstantFP*  constantMaxIntDouble;
-  static llvm::ConstantFP*  constantMinIntDouble;
-  static llvm::ConstantFP*  constantMaxLongDouble;
-  static llvm::ConstantFP*  constantDoubleInfinity;
-  static llvm::ConstantFP*  constantDoubleMinusInfinity;
-  static llvm::ConstantFP*  constantFloatInfinity;
-  static llvm::ConstantFP*  constantFloatMinusInfinity;
-  static llvm::ConstantFP*  constantFloatMinusZero;
-  static llvm::ConstantFP*  constantDoubleMinusZero;
+  static llvm::Constant* constantInt8Zero;
+  static llvm::Constant* constantZero;
+  static llvm::Constant* constantOne;
+  static llvm::Constant* constantTwo;
+  static llvm::Constant* constantThree;
+  static llvm::Constant* constantFour;
+  static llvm::Constant* constantFive;
+  static llvm::Constant* constantSix;
+  static llvm::Constant* constantSeven;
+  static llvm::Constant* constantEight;
+  static llvm::Constant* constantMinusOne;
+  static llvm::Constant* constantLongMinusOne;
+  static llvm::Constant* constantLongZero;
+  static llvm::Constant* constantLongOne;
+  static llvm::Constant* constantMinInt;
+  static llvm::Constant* constantMaxInt;
+  static llvm::Constant* constantMinLong;
+  static llvm::Constant* constantMaxLong;
+  static llvm::Constant*  constantFloatZero;
+  static llvm::Constant*  constantFloatOne;
+  static llvm::Constant*  constantFloatTwo;
+  static llvm::Constant*  constantDoubleZero;
+  static llvm::Constant*  constantDoubleOne;
+  static llvm::Constant*  constantMaxIntFloat;
+  static llvm::Constant*  constantMinIntFloat;
+  static llvm::Constant*  constantMinLongFloat;
+  static llvm::Constant*  constantMinLongDouble;
+  static llvm::Constant*  constantMaxLongFloat;
+  static llvm::Constant*  constantMaxIntDouble;
+  static llvm::Constant*  constantMinIntDouble;
+  static llvm::Constant*  constantMaxLongDouble;
+  static llvm::Constant*  constantDoubleInfinity;
+  static llvm::Constant*  constantDoubleMinusInfinity;
+  static llvm::Constant*  constantFloatInfinity;
+  static llvm::Constant*  constantFloatMinusInfinity;
+  static llvm::Constant*  constantFloatMinusZero;
+  static llvm::Constant*  constantDoubleMinusZero;
   static llvm::Constant*    constantPtrNull;
-  static llvm::ConstantInt* constantPtrLogSize;
-  static llvm::ConstantInt* constantThreadIDMask;
-  static llvm::ConstantInt* constantStackOverflowMask;
-  static llvm::ConstantInt* constantFatMask;
-  static llvm::ConstantInt* constantPtrOne;
-  static llvm::ConstantInt* constantPtrZero;
+  static llvm::Constant* constantPtrLogSize;
+  static llvm::Constant* constantThreadIDMask;
+  static llvm::Constant* constantStackOverflowMask;
+  static llvm::Constant* constantFatMask;
+  static llvm::Constant* constantPtrOne;
+  static llvm::Constant* constantPtrZero;
   static const llvm::PointerType* ptrType;
   static const llvm::PointerType* ptr32Type;
   static const llvm::PointerType* ptrPtrType;

Modified: vmkit/trunk/lib/JnJVM/Compiler/JITInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JITInfo.cpp?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JITInfo.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JITInfo.cpp Tue Jun 16 13:17:03 2009
@@ -177,7 +177,7 @@
   return functionType;
 }
 
-ConstantInt* LLVMMethodInfo::getOffset() {
+Constant* LLVMMethodInfo::getOffset() {
   if (!offsetConstant) {
     JnjvmClassLoader* JCL = methodDef->classDef->classLoader;
     JavaCompiler* Mod = JCL->getCompiler();
@@ -187,7 +187,7 @@
   return offsetConstant;
 }
 
-ConstantInt* LLVMFieldInfo::getOffset() {
+Constant* LLVMFieldInfo::getOffset() {
   if (!offsetConstant) {
     JnjvmClassLoader* JCL = fieldDef->classDef->classLoader;
     JavaCompiler* Mod = JCL->getCompiler();

Modified: vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp Tue Jun 16 13:17:03 2009
@@ -484,12 +484,12 @@
                                                field.getLongField(obj));
             TempElts.push_back(CI);
           } else if (prim->isFloat()) {
-            ConstantFP* CF = ConstantFP::get(Type::FloatTy,
-                                             field.getFloatField(obj));
+            Constant* CF = ConstantFP::get(Type::FloatTy,
+                                           field.getFloatField(obj));
             TempElts.push_back(CF);
           } else if (prim->isDouble()) {
-            ConstantFP* CF = ConstantFP::get(Type::DoubleTy,
-                                             field.getDoubleField(obj));
+            Constant* CF = ConstantFP::get(Type::DoubleTy,
+                                           field.getDoubleField(obj));
             TempElts.push_back(CF);
           } else {
             abort();

Modified: vmkit/trunk/lib/JnJVM/Compiler/JavaJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JavaJIT.cpp?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JavaJIT.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JavaJIT.cpp Tue Jun 16 13:17:03 2009
@@ -155,7 +155,7 @@
 #endif
   if (meth) {
     LLVMMethodInfo* LMI = TheCompiler->getMethodInfo(meth);
-    ConstantInt* Offset = LMI->getOffset();
+    Constant* Offset = LMI->getOffset();
     indexes2[1] = Offset;
 #ifdef ISOLATE_SHARING
     indexesCtp = ConstantInt::get(Type::Int32Ty,
@@ -1238,7 +1238,7 @@
     const Type* Ty = args[0]->getType();
     if (Ty == Type::Int32Ty) {
       Constant* const_int32_9 = module->constantZero;
-      ConstantInt* const_int32_10 = module->constantMinusOne;
+      Constant* const_int32_10 = module->constantMinusOne;
       BinaryOperator* int32_tmpneg = 
         BinaryOperator::Create(Instruction::Sub, const_int32_9, args[0],
                                "tmpneg", currentBlock);
@@ -1249,7 +1249,7 @@
                                       "abs", currentBlock);
     } else if (Ty == Type::Int64Ty) {
       Constant* const_int64_9 = module->constantLongZero;
-      ConstantInt* const_int64_10 = module->constantLongMinusOne;
+      Constant* const_int64_10 = module->constantLongMinusOne;
       
       BinaryOperator* int64_tmpneg = 
         BinaryOperator::Create(Instruction::Sub, const_int64_9, args[0],

Modified: vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp Tue Jun 16 13:17:03 2009
@@ -1899,7 +1899,7 @@
       case NEWARRAY :
       case ANEWARRAY : {
         
-        ConstantInt* sizeElement = 0;
+        Constant* sizeElement = 0;
         Value* TheVT = 0;
         Value* valCl = 0;
 

Modified: vmkit/trunk/lib/JnJVM/Compiler/JnjvmModule.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JnjvmModule.cpp?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JnjvmModule.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JnjvmModule.cpp Tue Jun 16 13:17:03 2009
@@ -56,28 +56,28 @@
 llvm::Constant*     JnjvmModule::JavaObjectNullConstant;
 llvm::Constant*     JnjvmModule::MaxArraySizeConstant;
 llvm::Constant*     JnjvmModule::JavaArraySizeConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetObjectSizeInClassConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetVTInClassConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetTaskClassMirrorInClassConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetStaticInstanceInTaskClassMirrorConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetStatusInTaskClassMirrorConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetInitializedInTaskClassMirrorConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetJavaExceptionInThreadConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetCXXExceptionInThreadConstant;
-llvm::ConstantInt*  JnjvmModule::ClassReadyConstant;
+llvm::Constant*     JnjvmModule::OffsetObjectSizeInClassConstant;
+llvm::Constant*     JnjvmModule::OffsetVTInClassConstant;
+llvm::Constant*     JnjvmModule::OffsetTaskClassMirrorInClassConstant;
+llvm::Constant*     JnjvmModule::OffsetStaticInstanceInTaskClassMirrorConstant;
+llvm::Constant*     JnjvmModule::OffsetStatusInTaskClassMirrorConstant;
+llvm::Constant*     JnjvmModule::OffsetInitializedInTaskClassMirrorConstant;
+llvm::Constant*     JnjvmModule::OffsetJavaExceptionInThreadConstant;
+llvm::Constant*     JnjvmModule::OffsetCXXExceptionInThreadConstant;
+llvm::Constant*     JnjvmModule::ClassReadyConstant;
 const llvm::Type*   JnjvmModule::JavaClassType;
 const llvm::Type*   JnjvmModule::JavaClassPrimitiveType;
 const llvm::Type*   JnjvmModule::JavaClassArrayType;
 const llvm::Type*   JnjvmModule::JavaCommonClassType;
 const llvm::Type*   JnjvmModule::VTType;
-llvm::ConstantInt*  JnjvmModule::JavaArrayElementsOffsetConstant;
-llvm::ConstantInt*  JnjvmModule::JavaArraySizeOffsetConstant;
-llvm::ConstantInt*  JnjvmModule::JavaObjectLockOffsetConstant;
-llvm::ConstantInt*  JnjvmModule::JavaObjectVTOffsetConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetClassInVTConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetDepthInVTConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetDisplayInVTConstant;
-llvm::ConstantInt*  JnjvmModule::OffsetBaseClassVTInVTConstant;
+llvm::Constant*     JnjvmModule::JavaArrayElementsOffsetConstant;
+llvm::Constant*     JnjvmModule::JavaArraySizeOffsetConstant;
+llvm::Constant*     JnjvmModule::JavaObjectLockOffsetConstant;
+llvm::Constant*     JnjvmModule::JavaObjectVTOffsetConstant;
+llvm::Constant*     JnjvmModule::OffsetClassInVTConstant;
+llvm::Constant*     JnjvmModule::OffsetDepthInVTConstant;
+llvm::Constant*     JnjvmModule::OffsetDisplayInVTConstant;
+llvm::Constant*     JnjvmModule::OffsetBaseClassVTInVTConstant;
 
 
 JavaLLVMCompiler::JavaLLVMCompiler(const std::string& str) :

Modified: vmkit/trunk/lib/JnJVM/Compiler/JnjvmModuleProvider.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JnjvmModuleProvider.cpp?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JnjvmModuleProvider.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JnjvmModuleProvider.cpp Tue Jun 16 13:17:03 2009
@@ -114,7 +114,7 @@
  
   if (isVirtual(meth->access)) {
     LLVMMethodInfo* LMI = JavaLLVMCompiler::getMethodInfo(meth);
-    uint64_t offset = LMI->getOffset()->getZExtValue();
+    uint64_t offset = dyn_cast<ConstantInt>(LMI->getOffset())->getZExtValue();
     assert(meth->classDef->isResolved() && "Class not resolved");
 #if !defined(ISOLATE_SHARING) && !defined(SERVICE)
     assert(meth->classDef->isInitializing() && "Class not ready");

Modified: vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/Compiler/JIT.cpp?rev=73522&r1=73521&r2=73522&view=diff

==============================================================================
--- vmkit/trunk/lib/Mvm/Compiler/JIT.cpp (original)
+++ vmkit/trunk/lib/Mvm/Compiler/JIT.cpp Tue Jun 16 13:17:03 2009
@@ -204,50 +204,50 @@
 }
 
 
-llvm::ConstantInt* MvmModule::constantInt8Zero;
-llvm::ConstantInt* MvmModule::constantZero;
-llvm::ConstantInt* MvmModule::constantOne;
-llvm::ConstantInt* MvmModule::constantTwo;
-llvm::ConstantInt* MvmModule::constantThree;
-llvm::ConstantInt* MvmModule::constantFour;
-llvm::ConstantInt* MvmModule::constantFive;
-llvm::ConstantInt* MvmModule::constantSix;
-llvm::ConstantInt* MvmModule::constantSeven;
-llvm::ConstantInt* MvmModule::constantEight;
-llvm::ConstantInt* MvmModule::constantMinusOne;
-llvm::ConstantInt* MvmModule::constantLongMinusOne;
-llvm::ConstantInt* MvmModule::constantLongZero;
-llvm::ConstantInt* MvmModule::constantLongOne;
-llvm::ConstantInt* MvmModule::constantMinInt;
-llvm::ConstantInt* MvmModule::constantMaxInt;
-llvm::ConstantInt* MvmModule::constantMinLong;
-llvm::ConstantInt* MvmModule::constantMaxLong;
-llvm::ConstantFP*  MvmModule::constantFloatZero;
-llvm::ConstantFP*  MvmModule::constantFloatOne;
-llvm::ConstantFP*  MvmModule::constantFloatTwo;
-llvm::ConstantFP*  MvmModule::constantDoubleZero;
-llvm::ConstantFP*  MvmModule::constantDoubleOne;
-llvm::ConstantFP*  MvmModule::constantMaxIntFloat;
-llvm::ConstantFP*  MvmModule::constantMinIntFloat;
-llvm::ConstantFP*  MvmModule::constantMinLongFloat;
-llvm::ConstantFP*  MvmModule::constantMinLongDouble;
-llvm::ConstantFP*  MvmModule::constantMaxLongFloat;
-llvm::ConstantFP*  MvmModule::constantMaxIntDouble;
-llvm::ConstantFP*  MvmModule::constantMinIntDouble;
-llvm::ConstantFP*  MvmModule::constantMaxLongDouble;
-llvm::ConstantFP*  MvmModule::constantDoubleInfinity;
-llvm::ConstantFP*  MvmModule::constantDoubleMinusInfinity;
-llvm::ConstantFP*  MvmModule::constantFloatInfinity;
-llvm::ConstantFP*  MvmModule::constantFloatMinusInfinity;
-llvm::ConstantFP*  MvmModule::constantFloatMinusZero;
-llvm::ConstantFP*  MvmModule::constantDoubleMinusZero;
+llvm::Constant* MvmModule::constantInt8Zero;
+llvm::Constant* MvmModule::constantZero;
+llvm::Constant* MvmModule::constantOne;
+llvm::Constant* MvmModule::constantTwo;
+llvm::Constant* MvmModule::constantThree;
+llvm::Constant* MvmModule::constantFour;
+llvm::Constant* MvmModule::constantFive;
+llvm::Constant* MvmModule::constantSix;
+llvm::Constant* MvmModule::constantSeven;
+llvm::Constant* MvmModule::constantEight;
+llvm::Constant* MvmModule::constantMinusOne;
+llvm::Constant* MvmModule::constantLongMinusOne;
+llvm::Constant* MvmModule::constantLongZero;
+llvm::Constant* MvmModule::constantLongOne;
+llvm::Constant* MvmModule::constantMinInt;
+llvm::Constant* MvmModule::constantMaxInt;
+llvm::Constant* MvmModule::constantMinLong;
+llvm::Constant* MvmModule::constantMaxLong;
+llvm::Constant*  MvmModule::constantFloatZero;
+llvm::Constant*  MvmModule::constantFloatOne;
+llvm::Constant*  MvmModule::constantFloatTwo;
+llvm::Constant*  MvmModule::constantDoubleZero;
+llvm::Constant*  MvmModule::constantDoubleOne;
+llvm::Constant*  MvmModule::constantMaxIntFloat;
+llvm::Constant*  MvmModule::constantMinIntFloat;
+llvm::Constant*  MvmModule::constantMinLongFloat;
+llvm::Constant*  MvmModule::constantMinLongDouble;
+llvm::Constant*  MvmModule::constantMaxLongFloat;
+llvm::Constant*  MvmModule::constantMaxIntDouble;
+llvm::Constant*  MvmModule::constantMinIntDouble;
+llvm::Constant*  MvmModule::constantMaxLongDouble;
+llvm::Constant*  MvmModule::constantDoubleInfinity;
+llvm::Constant*  MvmModule::constantDoubleMinusInfinity;
+llvm::Constant*  MvmModule::constantFloatInfinity;
+llvm::Constant*  MvmModule::constantFloatMinusInfinity;
+llvm::Constant*  MvmModule::constantFloatMinusZero;
+llvm::Constant*  MvmModule::constantDoubleMinusZero;
 llvm::Constant*    MvmModule::constantPtrNull;
-llvm::ConstantInt* MvmModule::constantPtrLogSize;
-llvm::ConstantInt* MvmModule::constantThreadIDMask;
-llvm::ConstantInt* MvmModule::constantStackOverflowMask;
-llvm::ConstantInt* MvmModule::constantFatMask;
-llvm::ConstantInt* MvmModule::constantPtrOne;
-llvm::ConstantInt* MvmModule::constantPtrZero;
+llvm::Constant* MvmModule::constantPtrLogSize;
+llvm::Constant* MvmModule::constantThreadIDMask;
+llvm::Constant* MvmModule::constantStackOverflowMask;
+llvm::Constant* MvmModule::constantFatMask;
+llvm::Constant* MvmModule::constantPtrOne;
+llvm::Constant* MvmModule::constantPtrZero;
 const llvm::PointerType* MvmModule::ptrType;
 const llvm::PointerType* MvmModule::ptr32Type;
 const llvm::PointerType* MvmModule::ptrPtrType;





More information about the vmkit-commits mailing list