Lines Matching refs:EE

111   if (ExecutionEngine *EE = builder.create()){  in LLVMCreateExecutionEngineForModule()  local
112 *OutEE = wrap(EE); in LLVMCreateExecutionEngineForModule()
216 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) { in LLVMDisposeExecutionEngine() argument
217 delete unwrap(EE); in LLVMDisposeExecutionEngine()
220 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) { in LLVMRunStaticConstructors() argument
221 unwrap(EE)->finalizeObject(); in LLVMRunStaticConstructors()
222 unwrap(EE)->runStaticConstructorsDestructors(false); in LLVMRunStaticConstructors()
225 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) { in LLVMRunStaticDestructors() argument
226 unwrap(EE)->finalizeObject(); in LLVMRunStaticDestructors()
227 unwrap(EE)->runStaticConstructorsDestructors(true); in LLVMRunStaticDestructors()
230 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunctionAsMain() argument
233 unwrap(EE)->finalizeObject(); in LLVMRunFunctionAsMain()
236 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP); in LLVMRunFunctionAsMain()
239 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunction() argument
242 unwrap(EE)->finalizeObject(); in LLVMRunFunction()
250 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec); in LLVMRunFunction()
254 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) { in LLVMFreeMachineCodeForFunction() argument
257 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){ in LLVMAddModule() argument
258 unwrap(EE)->addModule(std::unique_ptr<Module>(unwrap(M))); in LLVMAddModule()
261 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, in LLVMRemoveModule() argument
264 unwrap(EE)->removeModule(Mod); in LLVMRemoveModule()
269 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, in LLVMFindFunction() argument
271 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) { in LLVMFindFunction()
278 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, in LLVMRecompileAndRelinkFunction() argument
283 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) { in LLVMGetExecutionEngineTargetData() argument
284 return wrap(&unwrap(EE)->getDataLayout()); in LLVMGetExecutionEngineTargetData()
288 LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) { in LLVMGetExecutionEngineTargetMachine() argument
289 return wrap(unwrap(EE)->getTargetMachine()); in LLVMGetExecutionEngineTargetMachine()
292 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, in LLVMAddGlobalMapping() argument
294 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr); in LLVMAddGlobalMapping()
297 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) { in LLVMGetPointerToGlobal() argument
298 unwrap(EE)->finalizeObject(); in LLVMGetPointerToGlobal()
300 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global)); in LLVMGetPointerToGlobal()
303 uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name) { in LLVMGetGlobalValueAddress() argument
304 return unwrap(EE)->getGlobalValueAddress(Name); in LLVMGetGlobalValueAddress()
307 uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name) { in LLVMGetFunctionAddress() argument
308 return unwrap(EE)->getFunctionAddress(Name); in LLVMGetFunctionAddress()
311 LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, in LLVMExecutionEngineGetErrMsg() argument
314 auto *ExecEngine = unwrap(EE); in LLVMExecutionEngineGetErrMsg()