Lines Matching refs:EE
116 if (ExecutionEngine *EE = builder.create()){ in LLVMCreateExecutionEngineForModule() local
117 *OutEE = wrap(EE); in LLVMCreateExecutionEngineForModule()
238 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) { in LLVMDisposeExecutionEngine() argument
239 delete unwrap(EE); in LLVMDisposeExecutionEngine()
242 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) { in LLVMRunStaticConstructors() argument
243 unwrap(EE)->runStaticConstructorsDestructors(false); in LLVMRunStaticConstructors()
246 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) { in LLVMRunStaticDestructors() argument
247 unwrap(EE)->runStaticConstructorsDestructors(true); in LLVMRunStaticDestructors()
250 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunctionAsMain() argument
253 unwrap(EE)->finalizeObject(); in LLVMRunFunctionAsMain()
259 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP); in LLVMRunFunctionAsMain()
262 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunction() argument
265 unwrap(EE)->finalizeObject(); in LLVMRunFunction()
273 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec); in LLVMRunFunction()
277 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) { in LLVMFreeMachineCodeForFunction() argument
278 unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F)); in LLVMFreeMachineCodeForFunction()
281 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){ in LLVMAddModule() argument
282 unwrap(EE)->addModule(unwrap(M)); in LLVMAddModule()
285 void LLVMAddModuleProvider(LLVMExecutionEngineRef EE, LLVMModuleProviderRef MP){ in LLVMAddModuleProvider() argument
287 LLVMAddModule(EE, reinterpret_cast<LLVMModuleRef>(MP)); in LLVMAddModuleProvider()
290 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, in LLVMRemoveModule() argument
293 unwrap(EE)->removeModule(Mod); in LLVMRemoveModule()
298 LLVMBool LLVMRemoveModuleProvider(LLVMExecutionEngineRef EE, in LLVMRemoveModuleProvider() argument
302 return LLVMRemoveModule(EE, reinterpret_cast<LLVMModuleRef>(MP), OutMod, in LLVMRemoveModuleProvider()
306 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, in LLVMFindFunction() argument
308 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) { in LLVMFindFunction()
315 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, in LLVMRecompileAndRelinkFunction() argument
317 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn)); in LLVMRecompileAndRelinkFunction()
320 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) { in LLVMGetExecutionEngineTargetData() argument
321 return wrap(unwrap(EE)->getDataLayout()); in LLVMGetExecutionEngineTargetData()
325 LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) { in LLVMGetExecutionEngineTargetMachine() argument
326 return wrap(unwrap(EE)->getTargetMachine()); in LLVMGetExecutionEngineTargetMachine()
329 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, in LLVMAddGlobalMapping() argument
331 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr); in LLVMAddGlobalMapping()
334 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) { in LLVMGetPointerToGlobal() argument
335 unwrap(EE)->finalizeObject(); in LLVMGetPointerToGlobal()
337 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global)); in LLVMGetPointerToGlobal()