| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | Internals.h | 33 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 34 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; 75 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 80 unsigned IDs[] = { ID1, ID2 }; in clearDiagnostic() local 81 return clearDiagnostic(IDs, range); in clearDiagnostic() 85 unsigned IDs[] = { ID1, ID2, ID3 }; in clearDiagnostic() local 86 return clearDiagnostic(IDs, range); in clearDiagnostic() 94 unsigned IDs[] = { ID1, ID2 }; in hasDiagnostic() local 95 return CapturedDiags.hasDiagnostic(IDs, range); in hasDiagnostic()
|
| H A D | TransformActions.cpp | 145 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 164 void commitClearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 369 bool TransformActionsImpl::clearDiagnostic(ArrayRef<unsigned> IDs, in clearDiagnostic() argument 372 if (!CapturedDiags.hasDiagnostic(IDs, range)) in clearDiagnostic() 378 data.DiagIDs.append(IDs.begin(), IDs.end()); in clearDiagnostic() 501 void TransformActionsImpl::commitClearDiagnostic(ArrayRef<unsigned> IDs, in commitClearDiagnostic() argument 503 CapturedDiags.clearDiagnostic(IDs, range); in commitClearDiagnostic() 671 bool TransformActions::clearDiagnostic(ArrayRef<unsigned> IDs, in clearDiagnostic() argument 673 return static_cast<TransformActionsImpl*>(Impl)->clearDiagnostic(IDs, range); in clearDiagnostic()
|
| H A D | ARCMT.cpp | 29 bool CapturedDiagList::clearDiagnostic(ArrayRef<unsigned> IDs, in clearDiagnostic() argument 38 if ((IDs.empty() || // empty means clear all diagnostics in the range. in clearDiagnostic() 39 llvm::is_contained(IDs, I->getID())) && in clearDiagnostic() 59 bool CapturedDiagList::hasDiagnostic(ArrayRef<unsigned> IDs, in hasDiagnostic() argument 67 if ((IDs.empty() || // empty means any diagnostic in the range. in hasDiagnostic() 68 llvm::is_contained(IDs, I->getID())) && in hasDiagnostic()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/ |
| H A D | Marshalling.cpp | 46 for (const auto &ID : IDs) { in getIDs() 82 if (!IDs) in fromProtobuf() 83 return IDs.takeError(); in fromProtobuf() 84 Req.IDs = std::move(*IDs); in fromProtobuf() 116 if (!IDs) in fromProtobuf() 117 return IDs.takeError(); in fromProtobuf() 118 Req.IDs = std::move(*IDs); in fromProtobuf() 133 if (!IDs) in fromProtobuf() 134 return IDs.takeError(); in fromProtobuf() 135 Req.Subjects = std::move(*IDs); in fromProtobuf() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/dexp/ |
| H A D | Dexp.cpp | 191 std::vector<SymbolID> IDs; in run() local 198 IDs.push_back(*SID); in run() 200 IDs = getSymbolIDsFromIndex(Name, Index); in run() 204 Request.IDs.insert(IDs.begin(), IDs.end()); in run() 238 std::vector<SymbolID> IDs; in run() local 245 IDs.push_back(*SID); in run() 247 IDs = getSymbolIDsFromIndex(Name, Index); in run() 248 if (IDs.size() > 1) { in run() 252 Name, IDs.size()); in run() 257 RefRequest.IDs.insert(IDs.begin(), IDs.end()); in run()
|
| /llvm-project-15.0.7/bolt/include/bolt/Utils/ |
| H A D | NameShortener.h | 23 StringMap<uint64_t> IDs; variable 27 return IDs.insert({Name, IDs.size()}).first->getValue(); in getID()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/ |
| H A D | binary-ids-padding.test | 15 // There will be 2 20-byte binary IDs, so the total Binary IDs size will be 64 bytes. 17 // + 2 * 20 binary IDs (of size 20) 31 // Binary IDs - There are only two in this case that are 20 bytes. 70 // CHECK: Binary IDs:
|
| H A D | insufficient-binary-ids-size.test | 4 // enough to hold this binary IDs size. NOTE that this (combined with the 8-byte 5 // alignment requirement for binary IDs size) will ensure we can at least read one 6 // 8-byte size if the binary IDs are provided.
|
| H A D | misaligned-binary-ids-size.test | 3 // We should fail on this because the binary IDs is not a multiple of 8 bytes. 14 // Binary IDs - There are only two in this case that are 20 bytes.
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | PDBStringTable.cpp | 66 if (auto EC = Reader.readArray(IDs, *HashCount)) { in readHashTable() 115 size_t Count = IDs.size(); in getIDForString() 124 uint32_t ID = IDs[Index]; in getIDForString() 138 return IDs; in name_ids()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/ |
| H A D | MarshallingTests.cpp | 300 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000001"))); in TEST() 301 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000002"))); in TEST() 306 EXPECT_EQ(static_cast<unsigned>(Serialized.ids_size()), Request.IDs.size()); in TEST() 309 EXPECT_EQ(Deserialized->IDs, Request.IDs); in TEST() 339 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000001"))); in TEST() 340 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000002"))); in TEST() 348 EXPECT_EQ(static_cast<unsigned>(Serialized.ids_size()), Request.IDs.size()); in TEST() 352 EXPECT_EQ(Deserialized->IDs, Request.IDs); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TestIndex.cpp | 137 llvm::ArrayRef<SymbolID> IDs) { in lookup() argument 139 Req.IDs.insert(IDs.begin(), IDs.end()); in lookup()
|
| H A D | SourceCodeTests.cpp | 329 auto IDs = collectIdentifiers(R"cpp( in TEST() local 334 EXPECT_EQ(IDs.size(), 7u); in TEST() 335 EXPECT_EQ(IDs["include"], 1u); in TEST() 336 EXPECT_EQ(IDs["void"], 1u); in TEST() 337 EXPECT_EQ(IDs["int"], 2u); in TEST() 338 EXPECT_EQ(IDs["xyz"], 2u); in TEST() 339 EXPECT_EQ(IDs["abc"], 1u); in TEST() 340 EXPECT_EQ(IDs["return"], 1u); in TEST() 341 EXPECT_EQ(IDs["foo"], 2u); in TEST()
|
| /llvm-project-15.0.7/llvm/test/Linker/ |
| H A D | stack-alignment.ll | 6 ; NONE: error: linking module flags 'override-stack-alignment': IDs have conflicting values 7 ; CHECK-16: error: linking module flags 'override-stack-alignment': IDs have conflicting values
|
| H A D | module-max-warn.ll | 3 ; CHECK: warning: linking module flags 'Combine Max and Warn': IDs have conflicting values ('i32 4'… 4 ; CHECK: warning: linking module flags 'Combine Warn and Max': IDs have conflicting values ('i32 5'…
|
| H A D | stack-protector-guard-module-attrs.ll | 7 ; CHECK-KIND: error: linking module flags 'stack-protector-guard': IDs have conflicting values 8 ; CHECK-REG: error: linking module flags 'stack-protector-guard-reg': IDs have conflicting values 9 ; CHECK-OFFSET: error: linking module flags 'stack-protector-guard-offset': IDs have conflicting va…
|
| H A D | metadata-mismatch.test | 3 ; CHECK: warning: linking module flags 'Dwarf Version': IDs have conflicting values ('i32 5' from {…
|
| H A D | module-flags-7-a.ll | 5 ; CHECK: linking module flags 'foo': IDs have conflicting behaviors in '{{.*}}module-flags-7-b.ll' …
|
| H A D | module-flags-5-a.ll | 5 ; CHECK: linking module flags 'foo': IDs have conflicting override values in '{{.*}}module-flags-5-…
|
| H A D | module-flags-6-a.ll | 5 ; CHECK: linking module flags 'foo': IDs have conflicting values in '{{.*}}module-flags-6-b.ll' and…
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | MemIndex.cpp | 61 for (const auto &ID : Req.IDs) { in lookup() 72 for (const auto &ReqID : Req.IDs) { in refs() 100 LookupReq.IDs.insert(Obj); in relations()
|
| H A D | Index.h | 65 llvm::DenseSet<SymbolID> IDs; member 69 llvm::DenseSet<SymbolID> IDs; member
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | TypeBitCodes.def | 9 // This file provides an x-macro link between AST Type IDs and 10 // their stable serialized bit-code record type IDs.
|
| /llvm-project-15.0.7/llvm/tools/verify-uselistorder/ |
| H A D | verify-uselistorder.cpp | 84 DenseMap<const Value *, unsigned> IDs; member 104 unsigned lookup(const Value *V) const { return IDs.lookup(V); } in lookup() 238 if (IDs.lookup(V)) in map() 247 IDs[V] = Values.size(); in map() 265 << ", user-id = " << M.IDs.lookup(U.getUser()) << ", user = "; in debugValue()
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | WatchpointList.cpp | 160 std::vector<lldb::watch_id_t> IDs; in GetWatchpointIDs() local 163 IDs.push_back((*pos)->GetID()); in GetWatchpointIDs() 164 return IDs; in GetWatchpointIDs()
|