Home
last modified time | relevance | path

Searched refs:getKey (Results 1 – 25 of 109) sorted by relevance

12345

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp110 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 DSymbolRewriter.cpp300 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 DDebugCrossImpSubsection.cpp82 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 DDebugStringTableSubsection.cpp53 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 DAssumeBundleQueries.cpp54 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 DScopedHashTable.h55 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 DStringMap.h159 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 DStringSet.h47 return insert(mapEntry.getKey()); in insert()
H A DImmutableMap.h162 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 DLVStringPool.h71 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 DDiagTool.cpp45 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 DDebugCheckers.cpp264 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 DStringMapEntry.h34 OS << "{\"" << E.getKey().data() << "\": ";
77 if (!KeyMatcher.MatchAndExplain(Entry.getKey().data(), &KeyListener)) {
/openbsd-src/gnu/llvm/clang/lib/Testing/
H A DTestAST.cpp110 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 DNonRelocatableStringpool.cpp38 return InsertResult.first->getKey(); in internString()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DPassTimingInfo.cpp226 StringRef PassID = I.getKey(); in dump()
236 StringRef PassID = I.getKey(); in dump()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSourceManagerInternals.h105 return FilenamesByID[ID]->getKey(); in getFilename()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp292 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 Doffload2yaml.cpp30 {Saver.save(Entry.getKey()), Saver.save(Entry.getValue())})); in populateYAML()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DSveEmitter.cpp1354 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 DOffloadBinary.cpp212 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 DOptRSTEmitter.cpp47 std::string GroupName = KV.getKey().upper(); in EmitOptRST()
H A DDXILEmitter.cpp160 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 DDebugMap.cpp65 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 DTimeProfiler.cpp196 StringRef Key = Stat.getKey(); in write()
211 SortedTotals.emplace_back(std::string(Total.getKey()), Total.getValue()); in write()

12345