Lines Matching refs:OwnedModules
91 OwnedModules.addModule(std::move(First)); in MCJIT()
113 OwnedModules.addModule(std::move(M)); in addModule()
118 return OwnedModules.removeModule(M); in removeModule()
190 assert(OwnedModules.ownsModule(M) && in generateCodeForModule()
194 if (OwnedModules.hasModuleBeenLoaded(M)) in generateCodeForModule()
232 OwnedModules.markModuleAsLoaded(M); in generateCodeForModule()
241 OwnedModules.markAllLoadedModulesAsFinalized(); in finalizeLoadedModules()
257 for (auto M : OwnedModules.added()) in finalizeObject()
270 assert(OwnedModules.ownsModule(M) && "MCJIT::finalizeModule: Unknown module."); in finalizeModule()
273 if (!OwnedModules.hasModuleBeenLoaded(M)) in finalizeModule()
296 for (ModulePtrSet::iterator I = OwnedModules.begin_added(), in findModuleForSymbol()
297 E = OwnedModules.end_added(); in findModuleForSymbol()
408 bool HasBeenAddedButNotLoaded = OwnedModules.hasModuleBeenAddedButNotLoaded(M); in getPointerToFunction()
413 else if (!OwnedModules.hasModuleBeenLoaded(M)) { in getPointerToFunction()
438 isDtors, OwnedModules.begin_added(), OwnedModules.end_added()); in runStaticConstructorsDestructors()
440 isDtors, OwnedModules.begin_loaded(), OwnedModules.end_loaded()); in runStaticConstructorsDestructors()
442 isDtors, OwnedModules.begin_finalized(), OwnedModules.end_finalized()); in runStaticConstructorsDestructors()
471 FnName, OwnedModules.begin_added(), OwnedModules.end_added()); in FindFunctionNamed()
473 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_loaded(), in FindFunctionNamed()
474 OwnedModules.end_loaded()); in FindFunctionNamed()
476 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_finalized(), in FindFunctionNamed()
477 OwnedModules.end_finalized()); in FindFunctionNamed()
483 Name, AllowInternal, OwnedModules.begin_added(), OwnedModules.end_added()); in FindGlobalVariableNamed()
485 GV = FindGlobalVariableNamedInModulePtrSet(Name, AllowInternal, OwnedModules.begin_loaded(), in FindGlobalVariableNamed()
486 OwnedModules.end_loaded()); in FindGlobalVariableNamed()
488 GV = FindGlobalVariableNamedInModulePtrSet(Name, AllowInternal, OwnedModules.begin_finalized(), in FindGlobalVariableNamed()
489 OwnedModules.end_finalized()); in FindGlobalVariableNamed()