Lines Matching defs:DepJD
1184 for (auto &[DepJD, Deps] : KV.second.DefiningEDU->Dependencies) {
1185 OS << " " << DepJD->getName() << ": [ ";
2128 for (auto &[DepJD, Symbols] : EDU->Dependencies) {
2129 if (!llvm::is_contained(JDs, DepJD)) {
2134 if (!DepJD->Symbols.count(SymbolStringPtr(DepSym))) {
2138 << DepJD->getName() << ".\n";
2939 for (auto &[DepJD, Deps] : EDUInfo.NewDeps) {
2940 auto &UserEDUDepsForJD = UserEDU->Dependencies[DepJD];
2944 HandleNewDep(*UserEDU, *DepJD, Dep);
2951 UserEDUNewDepsForJD = &UserEDUInfo->NewDeps[DepJD];
2953 // Add (DepJD, Dep) to NewDeps.
3047 for (auto &[DepJD, Deps] : DG.Dependencies) {
3050 assert(!Deps.empty() && "Dependence set for DepJD is empty");
3052 if (DepJD != &TargetJD) {
3053 // DepJD is some other JITDylib.There can't be any intra-finalization
3058 // DepJD is the Target JITDylib. Check for intra-finaliztaion edges,
3075 EDU.Dependencies[DepJD] = std::move(NewDepsForJD);
3192 for (auto &[DepJD, Deps] : EDU->Dependencies) {
3194 DepJD->MaterializingInfos[SymbolStringPtr(Dep)].DependantEDUs.insert(
3203 JITDylib &DepJD,
3206 assert(EDU.Dependencies.count(&DepJD) &&
3208 assert(EDU.Dependencies[&DepJD].count(DepSym) &&
3210 auto &JDDeps = EDU.Dependencies[&DepJD];
3213 EDU.Dependencies.erase(&DepJD);
3294 for (auto &[DepJD, Deps] : EDU->Dependencies) {
3295 if (DepJD->State != JITDylib::Open)
3296 return makeJDClosedError(*EDU, *DepJD);
3301 auto DepEntryItr = DepJD->Symbols.find(SymbolStringPtr(Dep));
3306 if (DepEntryItr == DepJD->Symbols.end() ||
3316 EDUInfo->NewDeps[DepJD].insert(Dep);
3326 assert(!DepJD->MaterializingInfos.count(SymbolStringPtr(Dep)) &&
3335 assert(DepJD->MaterializingInfos.count(SymbolStringPtr(Dep)) &&
3337 auto &DepMI = DepJD->MaterializingInfos[SymbolStringPtr(Dep)];
3362 return makeUnsatisfiedDepsError(*EDU, *DepJD, std::move(BadDeps));
3364 // Remove the emitted / ready deps from DepJD.
3368 // If there are no further deps in DepJD then flag it for removal too.
3370 DepJDsToRemove.push_back(DepJD);
3374 for (auto &DepJD : DepJDsToRemove) {
3375 assert(EDU->Dependencies.count(DepJD) &&
3377 EDU->Dependencies.erase(DepJD);
3477 for (auto &[DepJD, Deps] : EDU->Dependencies) {
3478 dbgs() << "(" << DepJD->getName() << ", { ";
3597 for (auto &[DepJD, DepSyms] : MI.DefiningEDU->Dependencies) {
3599 assert(DepJD->Symbols.count(SymbolStringPtr(DepSym)) &&
3600 "DepSym not in DepJD");
3601 assert(DepJD->MaterializingInfos.count(SymbolStringPtr(DepSym)) &&
3603 auto &SymMI = DepJD->MaterializingInfos[SymbolStringPtr(DepSym)];
3620 for (auto &[DepJD, DepSyms] : DependantEDU->Dependencies) {
3624 if (DepJD == &JD && DepSym == Name)
3626 assert(DepJD->Symbols.count(SymbolStringPtr(DepSym)) &&
3627 "DepSym not in DepJD?");
3628 assert(DepJD->MaterializingInfos.count(SymbolStringPtr(DepSym)) &&
3630 auto &SymMI = DepJD->MaterializingInfos[SymbolStringPtr(DepSym)];
3639 auto &DepJD = *DependantEDU->JD;
3642 auto DepSymItr = DepJD.Symbols.find(SymbolStringPtr(DepName));
3643 assert(DepSymItr != DepJD.Symbols.end() &&
3652 (*FailedSymbolsMap)[&DepJD].insert(SymbolStringPtr(DepName));
3657 DepJD.MaterializingInfos.find(SymbolStringPtr(DepName));
3658 assert(DepMIItr != DepJD.MaterializingInfos.end() &&
3666 DepJD.MaterializingInfos.erase(SymbolStringPtr(DepName));
3669 DepJD.shrinkMaterializationInfoMemory();