Lines Matching defs:Key
103 /// Look for matching argument with \p Key in \p Remark and return the parsed
105 static unsigned getValForKey(StringRef Key, const Remark &Remark) {
106 auto *RemarkArg = find_if(Remark.Args, [&Key](const Argument &Arg) {
107 return Arg.Key == Key && Arg.isValInt();
154 for (auto &Key : Arguments) {
156 if (Key.match(Arg.Key) && Arg.isValInt())
157 ArgumentSetIdxMap.insert({Arg.Key, ArgumentSetIdxMap.size()});
194 for (auto [Key, Idx] : ArgumentSetIdxMap) {
195 auto Count = getValForKey(Key, Remark);
201 if (std::optional<std::string> Key = getGroupByKey(Remark))
202 ++CountedByRemarksMap[*Key];
214 for (auto [Key, _] : ArgumentSetIdxMap) {
215 OF->os() << Key;
244 for (auto [Key, Count] : CountedByRemarksMap)
245 OF->os() << Key << "," << Count << "\n";
315 for (auto &Key : Keys)
316 ArgumentsVector.push_back({Key, false});
318 for (auto Key : RKeys)
319 ArgumentsVector.push_back({Key, true});