Class LLVMExecutionEngine

java.lang.Object
org.lwjgl.llvm.LLVMExecutionEngine

public class LLVMExecutionEngine extends Object
  • Method Details

    • LLVMLinkInMCJIT

      public static void LLVMLinkInMCJIT()
      void LLVMLinkInMCJIT(void)
    • LLVMLinkInInterpreter

      public static void LLVMLinkInInterpreter()
      void LLVMLinkInInterpreter(void)
    • LLVMCreateGenericValueOfInt

      public static long LLVMCreateGenericValueOfInt(long Ty, long N, boolean IsSigned)
      LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned)
    • LLVMCreateGenericValueOfPointer

      public static long LLVMCreateGenericValueOfPointer(long P)
      LLVMGenericValueRef LLVMCreateGenericValueOfPointer(void * P)
    • LLVMCreateGenericValueOfFloat

      public static long LLVMCreateGenericValueOfFloat(long Ty, double N)
      LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N)
    • LLVMGenericValueIntWidth

      public static int LLVMGenericValueIntWidth(long GenValRef)
      unsigned int LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef)
    • LLVMGenericValueToInt

      public static long LLVMGenericValueToInt(long GenVal, boolean IsSigned)
      unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenVal, LLVMBool IsSigned)
    • LLVMGenericValueToPointer

      public static long LLVMGenericValueToPointer(long GenVal)
      void * LLVMGenericValueToPointer(LLVMGenericValueRef GenVal)
    • LLVMGenericValueToFloat

      public static double LLVMGenericValueToFloat(long TyRef, long GenVal)
      double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal)
    • LLVMDisposeGenericValue

      public static void LLVMDisposeGenericValue(long GenVal)
      void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal)
    • nLLVMCreateExecutionEngineForModule

      public static int nLLVMCreateExecutionEngineForModule(long OutEE, long M, long OutError)
      LLVMBool LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef * OutEE, LLVMModuleRef M, char ** OutError)
    • LLVMCreateExecutionEngineForModule

      public static boolean LLVMCreateExecutionEngineForModule(PointerBuffer OutEE, long M, PointerBuffer OutError)
      LLVMBool LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef * OutEE, LLVMModuleRef M, char ** OutError)
    • nLLVMCreateInterpreterForModule

      public static int nLLVMCreateInterpreterForModule(long OutInterp, long M, long OutError)
      LLVMBool LLVMCreateInterpreterForModule(LLVMExecutionEngineRef * OutInterp, LLVMModuleRef M, char ** OutError)
    • LLVMCreateInterpreterForModule

      public static boolean LLVMCreateInterpreterForModule(PointerBuffer OutInterp, long M, PointerBuffer OutError)
      LLVMBool LLVMCreateInterpreterForModule(LLVMExecutionEngineRef * OutInterp, LLVMModuleRef M, char ** OutError)
    • nLLVMCreateJITCompilerForModule

      public static int nLLVMCreateJITCompilerForModule(long OutJIT, long M, int OptLevel, long OutError)
      LLVMBool LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef * OutJIT, LLVMModuleRef M, unsigned int OptLevel, char ** OutError)
    • LLVMCreateJITCompilerForModule

      public static boolean LLVMCreateJITCompilerForModule(PointerBuffer OutJIT, long M, int OptLevel, PointerBuffer OutError)
      LLVMBool LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef * OutJIT, LLVMModuleRef M, unsigned int OptLevel, char ** OutError)
    • nLLVMInitializeMCJITCompilerOptions

      public static void nLLVMInitializeMCJITCompilerOptions(long Options, long SizeOfOptions)
      void LLVMInitializeMCJITCompilerOptions(struct LLVMMCJITCompilerOptions * Options, size_t SizeOfOptions)
    • LLVMInitializeMCJITCompilerOptions

      public static void LLVMInitializeMCJITCompilerOptions(LLVMMCJITCompilerOptions.Buffer Options)
      void LLVMInitializeMCJITCompilerOptions(struct LLVMMCJITCompilerOptions * Options, size_t SizeOfOptions)
    • nLLVMCreateMCJITCompilerForModule

      public static int nLLVMCreateMCJITCompilerForModule(long OutJIT, long M, long Options, long SizeOfOptions, long OutError)
      LLVMBool LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef * OutJIT, LLVMModuleRef M, struct LLVMMCJITCompilerOptions * Options, size_t SizeOfOptions, char ** OutError)
    • LLVMCreateMCJITCompilerForModule

      public static boolean LLVMCreateMCJITCompilerForModule(PointerBuffer OutJIT, long M, LLVMMCJITCompilerOptions.Buffer Options, PointerBuffer OutError)
      LLVMBool LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef * OutJIT, LLVMModuleRef M, struct LLVMMCJITCompilerOptions * Options, size_t SizeOfOptions, char ** OutError)
    • LLVMDisposeExecutionEngine

      public static void LLVMDisposeExecutionEngine(long EE)
      void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE)
    • LLVMRunStaticConstructors

      public static void LLVMRunStaticConstructors(long EE)
      void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE)
    • LLVMRunStaticDestructors

      public static void LLVMRunStaticDestructors(long EE)
      void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE)
    • nLLVMRunFunctionAsMain

      public static int nLLVMRunFunctionAsMain(long EE, long F, int ArgC, long ArgV, long EnvP)
      int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned int ArgC, char const * const * ArgV, char const * const * EnvP)
    • LLVMRunFunctionAsMain

      public static int LLVMRunFunctionAsMain(long EE, long F, PointerBuffer ArgV, PointerBuffer EnvP)
      int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned int ArgC, char const * const * ArgV, char const * const * EnvP)
    • nLLVMRunFunction

      public static long nLLVMRunFunction(long EE, long F, int NumArgs, long Args)
      LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned int NumArgs, LLVMGenericValueRef * Args)
    • LLVMRunFunction

      public static long LLVMRunFunction(long EE, long F, PointerBuffer Args)
      LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned int NumArgs, LLVMGenericValueRef * Args)
    • LLVMFreeMachineCodeForFunction

      public static void LLVMFreeMachineCodeForFunction(long EE, long F)
      void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F)
    • LLVMAddModule

      public static void LLVMAddModule(long EE, long M)
      void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M)
    • nLLVMRemoveModule

      public static int nLLVMRemoveModule(long EE, long M, long OutMod, long OutError)
      LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, LLVMModuleRef * OutMod, char ** OutError)
    • LLVMRemoveModule

      public static boolean LLVMRemoveModule(long EE, long M, PointerBuffer OutMod, PointerBuffer OutError)
      LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, LLVMModuleRef * OutMod, char ** OutError)
    • nLLVMFindFunction

      public static int nLLVMFindFunction(long EE, long Name, long OutFn)
      LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, char const * Name, LLVMValueRef * OutFn)
    • LLVMFindFunction

      public static boolean LLVMFindFunction(long EE, ByteBuffer Name, PointerBuffer OutFn)
      LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, char const * Name, LLVMValueRef * OutFn)
    • LLVMFindFunction

      public static boolean LLVMFindFunction(long EE, CharSequence Name, PointerBuffer OutFn)
      LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, char const * Name, LLVMValueRef * OutFn)
    • LLVMRecompileAndRelinkFunction

      public static long LLVMRecompileAndRelinkFunction(long EE, long Fn)
      void * LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn)
    • LLVMGetExecutionEngineTargetData

      public static long LLVMGetExecutionEngineTargetData(long EE)
      LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE)
    • LLVMGetExecutionEngineTargetMachine

      public static long LLVMGetExecutionEngineTargetMachine(long EE)
      LLVMTargetMachineRef LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE)
    • LLVMAddGlobalMapping

      public static void LLVMAddGlobalMapping(long EE, long Global, long Addr)
      void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, void * Addr)
    • LLVMGetPointerToGlobal

      public static long LLVMGetPointerToGlobal(long EE, long Global)
      void * LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global)
    • nLLVMGetGlobalValueAddress

      public static long nLLVMGetGlobalValueAddress(long EE, long Name)
      uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, char const * Name)
    • LLVMGetGlobalValueAddress

      public static long LLVMGetGlobalValueAddress(long EE, ByteBuffer Name)
      uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, char const * Name)
    • LLVMGetGlobalValueAddress

      public static long LLVMGetGlobalValueAddress(long EE, CharSequence Name)
      uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, char const * Name)
    • nLLVMGetFunctionAddress

      public static long nLLVMGetFunctionAddress(long EE, long Name)
      uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, char const * Name)
    • LLVMGetFunctionAddress

      public static long LLVMGetFunctionAddress(long EE, ByteBuffer Name)
      uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, char const * Name)
    • LLVMGetFunctionAddress

      public static long LLVMGetFunctionAddress(long EE, CharSequence Name)
      uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, char const * Name)
    • nLLVMExecutionEngineGetErrMsg

      public static int nLLVMExecutionEngineGetErrMsg(long EE, long OutError)
      LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, char ** OutError)
    • LLVMExecutionEngineGetErrMsg

      public static boolean LLVMExecutionEngineGetErrMsg(long EE, PointerBuffer OutError)
      LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, char ** OutError)
    • nLLVMCreateSimpleMCJITMemoryManager

      public static long nLLVMCreateSimpleMCJITMemoryManager(long Opaque, long AllocateCodeSection, long AllocateDataSection, long FinalizeMemory, long Destroy)
      LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager(void * Opaque, uint8_t * (*) (void *, uintptr_t, unsigned int, unsigned int, char const *) AllocateCodeSection, uint8_t * (*) (void *, uintptr_t, unsigned int, unsigned int, char const *, LLVMBool) AllocateDataSection, LLVMBool (*) (void *, char **) FinalizeMemory, void (*) (void *) Destroy)
    • LLVMCreateSimpleMCJITMemoryManager

      public static long LLVMCreateSimpleMCJITMemoryManager(long Opaque, LLVMMemoryManagerAllocateCodeSectionCallbackI AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallbackI AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallbackI FinalizeMemory, LLVMMemoryManagerDestroyCallbackI Destroy)
      LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager(void * Opaque, uint8_t * (*) (void *, uintptr_t, unsigned int, unsigned int, char const *) AllocateCodeSection, uint8_t * (*) (void *, uintptr_t, unsigned int, unsigned int, char const *, LLVMBool) AllocateDataSection, LLVMBool (*) (void *, char **) FinalizeMemory, void (*) (void *) Destroy)
    • LLVMDisposeMCJITMemoryManager

      public static void LLVMDisposeMCJITMemoryManager(long MM)
      void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM)
    • LLVMCreateGDBRegistrationListener

      public static long LLVMCreateGDBRegistrationListener()
      LLVMJITEventListenerRef LLVMCreateGDBRegistrationListener(void)
    • LLVMCreateIntelJITEventListener

      public static long LLVMCreateIntelJITEventListener()
      LLVMJITEventListenerRef LLVMCreateIntelJITEventListener(void)
    • LLVMCreateOProfileJITEventListener

      public static long LLVMCreateOProfileJITEventListener()
      LLVMJITEventListenerRef LLVMCreateOProfileJITEventListener(void)
    • LLVMCreatePerfJITEventListener

      public static long LLVMCreatePerfJITEventListener()
      LLVMJITEventListenerRef LLVMCreatePerfJITEventListener(void)