Lines Matching refs:PRDef

603     Record *PRDef = ProcModel.ProcResourceDefs[i];  in EmitProcessorResourceSubUnits()  local
604 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits()
606 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResourceSubUnits()
609 SchedModels.findProcResUnits(RUDef, ProcModel, PRDef->getLoc()); in EmitProcessorResourceSubUnits()
614 OS << " // " << PRDef->getName() << "\n"; in EmitProcessorResourceSubUnits()
762 Record *PRDef = ProcModel.ProcResourceDefs[i]; in EmitProcessorResources() local
768 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
769 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()
770 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResources()
778 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()
780 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources()
781 ProcModel, PRDef->getLoc()); in EmitProcessorResources()
784 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
787 OS << " {\"" << PRDef->getName() << "\", "; in EmitProcessorResources()
788 if (PRDef->getName().size() < 15) in EmitProcessorResources()
789 OS.indent(15 - PRDef->getName().size()); in EmitProcessorResources()
917 Record *PRDef = PRVec[i]; in ExpandProcResources() local
919 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources()
920 SubResources = PRDef->getValueAsListOfDefs("Resources"); in ExpandProcResources()
922 SubResources.push_back(PRDef); in ExpandProcResources()
923 PRDef = SchedModels.findProcResUnits(PRDef, PM, PRDef->getLoc()); in ExpandProcResources()
924 for (Record *SubDef = PRDef; in ExpandProcResources()
940 if (PR == PRDef || !PR->isSubClassOf("ProcResGroup")) in ExpandProcResources()