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

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

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

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

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

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

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

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

      public static void LLVMDisposeGenericValue(@NativeType("LLVMGenericValueRef") 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

      @NativeType("LLVMBool") public static boolean LLVMCreateExecutionEngineForModule(@NativeType("LLVMExecutionEngineRef *") PointerBuffer OutEE, @NativeType("LLVMModuleRef") long M, @NativeType("char **") 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

      @NativeType("LLVMBool") public static boolean LLVMCreateInterpreterForModule(@NativeType("LLVMExecutionEngineRef *") PointerBuffer OutInterp, @NativeType("LLVMModuleRef") long M, @NativeType("char **") 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

      @NativeType("LLVMBool") public static boolean LLVMCreateJITCompilerForModule(@NativeType("LLVMExecutionEngineRef *") PointerBuffer OutJIT, @NativeType("LLVMModuleRef") long M, @NativeType("unsigned int") int OptLevel, @NativeType("char **") 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(@NativeType("struct LLVMMCJITCompilerOptions *") 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

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

      public static void LLVMDisposeExecutionEngine(@NativeType("LLVMExecutionEngineRef") long EE)
      void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE)
    • LLVMRunStaticConstructors

      public static void LLVMRunStaticConstructors(@NativeType("LLVMExecutionEngineRef") long EE)
      void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE)
    • LLVMRunStaticDestructors

      public static void LLVMRunStaticDestructors(@NativeType("LLVMExecutionEngineRef") 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(@NativeType("LLVMExecutionEngineRef") long EE, @NativeType("LLVMValueRef") long F, @NativeType("char const * const *") PointerBuffer ArgV, @NativeType("char const * const *") 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

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

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

      public static void LLVMAddModule(@NativeType("LLVMExecutionEngineRef") long EE, @NativeType("LLVMModuleRef") 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

      @NativeType("LLVMBool") public static boolean LLVMRemoveModule(@NativeType("LLVMExecutionEngineRef") long EE, @NativeType("LLVMModuleRef") long M, @NativeType("LLVMModuleRef *") PointerBuffer OutMod, @NativeType("char **") 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

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

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

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

      @NativeType("LLVMTargetDataRef") public static long LLVMGetExecutionEngineTargetData(@NativeType("LLVMExecutionEngineRef") long EE)
      LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE)
    • LLVMGetExecutionEngineTargetMachine

      @NativeType("LLVMTargetMachineRef") public static long LLVMGetExecutionEngineTargetMachine(@NativeType("LLVMExecutionEngineRef") long EE)
      LLVMTargetMachineRef LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE)
    • LLVMAddGlobalMapping

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

      @NativeType("void *") public static long LLVMGetPointerToGlobal(@NativeType("LLVMExecutionEngineRef") long EE, @NativeType("LLVMValueRef") 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

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

      @NativeType("uint64_t") public static long LLVMGetGlobalValueAddress(@NativeType("LLVMExecutionEngineRef") long EE, @NativeType("char const *") 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

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

      @NativeType("uint64_t") public static long LLVMGetFunctionAddress(@NativeType("LLVMExecutionEngineRef") long EE, @NativeType("char const *") 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

      @NativeType("LLVMBool") public static boolean LLVMExecutionEngineGetErrMsg(@NativeType("LLVMExecutionEngineRef") long EE, @NativeType("char **") 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

      @NativeType("LLVMMCJITMemoryManagerRef") public static long LLVMCreateSimpleMCJITMemoryManager(@NativeType("void *") long Opaque, @NativeType("uint8_t * (*) (void *, uintptr_t, unsigned int, unsigned int, char const *)") LLVMMemoryManagerAllocateCodeSectionCallbackI AllocateCodeSection, @NativeType("uint8_t * (*) (void *, uintptr_t, unsigned int, unsigned int, char const *, LLVMBool)") LLVMMemoryManagerAllocateDataSectionCallbackI AllocateDataSection, @NativeType("LLVMBool (*) (void *, char **)") LLVMMemoryManagerFinalizeMemoryCallbackI FinalizeMemory, @NativeType("void (*) (void *)") 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(@NativeType("LLVMMCJITMemoryManagerRef") long MM)
      void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM)
    • LLVMCreateGDBRegistrationListener

      @NativeType("LLVMJITEventListenerRef") public static long LLVMCreateGDBRegistrationListener()
      LLVMJITEventListenerRef LLVMCreateGDBRegistrationListener(void)
    • LLVMCreateIntelJITEventListener

      @NativeType("LLVMJITEventListenerRef") public static long LLVMCreateIntelJITEventListener()
      LLVMJITEventListenerRef LLVMCreateIntelJITEventListener(void)
    • LLVMCreateOProfileJITEventListener

      @NativeType("LLVMJITEventListenerRef") public static long LLVMCreateOProfileJITEventListener()
      LLVMJITEventListenerRef LLVMCreateOProfileJITEventListener(void)
    • LLVMCreatePerfJITEventListener

      @NativeType("LLVMJITEventListenerRef") public static long LLVMCreatePerfJITEventListener()
      LLVMJITEventListenerRef LLVMCreatePerfJITEventListener(void)