LLVM: lib/ExecutionEngine/ExecutionEngineBindings.cpp File Reference (original) (raw)
Functions
static LLVMTargetMachineRef
wrap (const TargetMachine *P)
LLVMCreateGenericValueOfInt (LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned)
LLVMCreateGenericValueOfPointer (void *P)
LLVMCreateGenericValueOfFloat (LLVMTypeRef TyRef, double N)
LLVMGenericValueIntWidth (LLVMGenericValueRef GenValRef)
unsigned long long
LLVMGenericValueToInt (LLVMGenericValueRef GenValRef, LLVMBool IsSigned)
void *
LLVMGenericValueToPointer (LLVMGenericValueRef GenVal)
double
LLVMGenericValueToFloat (LLVMTypeRef TyRef, LLVMGenericValueRef GenVal)
void
LLVMDisposeGenericValue (LLVMGenericValueRef GenVal)
LLVMCreateExecutionEngineForModule (LLVMExecutionEngineRef *OutEE, LLVMModuleRef M, char **OutError)
LLVMCreateInterpreterForModule (LLVMExecutionEngineRef *OutInterp, LLVMModuleRef M, char **OutError)
LLVMCreateJITCompilerForModule (LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, unsigned OptLevel, char **OutError)
void
LLVMInitializeMCJITCompilerOptions (LLVMMCJITCompilerOptions *PassedOptions, size_t SizeOfPassedOptions)
LLVMCreateMCJITCompilerForModule (LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions *PassedOptions, size_t SizeOfPassedOptions, char **OutError)
Create an MCJIT execution engine for a module, with the given options.
void
LLVMDisposeExecutionEngine (LLVMExecutionEngineRef EE)
void
LLVMRunStaticConstructors (LLVMExecutionEngineRef EE)
void
LLVMRunStaticDestructors (LLVMExecutionEngineRef EE)
int
LLVMRunFunctionAsMain (LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned ArgC, const char *const *ArgV, const char *const *EnvP)
LLVMRunFunction (LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned NumArgs, LLVMGenericValueRef *Args)
void
LLVMFreeMachineCodeForFunction (LLVMExecutionEngineRef EE, LLVMValueRef F)
void
LLVMAddModule (LLVMExecutionEngineRef EE, LLVMModuleRef M)
LLVMRemoveModule (LLVMExecutionEngineRef EE, LLVMModuleRef M, LLVMModuleRef *OutMod, char **OutError)
LLVMFindFunction (LLVMExecutionEngineRef EE, const char *Name, LLVMValueRef *OutFn)
void *
LLVMRecompileAndRelinkFunction (LLVMExecutionEngineRef EE, LLVMValueRef Fn)
LLVMGetExecutionEngineTargetData (LLVMExecutionEngineRef EE)
LLVMGetExecutionEngineTargetMachine (LLVMExecutionEngineRef EE)
void
LLVMAddGlobalMapping (LLVMExecutionEngineRef EE, LLVMValueRef Global, void *Addr)
void *
LLVMGetPointerToGlobal (LLVMExecutionEngineRef EE, LLVMValueRef Global)
LLVMGetGlobalValueAddress (LLVMExecutionEngineRef EE, const char *Name)
LLVMGetFunctionAddress (LLVMExecutionEngineRef EE, const char *Name)
LLVMExecutionEngineGetErrMsg (LLVMExecutionEngineRef EE, char **OutError)
Returns true on error, false on success.
LLVMCreateSimpleMCJITMemoryManager (void *Opaque, LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory, LLVMMemoryManagerDestroyCallback Destroy)
Create a simple custom MCJIT memory manager.
void
LLVMDisposeMCJITMemoryManager (LLVMMCJITMemoryManagerRef MM)
LLVMCreateIntelJITEventListener (void)