Lines Matching refs:Def
52 void emitPfmCountersInfo(const Record &Def,
74 for (Record *Def : Records.getAllDerivedDefinitions("ProcPfmCounters")) { in collectPfmCounters()
78 Def->getValueAsListOfDefs("IssueCounters")) { in collectPfmCounters()
88 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters()
89 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters()
107 void ExegesisEmitter::emitPfmCountersInfo(const Record &Def, in emitPfmCountersInfo() argument
111 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
113 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo()
115 Def.getValueAsListOfDefs("IssueCounters").size(); in emitPfmCountersInfo()
117 OS << "\nstatic const PfmCountersInfo " << Target << Def.getName() in emitPfmCountersInfo()
158 llvm::any_of(PfmCounterDefs, [](const Record *Def) { in emitPfmCounters() argument
159 return !Def->getValueAsListOfDefs("IssueCounters").empty(); in emitPfmCounters()
164 for (const Record *Def : PfmCounterDefs) { in emitPfmCounters() local
165 for (const Record *ICDef : Def->getValueAsListOfDefs("IssueCounters")) in emitPfmCounters()
175 for (const Record *Def : PfmCounterDefs) in emitPfmCounters() local
176 emitPfmCountersInfo(*Def, IssueCountersTableOffset, OS); in emitPfmCounters()