Lines Matching refs:EE

118   if (ExecutionEngine *EE = builder.create()){
119 *OutEE = wrap(EE);
240 void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) {
241 delete unwrap(EE);
244 void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) {
245 unwrap(EE)->runStaticConstructorsDestructors(false);
248 void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) {
249 unwrap(EE)->runStaticConstructorsDestructors(true);
252 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F,
255 unwrap(EE)->finalizeObject();
261 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
264 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
267 unwrap(EE)->finalizeObject();
275 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
279 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) {
280 unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F));
283 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){
284 unwrap(EE)->addModule(unwrap(M));
287 void LLVMAddModuleProvider(LLVMExecutionEngineRef EE, LLVMModuleProviderRef MP){
289 LLVMAddModule(EE, reinterpret_cast<LLVMModuleRef>(MP));
292 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
295 unwrap(EE)->removeModule(Mod);
300 LLVMBool LLVMRemoveModuleProvider(LLVMExecutionEngineRef EE,
304 return LLVMRemoveModule(EE, reinterpret_cast<LLVMModuleRef>(MP), OutMod,
308 LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name,
310 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
317 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE,
319 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn));
322 LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) {
323 return wrap(unwrap(EE)->getDataLayout());
326 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
328 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
331 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) {
332 unwrap(EE)->finalizeObject();
334 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));