Lines Matching refs:ProcResourceDefs
127 // ProcResourceDefs.
1380 for (unsigned i = 0, e = PM.ProcResourceDefs.size(); i < e; ++i) {
1381 if (!PM.ProcResourceDefs[i]->isSubClassOf("ProcResGroup"))
1384 PM.ProcResourceDefs[i]->getValueAsListOfDefs("Resources");
1400 for (unsigned i = 0, e = PM.ProcResourceDefs.size(); i < e; ++i) {
1401 if (!PM.ProcResourceDefs[i]->isSubClassOf("ProcResGroup"))
1404 PM.ProcResourceDefs[i]->getValueAsListOfDefs("Resources");
1406 if (!PM.ProcResourceDefs[j]->isSubClassOf("ProcResGroup"))
1409 PM.ProcResourceDefs[j]->getValueAsListOfDefs("Resources");
1417 PrintFatalError((PM.ProcResourceDefs[i])->getLoc(),
1419 + PM.ProcResourceDefs[j]->getName()
1484 RecIter I = std::find(PM.ProcResourceDefs.begin(),
1485 PM.ProcResourceDefs.end(), *RI);
1486 if (I == PM.ProcResourceDefs.end())
1487 PM.ProcResourceDefs.push_back(*RI);
1495 std::sort(PM.ProcResourceDefs.begin(), PM.ProcResourceDefs.end(),
1516 for (RecIter RI = PM.ProcResourceDefs.begin(),
1517 RE = PM.ProcResourceDefs.end(); RI != RE; ++RI) {
1603 RecVec ProcResourceDefs =
1606 for (RecIter RI = ProcResourceDefs.begin(), RE = ProcResourceDefs.end();
1648 RecIter I = std::find(PM.ProcResourceDefs.begin(),
1649 PM.ProcResourceDefs.end(), ProcResUnits);
1650 if (I != PM.ProcResourceDefs.end())
1653 PM.ProcResourceDefs.push_back(ProcResUnits);
1693 RecIter PRPos = std::find(ProcResourceDefs.begin(), ProcResourceDefs.end(),
1695 if (PRPos == ProcResourceDefs.end())
1699 return 1 + (PRPos - ProcResourceDefs.begin());