llvm.c.executionEngine

Undocumented in source.

Public Imports

llvm.c.types
public import llvm.c.types;
Undocumented in source.

Members

Aliases

LLVMExecutionEngineRef
alias LLVMExecutionEngineRef = __LLVMOpaqueExecutionEngine*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGenericValueRef
alias LLVMGenericValueRef = __LLVMOpaqueGenericValue*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMMCJITMemoryManagerRef
alias LLVMMCJITMemoryManagerRef = __LLVMOpaqueMCJITMemoryManager*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMMemoryManagerAllocateCodeSectionCallback
alias LLVMMemoryManagerAllocateCodeSectionCallback = ubyte* function(void* Opaque, size_t Size, uint Alignment, uint SectionID, const(char)* SectionName)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMMemoryManagerAllocateDataSectionCallback
alias LLVMMemoryManagerAllocateDataSectionCallback = ubyte* function(void* Opaque, size_t Size, uint Alignment, uint SectionID, const(char)* SectionName, LLVMBool IsReadOnly)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMMemoryManagerDestroyCallback
alias LLVMMemoryManagerDestroyCallback = void function(void* Opaque)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMMemoryManagerFinalizeMemoryCallback
alias LLVMMemoryManagerFinalizeMemoryCallback = LLVMBool function(void* Opaque, char** ErrMsg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

LLVMAddGlobalMapping
void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, void* Addr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMAddModule
void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMCreateExecutionEngineForModule
LLVMBool LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef* OutEE, LLVMModuleRef M, char** OutError)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMCreateGenericValueOfFloat
LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMCreateGenericValueOfInt
LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, ulong N, LLVMBool IsSigned)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMCreateGenericValueOfPointer
LLVMGenericValueRef LLVMCreateGenericValueOfPointer(void* P)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMCreateInterpreterForModule
LLVMBool LLVMCreateInterpreterForModule(LLVMExecutionEngineRef* OutInterp, LLVMModuleRef M, char** OutError)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMCreateJITCompilerForModule
LLVMBool LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef* OutJIT, LLVMModuleRef M, uint OptLevel, char** OutError)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMCreateMCJITCompilerForModule
LLVMBool LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef* OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions* Options, size_t SizeOfOptions, char** OutError)

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 Options up to the given SizeOfOptions are initialized. It is correct to pass a smaller value of SizeOfOptions that omits some fields. The canonical way of using this is:

LLVMCreateSimpleMCJITMemoryManager
LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager(void* Opaque, LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory, LLVMMemoryManagerDestroyCallback Destroy)

Create a simple custom MCJIT memory manager. This memory manager can intercept allocations in a module-oblivious way. This will return NULL if any of the passed functions are NULL.

LLVMDisposeExecutionEngine
void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMDisposeGenericValue
void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMDisposeMCJITMemoryManager
void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMFindFunction
LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const(char)* Name, LLVMValueRef* OutFn)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMFreeMachineCodeForFunction
void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGenericValueIntWidth
uint LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGenericValueToFloat
double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGenericValueToInt
ulong LLVMGenericValueToInt(LLVMGenericValueRef GenVal, LLVMBool IsSigned)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGenericValueToPointer
void* LLVMGenericValueToPointer(LLVMGenericValueRef GenVal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGetExecutionEngineTargetData
LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGetExecutionEngineTargetMachine
LLVMTargetMachineRef LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGetFunctionAddress
ulong LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const(char)* Name)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGetGlobalValueAddress
ulong LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const(char)* Name)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMGetPointerToGlobal
void* LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMInitializeMCJITCompilerOptions
void LLVMInitializeMCJITCompilerOptions(LLVMMCJITCompilerOptions* Options, size_t SizeOfOptions)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMLinkInInterpreter
void LLVMLinkInInterpreter()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMLinkInMCJIT
void LLVMLinkInMCJIT()

@defgroup LLVMCExecutionEngine Execution Engine @ingroup LLVMC

LLVMRecompileAndRelinkFunction
void* LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMRemoveModule
LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, LLVMModuleRef* OutMod, char** OutError)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMRunFunction
LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, uint NumArgs, LLVMGenericValueRef* Args)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMRunFunctionAsMain
int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, uint ArgC, const(char*)* ArgV, const(char*)* EnvP)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMRunStaticConstructors
void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMRunStaticDestructors
void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

LLVMMCJITCompilerOptions
struct LLVMMCJITCompilerOptions
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__LLVMOpaqueExecutionEngine
struct __LLVMOpaqueExecutionEngine
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__LLVMOpaqueGenericValue
struct __LLVMOpaqueGenericValue
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__LLVMOpaqueMCJITMemoryManager
struct __LLVMOpaqueMCJITMemoryManager
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta