Lines Matching refs:PRDef

627     Record *PRDef = ProcModel.ProcResourceDefs[i];  in EmitProcessorResourceSubUnits()  local
628 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits()
630 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResourceSubUnits()
633 SchedModels.findProcResUnits(RUDef, ProcModel, PRDef->getLoc()); in EmitProcessorResourceSubUnits()
638 OS << " // " << PRDef->getName() << "\n"; in EmitProcessorResourceSubUnits()
782 Record *PRDef = ProcModel.ProcResourceDefs[i]; in EmitProcessorResources() local
788 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()
789 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()
790 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResources()
798 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()
800 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources()
801 ProcModel, PRDef->getLoc()); in EmitProcessorResources()
804 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
807 OS << " {\"" << PRDef->getName() << "\", "; in EmitProcessorResources()
808 if (PRDef->getName().size() < 15) in EmitProcessorResources()
809 OS.indent(15 - PRDef->getName().size()); in EmitProcessorResources()
937 Record *PRDef = PRVec[i]; in ExpandProcResources() local
939 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources()
940 SubResources = PRDef->getValueAsListOfDefs("Resources"); in ExpandProcResources()
942 SubResources.push_back(PRDef); in ExpandProcResources()
943 PRDef = SchedModels.findProcResUnits(PRDef, PM, PRDef->getLoc()); in ExpandProcResources()
944 for (Record *SubDef = PRDef; in ExpandProcResources()
960 if (PR == PRDef || !PR->isSubClassOf("ProcResGroup")) in ExpandProcResources()