Searched refs:PRDef (Results 1 – 3 of 3) sorted by relevance
684 Record *PRDef = ProcModel.ProcResourceDefs[i]; in EmitProcessorResourceSubUnits() local685 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits()687 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResourceSubUnits()690 SchedModels.findProcResUnits(RUDef, ProcModel, PRDef->getLoc()); in EmitProcessorResourceSubUnits()695 OS << " // " << PRDef->getName() << "\n"; in EmitProcessorResourceSubUnits()839 Record *PRDef = ProcModel.ProcResourceDefs[i]; in EmitProcessorResources() local845 int BufferSize = PRDef->getValueAsInt("BufferSize"); in EmitProcessorResources()846 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()847 RecVec ResUnits = PRDef->getValueAsListOfDefs("Resources"); in EmitProcessorResources()854 if (PRDef->getValueInit("Super")->isComplete()) { in EmitProcessorResources()[all …]
276 unsigned getProcResourceIdx(Record *PRDef) const;
2196 unsigned CodeGenProcModel::getProcResourceIdx(Record *PRDef) const { in getProcResourceIdx()2197 RecIter PRPos = find(ProcResourceDefs, PRDef); in getProcResourceIdx()2199 PrintFatalError(PRDef->getLoc(), "ProcResource def is not included in " in getProcResourceIdx()