Home
last modified time | relevance | path

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

12345

/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_dense_map_test.cpp110 typename T::key_type getKey(int i = 0) { in getKey() function in __anonf04c44340111::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/
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/
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()
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/
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/
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()
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(); }
DStringSet.h47 return insert(mapEntry.getKey()); in insert()
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/clang/tools/diagtool/
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/
DDebugCheckers.cpp264 return (*LHS)->getKey().compare((*RHS)->getKey()); in compareEntry()
281 llvm::errs() << Keys[I]->getKey() << " = " in checkEndOfTranslationUnit()
/openbsd/src/gnu/llvm/clang/lib/Testing/
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/
DNonRelocatableStringpool.cpp38 return InsertResult.first->getKey(); in internString()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DPassTimingInfo.cpp226 StringRef PassID = I.getKey(); in dump()
236 StringRef PassID = I.getKey(); in dump()
/openbsd/src/gnu/llvm/llvm/lib/ProfileData/
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/clang/include/clang/Basic/
DSourceManagerInternals.h105 return FilenamesByID[ID]->getKey(); in getFilename()
/openbsd/src/gnu/llvm/clang/utils/TableGen/
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/tools/obj2yaml/
Doffload2yaml.cpp30 {Saver.save(Entry.getKey()), Saver.save(Entry.getValue())})); in populateYAML()
/openbsd/src/gnu/llvm/llvm/lib/Object/
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/
DOptRSTEmitter.cpp47 std::string GroupName = KV.getKey().upper(); in EmitOptRST()
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/
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/
DTimeProfiler.cpp196 StringRef Key = Stat.getKey(); in write()
211 SortedTotals.emplace_back(std::string(Total.getKey()), Total.getValue()); in write()
/openbsd/src/gnu/llvm/clang/include/clang/Tooling/Refactoring/
DAtomicChange.h68 const std::string &getKey() const { return Key; } in getKey() function
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp237 << "{ \"cluster\": \"" << I.getKey() << "\", \"pointer\": \"" in printJson()
238 << (const void *)I.getKey() << "\", \"items\": [" << NL; in printJson()
243 Indent(Out, Space, IsDot) << "{ " << CI.getKey() << ", \"value\": "; in printJson()
651 const BindingKey &K = CI.getKey(); in iterBindings()
737 const MemRegion *Base = RI.getKey(); in GenerateClusters()
879 BindingKey NextKey = I.getKey(); in collectSubRegionBindings()
1205 const BindingKey &BK = I.getKey(); in VisitCluster()
1216 B = B.removeBinding(I.getKey()); in VisitCluster()
2834 SymReaper.markElementIndicesLive(I.getKey().getRegion()); in VisitCluster()
2912 const MemRegion *Base = I.getKey(); in removeDeadBindings()

12345