| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_dense_map_test.cpp | 110 typename T::key_type getKey(int i = 0) { in getKey() function in __anon97d5ac0f0111::DenseMapTest 137 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST() 138 EXPECT_EQ(nullptr, this->Map.find(this->getKey())); in TYPED_TEST() 140 this->Map.lookup(this->getKey())); in TYPED_TEST() 152 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() 159 EXPECT_TRUE(this->Map.count(this->getKey())); in TYPED_TEST() 160 EXPECT_NE(nullptr, this->Map.find(this->getKey())); in TYPED_TEST() 161 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST() 162 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST() 167 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 300 Key = dyn_cast<yaml::ScalarNode>(Entry.getKey()); in parseEntry() 302 YS.printError(Entry.getKey(), "rewrite type must be a scalar"); in parseEntry() 320 YS.printError(Entry.getKey(), "unknown rewrite type"); in parseEntry() 340 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); in parseRewriteFunctionDescriptor() 342 YS.printError(Field.getKey(), "descriptor key must be a scalar"); in parseRewriteFunctionDescriptor() 358 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteFunctionDescriptor() 371 YS.printError(Field.getKey(), "unknown key for function"); in parseRewriteFunctionDescriptor() 409 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); in parseRewriteGlobalVariableDescriptor() 411 YS.printError(Field.getKey(), "descriptor Key must be a scalar"); in parseRewriteGlobalVariableDescriptor() 427 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteGlobalVariableDescriptor() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugCrossImpSubsection.cpp | 82 return Strings.getIdForString(L1->getKey()) < in commit() 83 Strings.getIdForString(L2->getKey()); in commit() 88 Imp.ModuleNameOffset = Strings.getIdForString(Item->getKey()); in commit()
|
| H A D | DebugStringTableSubsection.cpp | 53 IdToString.insert({P.first->getValue(), P.first->getKey()}); in insert() 73 StringRef S = Pair.getKey(); in commit()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | AssumeBundleQueries.cpp | 54 if (BOI.Tag->getKey() != AttrName) in hasAttributeInAssume() 73 nullptr, Attribute::getAttrKindFromName(Bundles.Tag->getKey())}; in fillMapFromAssume() 102 Result.AttrKind = Attribute::getAttrKindFromName(BOI.Tag->getKey()); in getKnowledgeFromBundle() 128 return BOI.Tag->getKey() != IgnoreBundleTag; in isAssumeWithEmptyBundle()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | ScopedHashTable.h | 55 const K &getKey() const { return Key; } in getKey() function 243 assert(HT.TopLevelMap[ThisEntry->getKey()] == ThisEntry && in ~ScopedHashTableScope() 245 HT.TopLevelMap.erase(ThisEntry->getKey()); in ~ScopedHashTableScope() 247 ScopedHashTableVal<K, V> *&KeyEntry = HT.TopLevelMap[ThisEntry->getKey()]; in ~ScopedHashTableScope()
|
| H A D | StringMap.h | 159 static_cast<MapEntryTy *>(Bucket)->getKey(), getAllocator(), in StringMap() 249 return count(MapEntry.getKey()); in count() 258 auto FindInRHS = RHS.find(KeyValue.getKey()); 276 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert() 483 StringRef operator*() const { return this->wrapped()->getKey(); }
|
| H A D | StringSet.h | 47 return insert(mapEntry.getKey()); in insert()
|
| H A D | ImmutableMap.h | 162 key_type_ref getKey() const { return (*this)->first; } in getKey() function 292 key_type_ref getKey() const { return (*this)->first; } in getKey() function
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVStringPool.h | 71 return (Index >= Entries.size()) ? StringRef() : Entries[Index]->getKey(); in getString() 79 << "Key: '" << Entry->getKey() << "'\n"; in print()
|
| /openbsd-src/gnu/llvm/clang/tools/diagtool/ |
| H A D | DiagTool.cpp | 45 toolNames.push_back(it->getKey()); in printCommands() 46 unsigned len = it->getKey().size(); in printCommands()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DebugCheckers.cpp | 264 return (*LHS)->getKey().compare((*RHS)->getKey()); in compareEntry() 281 llvm::errs() << Keys[I]->getKey() << " = " in checkEndOfTranslationUnit()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Testing/ADT/ |
| H A D | StringMapEntry.h | 34 OS << "{\"" << E.getKey().data() << "\": "; 77 if (!KeyMatcher.MatchAndExplain(Entry.getKey().data(), &KeyListener)) {
|
| /openbsd-src/gnu/llvm/clang/lib/Testing/ |
| H A D | TestAST.cpp | 110 Extra.getKey(), /*ModificationTime=*/0, in TestAST() 111 llvm::MemoryBuffer::getMemBufferCopy(Extra.getValue(), Extra.getKey())); in TestAST()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | NonRelocatableStringpool.cpp | 38 return InsertResult.first->getKey(); in internString()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | PassTimingInfo.cpp | 226 StringRef PassID = I.getKey(); in dump() 236 StringRef PassID = I.getKey(); in dump()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | SourceManagerInternals.h | 105 return FilenamesByID[ID]->getKey(); in getFilename()
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
| H A D | InstrProfWriter.cpp | 292 addRecord(I.getKey(), Func.first, std::move(Func.second), 1, Warn); in mergeRecordsFromWriter() 354 Generator.insert(I.getKey(), &I.getValue()); in writeImpl() 660 if (Error E = Symtab.addFuncName(I.getKey())) in writeText() 663 OrderedFuncData.push_back(std::make_pair(I.getKey(), Func)); in writeText()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | offload2yaml.cpp | 30 {Saver.save(Entry.getKey()), Saver.save(Entry.getValue())})); in populateYAML()
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 1354 OS << "const uint64_t " << KV.getKey() << " = " << KV.getValue() << ";\n"; in createTypeFlags() 1359 OS << " " << KV.getKey() << " = " << KV.getValue() << ",\n"; in createTypeFlags() 1364 OS << " " << KV.getKey() << " = " << KV.getValue() << ",\n"; in createTypeFlags() 1369 OS << " " << KV.getKey() << " = " << KV.getValue() << ",\n"; in createTypeFlags() 1374 OS << " " << KV.getKey() << " = " << KV.getValue() << ",\n"; in createTypeFlags()
|
| /openbsd-src/gnu/llvm/llvm/lib/Object/ |
| H A D | OffloadBinary.cpp | 212 StrTab.add(KeyAndValue.getKey()); in write() 253 StringEntry Map{Offset + StrTab.getOffset(KeyAndValue.getKey()), in write()
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | OptRSTEmitter.cpp | 47 std::string GroupName = KV.getKey().upper(); in EmitOptRST()
|
| H A D | DXILEmitter.cpp | 160 OS << " " << It.getKey(); in buildCategoryStr() 203 std::make_pair(It.getKey().str(), buildCategoryStr(It.second))); in emitDXILEnums()
|
| /openbsd-src/gnu/llvm/llvm/tools/dsymutil/ |
| H A D | DebugMap.cpp | 65 Entries.push_back(std::make_pair(Sym.getKey(), Sym.getValue())); in print() 231 std::make_pair(std::string(Entry.getKey()), Entry.getValue())); in YamlDMO()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | TimeProfiler.cpp | 196 StringRef Key = Stat.getKey(); in write() 211 SortedTotals.emplace_back(std::string(Total.getKey()), Total.getValue()); in write()
|