Lines Matching refs:ProcResourceDefs
134 // ProcResourceDefs.
1373 for (unsigned i = 0, e = PM.ProcResourceDefs.size(); i < e; ++i) {
1374 if (!PM.ProcResourceDefs[i]->isSubClassOf("ProcResGroup"))
1377 PM.ProcResourceDefs[i]->getValueAsListOfDefs("Resources");
1393 for (unsigned i = 0, e = PM.ProcResourceDefs.size(); i < e; ++i) {
1394 if (!PM.ProcResourceDefs[i]->isSubClassOf("ProcResGroup"))
1397 PM.ProcResourceDefs[i]->getValueAsListOfDefs("Resources");
1399 if (!PM.ProcResourceDefs[j]->isSubClassOf("ProcResGroup"))
1402 PM.ProcResourceDefs[j]->getValueAsListOfDefs("Resources");
1410 PrintFatalError((PM.ProcResourceDefs[i])->getLoc(),
1412 + PM.ProcResourceDefs[j]->getName()
1464 std::sort(PM.ProcResourceDefs.begin(), PM.ProcResourceDefs.end(),
1485 for (RecIter RI = PM.ProcResourceDefs.begin(),
1486 RE = PM.ProcResourceDefs.end(); RI != RE; ++RI) {
1576 RecVec ProcResourceDefs =
1579 for (RecIter RI = ProcResourceDefs.begin(), RE = ProcResourceDefs.end();
1621 RecIter I = std::find(PM.ProcResourceDefs.begin(),
1622 PM.ProcResourceDefs.end(), ProcResUnits);
1623 if (I != PM.ProcResourceDefs.end())
1626 PM.ProcResourceDefs.push_back(ProcResUnits);
1666 RecIter PRPos = std::find(ProcResourceDefs.begin(), ProcResourceDefs.end(),
1668 if (PRPos == ProcResourceDefs.end())
1672 return 1 + (PRPos - ProcResourceDefs.begin());