Lines Matching refs:PRDef

663     Record *PRDef = ProcModel.ProcResourceDefs[i];  in EmitProcessorResourceSubUnits()  local
664 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits()
666 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResourceSubUnits()
669 SchedModels.findProcResUnits(RUDef, ProcModel, PRDef->getLoc()); in EmitProcessorResourceSubUnits()
674 OS << " // " << PRDef->getName() << "\n"; in EmitProcessorResourceSubUnits()
818 Record *PRDef = ProcModel.ProcResourceDefs[i]; in EmitProcessorResources() local
824 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
825 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()
826 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResources()
834 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()
836 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources()
837 ProcModel, PRDef->getLoc()); in EmitProcessorResources()
840 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
843 OS << " {\"" << PRDef->getName() << "\", "; in EmitProcessorResources()
844 if (PRDef->getName().size() < 15) in EmitProcessorResources()
845 OS.indent(15 - PRDef->getName().size()); in EmitProcessorResources()
973 Record *PRDef = PRVec[i]; in ExpandProcResources() local
975 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources()
976 SubResources = PRDef->getValueAsListOfDefs("Resources"); in ExpandProcResources()
978 SubResources.push_back(PRDef); in ExpandProcResources()
979 PRDef = SchedModels.findProcResUnits(PRDef, PM, PRDef->getLoc()); in ExpandProcResources()
980 for (Record *SubDef = PRDef; in ExpandProcResources()
996 if (PR == PRDef || !PR->isSubClassOf("ProcResGroup")) in ExpandProcResources()