Lines Matching refs:EE
110 if (ExecutionEngine *EE = builder.create()){ in LLVMCreateExecutionEngineForModule() local
111 *OutEE = wrap(EE); in LLVMCreateExecutionEngineForModule()
215 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) { in LLVMDisposeExecutionEngine() argument
216 delete unwrap(EE); in LLVMDisposeExecutionEngine()
219 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) { in LLVMRunStaticConstructors() argument
220 unwrap(EE)->finalizeObject(); in LLVMRunStaticConstructors()
221 unwrap(EE)->runStaticConstructorsDestructors(false); in LLVMRunStaticConstructors()
224 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) { in LLVMRunStaticDestructors() argument
225 unwrap(EE)->finalizeObject(); in LLVMRunStaticDestructors()
226 unwrap(EE)->runStaticConstructorsDestructors(true); in LLVMRunStaticDestructors()
229 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunctionAsMain() argument
232 unwrap(EE)->finalizeObject(); in LLVMRunFunctionAsMain()
235 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP); in LLVMRunFunctionAsMain()
238 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunction() argument
241 unwrap(EE)->finalizeObject(); in LLVMRunFunction()
249 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec); in LLVMRunFunction()
253 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) { in LLVMFreeMachineCodeForFunction() argument
256 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){ in LLVMAddModule() argument
257 unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M))); in LLVMAddModule()
260 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, in LLVMRemoveModule() argument
263 unwrap(EE)->removeModule(Mod); in LLVMRemoveModule()
268 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, in LLVMFindFunction() argument
270 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) { in LLVMFindFunction()
277 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, in LLVMRecompileAndRelinkFunction() argument
282 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) { in LLVMGetExecutionEngineTargetData() argument
283 return wrap(&unwrap(EE)->getDataLayout()); in LLVMGetExecutionEngineTargetData()
287 LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) { in LLVMGetExecutionEngineTargetMachine() argument
288 return wrap(unwrap(EE)->getTargetMachine()); in LLVMGetExecutionEngineTargetMachine()
291 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, in LLVMAddGlobalMapping() argument
293 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr); in LLVMAddGlobalMapping()
296 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) { in LLVMGetPointerToGlobal() argument
297 unwrap(EE)->finalizeObject(); in LLVMGetPointerToGlobal()
299 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global)); in LLVMGetPointerToGlobal()
302 uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name) { in LLVMGetGlobalValueAddress() argument
303 return unwrap(EE)->getGlobalValueAddress(Name); in LLVMGetGlobalValueAddress()
306 uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name) { in LLVMGetFunctionAddress() argument
307 return unwrap(EE)->getFunctionAddress(Name); in LLVMGetFunctionAddress()
310 LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, in LLVMExecutionEngineGetErrMsg() argument
313 auto *ExecEngine = unwrap(EE); in LLVMExecutionEngineGetErrMsg()