| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| D | sanitizer_dense_map_test.cpp | 110 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/ |
| 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/ |
| 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()
|
| 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/ |
| 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/ |
| 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()
|
| 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(); }
|
| D | StringSet.h | 47 return insert(mapEntry.getKey()); in insert()
|
| 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/clang/tools/diagtool/ |
| 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/ |
| D | DebugCheckers.cpp | 264 return (*LHS)->getKey().compare((*RHS)->getKey()); in compareEntry() 281 llvm::errs() << Keys[I]->getKey() << " = " in checkEndOfTranslationUnit()
|
| /openbsd/src/gnu/llvm/clang/lib/Testing/ |
| 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/ |
| D | NonRelocatableStringpool.cpp | 38 return InsertResult.first->getKey(); in internString()
|
| /openbsd/src/gnu/llvm/llvm/lib/IR/ |
| D | PassTimingInfo.cpp | 226 StringRef PassID = I.getKey(); in dump() 236 StringRef PassID = I.getKey(); in dump()
|
| /openbsd/src/gnu/llvm/llvm/lib/ProfileData/ |
| 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/clang/include/clang/Basic/ |
| D | SourceManagerInternals.h | 105 return FilenamesByID[ID]->getKey(); in getFilename()
|
| /openbsd/src/gnu/llvm/clang/utils/TableGen/ |
| 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/tools/obj2yaml/ |
| D | offload2yaml.cpp | 30 {Saver.save(Entry.getKey()), Saver.save(Entry.getValue())})); in populateYAML()
|
| /openbsd/src/gnu/llvm/llvm/lib/Object/ |
| 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/ |
| D | OptRSTEmitter.cpp | 47 std::string GroupName = KV.getKey().upper(); in EmitOptRST()
|
| 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/ |
| 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/ |
| D | TimeProfiler.cpp | 196 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/ |
| D | AtomicChange.h | 68 const std::string &getKey() const { return Key; } in getKey() function
|
| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| D | RegionStore.cpp | 237 << "{ \"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()
|