Lines Matching refs:MP

755       &MR.getTargetJITDylib() == &MP.PlatformJD && MP.Bootstrap;  in modifyPassConfig()
772 if (InitSymbol == MP.MachOHeaderStartSymbol && !InBootstrapPhase) { in modifyPassConfig()
844 std::lock_guard<std::mutex> Lock(MP.Bootstrap.load()->Mutex); in bootstrapPipelineStart()
845 ++MP.Bootstrap.load()->ActiveGraphs; in bootstrapPipelineStart()
853 {*MP.MachOHeaderStartSymbol, &MP.Bootstrap.load()->MachOHeaderAddr}, in bootstrapPipelineRecordRuntimeFunctions()
854 {*MP.PlatformBootstrap.Name, &MP.PlatformBootstrap.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
855 {*MP.PlatformShutdown.Name, &MP.PlatformShutdown.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
856 {*MP.RegisterJITDylib.Name, &MP.RegisterJITDylib.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
857 {*MP.DeregisterJITDylib.Name, &MP.DeregisterJITDylib.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
858 {*MP.RegisterObjectSymbolTable.Name, &MP.RegisterObjectSymbolTable.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
859 {*MP.DeregisterObjectSymbolTable.Name, in bootstrapPipelineRecordRuntimeFunctions()
860 &MP.DeregisterObjectSymbolTable.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
861 {*MP.RegisterObjectPlatformSections.Name, in bootstrapPipelineRecordRuntimeFunctions()
862 &MP.RegisterObjectPlatformSections.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
863 {*MP.DeregisterObjectPlatformSections.Name, in bootstrapPipelineRecordRuntimeFunctions()
864 &MP.DeregisterObjectPlatformSections.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
865 {*MP.CreatePThreadKey.Name, &MP.CreatePThreadKey.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
866 {*MP.RegisterObjCRuntimeObject.Name, &MP.RegisterObjCRuntimeObject.Addr}, in bootstrapPipelineRecordRuntimeFunctions()
867 {*MP.DeregisterObjCRuntimeObject.Name, in bootstrapPipelineRecordRuntimeFunctions()
868 &MP.DeregisterObjCRuntimeObject.Addr}}; in bootstrapPipelineRecordRuntimeFunctions()
881 if (Sym->getName() == *MP.MachOHeaderStartSymbol) in bootstrapPipelineRecordRuntimeFunctions()
892 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in bootstrapPipelineRecordRuntimeFunctions()
893 MP.JITDylibToHeaderAddr[&MP.PlatformJD] = in bootstrapPipelineRecordRuntimeFunctions()
894 MP.Bootstrap.load()->MachOHeaderAddr; in bootstrapPipelineRecordRuntimeFunctions()
895 MP.HeaderAddrToJITDylib[MP.Bootstrap.load()->MachOHeaderAddr] = in bootstrapPipelineRecordRuntimeFunctions()
896 &MP.PlatformJD; in bootstrapPipelineRecordRuntimeFunctions()
904 std::lock_guard<std::mutex> Lock(MP.Bootstrap.load()->Mutex); in bootstrapPipelineEnd()
905 assert(MP.Bootstrap && "DeferredAAs reset before bootstrap completed"); in bootstrapPipelineEnd()
906 --MP.Bootstrap.load()->ActiveGraphs; in bootstrapPipelineEnd()
909 if (MP.Bootstrap.load()->ActiveGraphs == 0) in bootstrapPipelineEnd()
910 MP.Bootstrap.load()->CV.notify_all(); in bootstrapPipelineEnd()
917 return Sym->getName() == *MP.MachOHeaderStartSymbol; in associateJITDylibHeaderSymbol()
922 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in associateJITDylibHeaderSymbol()
924 MP.JITDylibToHeaderAddr[&JD] = HeaderAddr; in associateJITDylibHeaderSymbol()
925 MP.HeaderAddrToJITDylib[HeaderAddr] = &JD; in associateJITDylibHeaderSymbol()
931 MP.RegisterJITDylib.Addr, JD.getName(), HeaderAddr)), in associateJITDylibHeaderSymbol()
933 MP.DeregisterJITDylib.Addr, HeaderAddr))}); in associateJITDylibHeaderSymbol()
1160 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in fixTLVSectionsAndEdges()
1161 auto I = MP.JITDylibToPThreadKey.find(&JD); in fixTLVSectionsAndEdges()
1162 if (I != MP.JITDylibToPThreadKey.end()) in fixTLVSectionsAndEdges()
1167 if (auto KeyOrErr = MP.createPThreadKey()) in fixTLVSectionsAndEdges()
1358 : MP.Bootstrap.load()->DeferredAAs; in registerObjectPlatformSections()
1362 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in registerObjectPlatformSections()
1363 auto I = MP.JITDylibToHeaderAddr.find(&JD); in registerObjectPlatformSections()
1364 assert(I != MP.JITDylibToHeaderAddr.end() && in registerObjectPlatformSections()
1372 MP.RegisterObjectPlatformSections.Addr, HeaderAddr, UnwindInfo, in registerObjectPlatformSections()
1376 MP.DeregisterObjectPlatformSections.Addr, HeaderAddr, in registerObjectPlatformSections()
1647 std::lock_guard<std::mutex> Lock(MP.PlatformMutex); in addSymbolTableRegistration()
1648 auto I = MP.JITDylibToHeaderAddr.find(&MR.getTargetJITDylib()); in addSymbolTableRegistration()
1649 assert(I != MP.JITDylibToHeaderAddr.end() && "No header registered for JD"); in addSymbolTableRegistration()
1656 : MP.Bootstrap.load()->SymTab; in addSymbolTableRegistration()
1668 : MP.Bootstrap.load()->DeferredAAs; in addSymbolTableRegistration()
1671 MP.RegisterObjectSymbolTable.Addr, HeaderAddr, SymTab)), in addSymbolTableRegistration()
1673 MP.DeregisterObjectSymbolTable.Addr, HeaderAddr, SymTab))}); in addSymbolTableRegistration()