| Modifier and Type | Class and Description |
|---|---|
| public static class | LLVMExecutionEngine.
Contains the function pointers loaded from |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static boolean | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static boolean | |
| public static boolean | |
| public static boolean | LLVMCreateMCJITCompilerForModule(PointerBuffer OutJIT, long M, LLVMMCJITCompilerOptions.
Create an MCJIT execution engine for a module, with the given options. |
| public static long | |
| public static long | |
| public static long | LLVMCreateSimpleMCJITMemoryManager(long
an opaque client object to pass back to the callbacks Opaque, LLVMMemoryManagerAllocateCodeSectionCallbackI allocate a block of memory for executable code AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallbackI allocate a block of memory for data AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallbackI set page permissions and flush cache. Return 0 on success, 1 on error. FinalizeMemory, LLVMMemoryManagerDestroyCallbackI Destroy)Create a simple custom MCJIT memory manager. |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | LLVMExecutionEngineGetErrMsg(long EE, PointerBuffer OutError)
Returns true on error, false on success. |
| public static boolean | |
| public static boolean | |
| public static void | |
| public static int | |
| public static double | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static long | |
| public static boolean | |
| public static long | |
| public static int | |
| public static void | |
| public static void | |
| public static int | |
| public static int | |
| public static int | |
| public static int | nLLVMCreateMCJITCompilerForModule(long OutJIT, long M, long Options, long SizeOfOptions, long OutError)
Unsafe version of: |
| public static long | nLLVMCreateSimpleMCJITMemoryManager(long Opaque, long AllocateCodeSection, long AllocateDataSection, long FinalizeMemory, long Destroy)
Unsafe version of: |
| public static int | |
| public static int | |
| public static long | |
| public static long | |
| public static void | |
| public static int | |
| public static long | |
| public static int |
| LLVMExecutionEngine | back to summary |
|---|---|
| protected LLVMExecutionEngine() | |
| LLVMAddGlobalMapping | back to summary |
|---|---|
| public static void LLVMAddGlobalMapping(long EE, long Global, long Addr) | |
| LLVMAddModule | back to summary |
|---|---|
| public static void LLVMAddModule(long EE, long M) | |
| LLVMCreateExecutionEngineForModule | back to summary |
|---|---|
public static boolean LLVMCreateExecutionEngineForModule(PointerBuffer OutEE, long M, PointerBuffer OutError)
| |
| LLVMCreateGDBRegistrationListener | back to summary |
|---|---|
public static long LLVMCreateGDBRegistrationListener()
| |
| LLVMCreateGenericValueOfFloat | back to summary |
|---|---|
public static long LLVMCreateGenericValueOfFloat(long Ty, double N)
| |
| LLVMCreateGenericValueOfInt | back to summary |
|---|---|
public static long LLVMCreateGenericValueOfInt(long Ty, long N, boolean IsSigned)
| |
| LLVMCreateGenericValueOfPointer | back to summary |
|---|---|
public static long LLVMCreateGenericValueOfPointer(long P)
| |
| LLVMCreateIntelJITEventListener | back to summary |
|---|---|
public static long LLVMCreateIntelJITEventListener()
| |
| LLVMCreateInterpreterForModule | back to summary |
|---|---|
public static boolean LLVMCreateInterpreterForModule(PointerBuffer OutInterp, long M, PointerBuffer OutError)
| |
| LLVMCreateJITCompilerForModule | back to summary |
|---|---|
public static boolean LLVMCreateJITCompilerForModule(PointerBuffer OutJIT, long M, int OptLevel, PointerBuffer OutError)
| |
| LLVMCreateMCJITCompilerForModule | back to summary |
|---|---|
| public static boolean LLVMCreateMCJITCompilerForModule(PointerBuffer OutJIT, long M, LLVMMCJITCompilerOptions. Create an MCJIT execution engine for a module, with the given options. It is the responsibility of the caller to ensure that all fields in
Note that this is also correct, though possibly suboptimal:
| |
| LLVMCreateOProfileJITEventListener | back to summary |
|---|---|
public static long LLVMCreateOProfileJITEventListener()
| |
| LLVMCreatePerfJITEventListener | back to summary |
|---|---|
public static long LLVMCreatePerfJITEventListener()
| |
| LLVMCreateSimpleMCJITMemoryManager | back to summary |
|---|---|
| public static long LLVMCreateSimpleMCJITMemoryManager(long Opaque, LLVMMemoryManagerAllocateCodeSectionCallbackI AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallbackI AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallbackI FinalizeMemory, LLVMMemoryManagerDestroyCallbackI Destroy) Create a simple custom MCJIT memory manager. This memory manager can intercept allocations in a module-oblivious way. This will return
| |
| LLVMDisposeExecutionEngine | back to summary |
|---|---|
| public static void LLVMDisposeExecutionEngine(long EE) | |
| LLVMDisposeGenericValue | back to summary |
|---|---|
| public static void LLVMDisposeGenericValue(long GenVal) | |
| LLVMDisposeMCJITMemoryManager | back to summary |
|---|---|
| public static void LLVMDisposeMCJITMemoryManager(long MM) | |
| LLVMExecutionEngineGetErrMsg | back to summary |
|---|---|
| public static boolean LLVMExecutionEngineGetErrMsg(long EE, PointerBuffer OutError) Returns true on error, false on success. If true is returned then the error message is copied to
| |
| LLVMFindFunction | back to summary |
|---|---|
public static boolean LLVMFindFunction(long EE, ByteBuffer Name, PointerBuffer OutFn)
| |
| LLVMFindFunction | back to summary |
|---|---|
public static boolean LLVMFindFunction(long EE, CharSequence Name, PointerBuffer OutFn)
| |
| LLVMFreeMachineCodeForFunction | back to summary |
|---|---|
| public static void LLVMFreeMachineCodeForFunction(long EE, long F) | |
| LLVMGenericValueIntWidth | back to summary |
|---|---|
public static int LLVMGenericValueIntWidth(long GenValRef)
| |
| LLVMGenericValueToFloat | back to summary |
|---|---|
| public static double LLVMGenericValueToFloat(long TyRef, long GenVal) | |
| LLVMGenericValueToInt | back to summary |
|---|---|
public static long LLVMGenericValueToInt(long GenVal, boolean IsSigned)
| |
| LLVMGenericValueToPointer | back to summary |
|---|---|
public static long LLVMGenericValueToPointer(long GenVal)
| |
| LLVMGetExecutionEngineTargetData | back to summary |
|---|---|
public static long LLVMGetExecutionEngineTargetData(long EE)
| |
| LLVMGetExecutionEngineTargetMachine | back to summary |
|---|---|
public static long LLVMGetExecutionEngineTargetMachine(long EE)
| |
| LLVMGetFunctionAddress | back to summary |
|---|---|
public static long LLVMGetFunctionAddress(long EE, ByteBuffer Name)
| |
| LLVMGetFunctionAddress | back to summary |
|---|---|
public static long LLVMGetFunctionAddress(long EE, CharSequence Name)
| |
| LLVMGetGlobalValueAddress | back to summary |
|---|---|
public static long LLVMGetGlobalValueAddress(long EE, ByteBuffer Name)
| |
| LLVMGetGlobalValueAddress | back to summary |
|---|---|
public static long LLVMGetGlobalValueAddress(long EE, CharSequence Name)
| |
| LLVMGetPointerToGlobal | back to summary |
|---|---|
public static long LLVMGetPointerToGlobal(long EE, long Global)
| |
| LLVMInitializeMCJITCompilerOptions | back to summary |
|---|---|
| public static void LLVMInitializeMCJITCompilerOptions(LLVMMCJITCompilerOptions. | |
| LLVMLinkInInterpreter | back to summary |
|---|---|
| public static void LLVMLinkInInterpreter() | |
| LLVMLinkInMCJIT | back to summary |
|---|---|
| public static void LLVMLinkInMCJIT() | |
| LLVMRecompileAndRelinkFunction | back to summary |
|---|---|
public static long LLVMRecompileAndRelinkFunction(long EE, long Fn)
| |
| LLVMRemoveModule | back to summary |
|---|---|
public static boolean LLVMRemoveModule(long EE, long M, PointerBuffer OutMod, PointerBuffer OutError)
| |
| LLVMRunFunction | back to summary |
|---|---|
public static long LLVMRunFunction(long EE, long F, PointerBuffer Args)
| |
| LLVMRunFunctionAsMain | back to summary |
|---|---|
| public static int LLVMRunFunctionAsMain(long EE, long F, PointerBuffer ArgV, PointerBuffer EnvP) | |
| LLVMRunStaticConstructors | back to summary |
|---|---|
| public static void LLVMRunStaticConstructors(long EE) | |
| LLVMRunStaticDestructors | back to summary |
|---|---|
| public static void LLVMRunStaticDestructors(long EE) | |
| nLLVMCreateExecutionEngineForModule | back to summary |
|---|---|
| public static int nLLVMCreateExecutionEngineForModule(long OutEE, long M, long OutError) | |
| nLLVMCreateInterpreterForModule | back to summary |
|---|---|
| public static int nLLVMCreateInterpreterForModule(long OutInterp, long M, long OutError) | |
| nLLVMCreateJITCompilerForModule | back to summary |
|---|---|
| public static int nLLVMCreateJITCompilerForModule(long OutJIT, long M, int OptLevel, long OutError) | |
| nLLVMCreateMCJITCompilerForModule | back to summary |
|---|---|
| public static int nLLVMCreateMCJITCompilerForModule(long OutJIT, long M, long Options, long SizeOfOptions, long OutError) Unsafe version of: | |
| nLLVMCreateSimpleMCJITMemoryManager | back to summary |
|---|---|
| public static long nLLVMCreateSimpleMCJITMemoryManager(long Opaque, long AllocateCodeSection, long AllocateDataSection, long FinalizeMemory, long Destroy) Unsafe version of: | |
| nLLVMExecutionEngineGetErrMsg | back to summary |
|---|---|
| public static int nLLVMExecutionEngineGetErrMsg(long EE, long OutError) Unsafe version of: | |
| nLLVMFindFunction | back to summary |
|---|---|
| public static int nLLVMFindFunction(long EE, long Name, long OutFn) | |
| nLLVMGetFunctionAddress | back to summary |
|---|---|
| public static long nLLVMGetFunctionAddress(long EE, long Name) | |
| nLLVMGetGlobalValueAddress | back to summary |
|---|---|
| public static long nLLVMGetGlobalValueAddress(long EE, long Name) | |
| nLLVMInitializeMCJITCompilerOptions | back to summary |
|---|---|
| public static void nLLVMInitializeMCJITCompilerOptions(long Options, long SizeOfOptions) | |
| nLLVMRemoveModule | back to summary |
|---|---|
| public static int nLLVMRemoveModule(long EE, long M, long OutMod, long OutError) | |
| nLLVMRunFunction | back to summary |
|---|---|
| public static long nLLVMRunFunction(long EE, long F, int NumArgs, long Args) | |
| nLLVMRunFunctionAsMain | back to summary |
|---|---|
| public static int nLLVMRunFunctionAsMain(long EE, long F, int ArgC, long ArgV, long EnvP) | |
LLVMCore.getLibrary().
| Modifier and Type | Field and Description |
|---|---|
| public static final long | AddGlobalMapping
Function address. |
| public static final long | AddModule
Function address. |
| public static final long | CreateExecutionEngineForModule
Function address. |
| public static final long | CreateGDBRegistrationListener
Function address. |
| public static final long | CreateGenericValueOfFloat
Function address. |
| public static final long | CreateGenericValueOfInt
Function address. |
| public static final long | CreateGenericValueOfPointer
Function address. |
| public static final long | CreateIntelJITEventListener
Function address. |
| public static final long | CreateInterpreterForModule
Function address. |
| public static final long | CreateJITCompilerForModule
Function address. |
| public static final long | CreateMCJITCompilerForModule
Function address. |
| public static final long | CreateOProfileJITEventListener
Function address. |
| public static final long | CreatePerfJITEventListener
Function address. |
| public static final long | CreateSimpleMCJITMemoryManager
Function address. |
| public static final long | DisposeExecutionEngine
Function address. |
| public static final long | DisposeGenericValue
Function address. |
| public static final long | DisposeMCJITMemoryManager
Function address. |
| public static final long | ExecutionEngineGetErrMsg
Function address. |
| public static final long | FindFunction
Function address. |
| public static final long | FreeMachineCodeForFunction
Function address. |
| public static final long | GenericValueIntWidth
Function address. |
| public static final long | GenericValueToFloat
Function address. |
| public static final long | GenericValueToInt
Function address. |
| public static final long | GenericValueToPointer
Function address. |
| public static final long | GetExecutionEngineTargetData
Function address. |
| public static final long | GetExecutionEngineTargetMachine
Function address. |
| public static final long | GetFunctionAddress
Function address. |
| public static final long | GetGlobalValueAddress
Function address. |
| public static final long | GetPointerToGlobal
Function address. |
| public static final long | InitializeMCJITCompilerOptions
Function address. |
| public static final long | LinkInInterpreter
Function address. |
| public static final long | LinkInMCJIT
Function address. |
| public static final long | RecompileAndRelinkFunction
Function address. |
| public static final long | RemoveModule
Function address. |
| public static final long | RunFunction
Function address. |
| public static final long | RunFunctionAsMain
Function address. |
| public static final long | RunStaticConstructors
Function address. |
| public static final long | RunStaticDestructors
Function address. |
| Access | Constructor and Description |
|---|---|
| private |
| AddGlobalMapping | back to summary |
|---|---|
| public static final long AddGlobalMapping Function address. | |
| AddModule | back to summary |
|---|---|
| public static final long AddModule Function address. | |
| CreateExecutionEngineForModule | back to summary |
|---|---|
| public static final long CreateExecutionEngineForModule Function address. | |
| CreateGDBRegistrationListener | back to summary |
|---|---|
| public static final long CreateGDBRegistrationListener Function address. | |
| CreateGenericValueOfFloat | back to summary |
|---|---|
| public static final long CreateGenericValueOfFloat Function address. | |
| CreateGenericValueOfInt | back to summary |
|---|---|
| public static final long CreateGenericValueOfInt Function address. | |
| CreateGenericValueOfPointer | back to summary |
|---|---|
| public static final long CreateGenericValueOfPointer Function address. | |
| CreateIntelJITEventListener | back to summary |
|---|---|
| public static final long CreateIntelJITEventListener Function address. | |
| CreateInterpreterForModule | back to summary |
|---|---|
| public static final long CreateInterpreterForModule Function address. | |
| CreateJITCompilerForModule | back to summary |
|---|---|
| public static final long CreateJITCompilerForModule Function address. | |
| CreateMCJITCompilerForModule | back to summary |
|---|---|
| public static final long CreateMCJITCompilerForModule Function address. | |
| CreateOProfileJITEventListener | back to summary |
|---|---|
| public static final long CreateOProfileJITEventListener Function address. | |
| CreatePerfJITEventListener | back to summary |
|---|---|
| public static final long CreatePerfJITEventListener Function address. | |
| CreateSimpleMCJITMemoryManager | back to summary |
|---|---|
| public static final long CreateSimpleMCJITMemoryManager Function address. | |
| DisposeExecutionEngine | back to summary |
|---|---|
| public static final long DisposeExecutionEngine Function address. | |
| DisposeGenericValue | back to summary |
|---|---|
| public static final long DisposeGenericValue Function address. | |
| DisposeMCJITMemoryManager | back to summary |
|---|---|
| public static final long DisposeMCJITMemoryManager Function address. | |
| ExecutionEngineGetErrMsg | back to summary |
|---|---|
| public static final long ExecutionEngineGetErrMsg Function address. | |
| FindFunction | back to summary |
|---|---|
| public static final long FindFunction Function address. | |
| FreeMachineCodeForFunction | back to summary |
|---|---|
| public static final long FreeMachineCodeForFunction Function address. | |
| GenericValueIntWidth | back to summary |
|---|---|
| public static final long GenericValueIntWidth Function address. | |
| GenericValueToFloat | back to summary |
|---|---|
| public static final long GenericValueToFloat Function address. | |
| GenericValueToInt | back to summary |
|---|---|
| public static final long GenericValueToInt Function address. | |
| GenericValueToPointer | back to summary |
|---|---|
| public static final long GenericValueToPointer Function address. | |
| GetExecutionEngineTargetData | back to summary |
|---|---|
| public static final long GetExecutionEngineTargetData Function address. | |
| GetExecutionEngineTargetMachine | back to summary |
|---|---|
| public static final long GetExecutionEngineTargetMachine Function address. | |
| GetFunctionAddress | back to summary |
|---|---|
| public static final long GetFunctionAddress Function address. | |
| GetGlobalValueAddress | back to summary |
|---|---|
| public static final long GetGlobalValueAddress Function address. | |
| GetPointerToGlobal | back to summary |
|---|---|
| public static final long GetPointerToGlobal Function address. | |
| InitializeMCJITCompilerOptions | back to summary |
|---|---|
| public static final long InitializeMCJITCompilerOptions Function address. | |
| LinkInInterpreter | back to summary |
|---|---|
| public static final long LinkInInterpreter Function address. | |
| LinkInMCJIT | back to summary |
|---|---|
| public static final long LinkInMCJIT Function address. | |
| RecompileAndRelinkFunction | back to summary |
|---|---|
| public static final long RecompileAndRelinkFunction Function address. | |
| RemoveModule | back to summary |
|---|---|
| public static final long RemoveModule Function address. | |
| RunFunction | back to summary |
|---|---|
| public static final long RunFunction Function address. | |
| RunFunctionAsMain | back to summary |
|---|---|
| public static final long RunFunctionAsMain Function address. | |
| RunStaticConstructors | back to summary |
|---|---|
| public static final long RunStaticConstructors Function address. | |
| RunStaticDestructors | back to summary |
|---|---|
| public static final long RunStaticDestructors Function address. | |
| Functions | back to summary |
|---|---|
| private Functions() | |