Lines Matching refs:PRDef

675     Record *PRDef = ProcModel.ProcResourceDefs[i];  in EmitProcessorResourceSubUnits()  local
676 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits()
678 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResourceSubUnits()
681 SchedModels.findProcResUnits(RUDef, ProcModel, PRDef->getLoc()); in EmitProcessorResourceSubUnits()
686 OS << " // " << PRDef->getName() << "\n"; in EmitProcessorResourceSubUnits()
830 Record *PRDef = ProcModel.ProcResourceDefs[i]; in EmitProcessorResources() local
836 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
837 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()
838 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResources()
846 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()
848 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources()
849 ProcModel, PRDef->getLoc()); in EmitProcessorResources()
852 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
855 OS << " {\"" << PRDef->getName() << "\", "; in EmitProcessorResources()
856 if (PRDef->getName().size() < 15) in EmitProcessorResources()
857 OS.indent(15 - PRDef->getName().size()); in EmitProcessorResources()
985 Record *PRDef = PRVec[i]; in ExpandProcResources() local
987 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources()
988 SubResources = PRDef->getValueAsListOfDefs("Resources"); in ExpandProcResources()
990 SubResources.push_back(PRDef); in ExpandProcResources()
991 PRDef = SchedModels.findProcResUnits(PRDef, PM, PRDef->getLoc()); in ExpandProcResources()
992 for (Record *SubDef = PRDef; in ExpandProcResources()
1009 if (PR == PRDef || !PR->isSubClassOf("ProcResGroup")) in ExpandProcResources()