| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | PointerSumType.h | 90 typename HelperT::template Lookup<HelperT::MinTag>::PointerT MinTagPointer; 100 void set(typename HelperT::template Lookup<N>::PointerT Pointer) { in set() 101 void *V = HelperT::template Lookup<N>::TraitsT::getAsVoidPointer(Pointer); in set() 110 create(typename HelperT::template Lookup<N>::PointerT Pointer) { in create() 127 return HelperT::template Lookup<N>::TraitsT::getFromVoidPointer(P); in get() 131 typename HelperT::template Lookup<N>::PointerT cast() const { in cast() 133 return HelperT::template Lookup<N>::TraitsT::getFromVoidPointer( in cast() 140 typename HelperT::template Lookup<HelperT::MinTag>::PointerT const * 148 typename HelperT::template Lookup<HelperT::MinTag>::PointerT * 216 template <TagT N> struct Lookup { struct [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ComparisonCategories.cpp | 81 DeclContextLookupResult Lookup = Record->getCanonicalDecl()->lookup( in lookupValueInfo() local 83 if (Lookup.empty() || !isa<VarDecl>(Lookup.front())) in lookupValueInfo() 85 Objects.emplace_back(ValueKind, cast<VarDecl>(Lookup.front())); in lookupValueInfo() 92 DeclContextLookupResult Lookup = in lookupStdNamespace() local 94 if (!Lookup.empty()) in lookupStdNamespace() 95 StdNS = dyn_cast<NamespaceDecl>(Lookup.front()); in lookupStdNamespace() 104 DeclContextLookupResult Lookup = StdNS->lookup(&Ctx.Idents.get(Name)); in lookupCXXRecordDecl() local 105 if (!Lookup.empty()) in lookupCXXRecordDecl() 106 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Lookup.front())) in lookupCXXRecordDecl()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | EPCGenericDylibManager.cpp | 69 {SAs.Lookup, rt::SimpleExecutorDylibManagerLookupWrapperName}})) in CreateWithDefaultBootstrapSymbols() 86 const SymbolLookupSet &Lookup) { in lookup() argument 90 SAs.Lookup, Result, SAs.Instance, H, Lookup)) in lookup() 97 const RemoteSymbolLookupSet &Lookup) { in lookup() argument 101 SAs.Lookup, Result, SAs.Instance, H, Lookup)) in lookup()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-expr-2.cpp | 89 struct Lookup {}; struct 93 typedef Lookup<B ? sizeof(T) : sizeof(E)> True; 94 typedef Lookup<!B ? sizeof(T) : sizeof(E)> False; 101 Lookup<1> const &L1(False()); 102 Lookup<sizeof(int)> const &L2(True()); 109 struct Lookup {}; struct 114 typedef Lookup<sizeof(B ? T() : E())> Type;
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AssumeBundleQueries.cpp | 88 auto Lookup = Result.find(Key); in fillMapFromAssume() local 89 if (Lookup == Result.end() || !Lookup->second.count(&Assume)) { in fillMapFromAssume() 93 Lookup->second[&Assume].Min = std::min(Val, Lookup->second[&Assume].Min); in fillMapFromAssume() 94 Lookup->second[&Assume].Max = std::max(Val, Lookup->second[&Assume].Max); in fillMapFromAssume()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | EPCGenericDylibManager.h | 35 ExecutorAddr Lookup; member 53 const SymbolLookupSet &Lookup); 57 lookup(tpctypes::DylibHandle H, const RemoteSymbolLookupSet &Lookup);
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | InitHeaderSearch.cpp | 37 DirectoryLookup Lookup; member 40 DirectoryLookupInfo(IncludeDirGroup Group, DirectoryLookup Lookup, in DirectoryLookupInfo() 42 : Group(Group), Lookup(Lookup), UserEntryIdx(UserEntryIdx) {} in DirectoryLookupInfo() 494 const DirectoryLookup &CurEntry = SearchList[i].Lookup; in RemoveDuplicates() 524 const DirectoryLookup &SearchEntry = SearchList[FirstDir].Lookup; in RemoveDuplicates() 546 if (SearchList[FirstDir].Lookup.getDirCharacteristic() == SrcMgr::C_User) in RemoveDuplicates() 574 [](const DirectoryLookupInfo &Info) { return Info.Lookup; }); in extractLookups() 642 StringRef Name = SearchList[i].Lookup.getName(); in Realize() 644 if (SearchList[i].Lookup.isNormalDir()) in Realize() 646 else if (SearchList[i].Lookup.isFramework()) in Realize() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyCheck.cpp | 193 const Twine &Lookup, StringRef Unparsed) const { in diagnoseBadBooleanOption() argument 196 << Unparsed << Lookup.toStringRef(Buffer) << 1; in diagnoseBadBooleanOption() 200 const Twine &Lookup, StringRef Unparsed) const { in diagnoseBadIntegerOption() argument 203 << Unparsed << Lookup.toStringRef(Buffer) << 2; in diagnoseBadIntegerOption() 207 const Twine &Lookup, StringRef Unparsed, StringRef Suggestion) const { in diagnoseBadEnumOption() argument 210 << Unparsed << Lookup.toStringRef(Buffer); in diagnoseBadEnumOption()
|
| H A D | ClangTidyCheck.h | 140 void diagnoseBadIntegerOption(const Twine &Lookup, 142 void diagnoseBadBooleanOption(const Twine &Lookup, 144 void diagnoseBadEnumOption(const Twine &Lookup, StringRef Unparsed,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 182 auto Lookup = AssumedKnowledgeMap.find(Key); in addKnowledge() local 183 if (Lookup == AssumedKnowledgeMap.end()) { in addKnowledge() 187 assert(((Lookup->second == 0 && RK.ArgValue == 0) || in addKnowledge() 188 (Lookup->second != 0 && RK.ArgValue != 0)) && in addKnowledge() 193 Lookup->second = std::max(Lookup->second, RK.ArgValue); in addKnowledge() 442 auto &Lookup = Knowledge[{RK.WasOn, RK.AttrKind}]; in dropRedundantKnowledge() local 443 for (MapValue &Elem : Lookup) { in dropRedundantKnowledge() 457 Lookup.push_back({Assume, RK.ArgValue, &BOI}); in dropRedundantKnowledge()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Trace.cpp | 52 static Optional<V> Lookup(DenseMap<K, V> &map, K k) { in Lookup() function 69 static Optional<V> Lookup(DenseMap<K1, DenseMap<K2, V>> &map, K1 k1, K2 k2) { in Lookup() function 73 return Lookup(it->second, k2); in Lookup() 188 return Lookup(storage.live_thread_data, tid, ConstString(kind)); in GetLiveThreadBinaryDataSize() 194 return Lookup(storage.live_cpu_data_sizes, cpu_id, ConstString(kind)); in GetLiveCpuBinaryDataSize() 199 return Lookup(storage.live_process_data, ConstString(kind)); in GetLiveProcessBinaryDataSize() 374 Lookup(storage.postmortem_thread_data, tid, ConstString(kind))) in GetPostMortemThreadDataFile() 387 Lookup(storage.postmortem_cpu_data, cpu_id, ConstString(kind))) in GetPostMortemCpuDataFile()
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | ThreadSafeDenseMap.h | 39 _ValueType Lookup(_KeyType k) { in Lookup() function 44 bool Lookup(_KeyType k, _ValueType &v) { in Lookup() function
|
| H A D | ThreadSafeDenseSet.h | 38 bool Lookup(_ElementType e) { in Lookup() function
|
| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | map_test.cc | 46 BENCHMARK_DEFINE_F(MapFixture, Lookup)(benchmark::State& state) { in BENCHMARK_DEFINE_F() argument 55 BENCHMARK_REGISTER_F(MapFixture, Lookup)->Range(1 << 3, 1 << 12);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | GlobalCompilationDatabase.cpp | 475 CDBLookupResult Lookup; member 502 process(ActiveTask->Lookup); in run() 517 void enqueue(CDBLookupResult Lookup) { in enqueue() argument 519 assert(!Lookup.PI.SourceRoot.empty()); in enqueue() 523 return T.Lookup.PI.SourceRoot == Lookup.PI.SourceRoot; in enqueue() 525 Queue.push_back({std::move(Lookup), Context::current().clone()}); in enqueue()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | DynamicLibrary.cpp | 86 void *Lookup(const char *Symbol, DynamicLibrary::SearchOrdering Order) { in Lookup() function in DynamicLibrary::HandleSet 188 if (void *Ptr = OpenedHandles->Lookup(SymbolName, SearchOrder)) in SearchForAddressOfSymbol()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicType.cpp | 79 const auto *Lookup = State->get<DynamicCastMap>().lookup(MR); in getDynamicCastInfo() local 80 if (!Lookup) in getDynamicCastInfo() 86 for (const DynamicCastInfo &Cast : *Lookup) in getDynamicCastInfo()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantsContext.h | 636 LookupKeyHashed Lookup(MapInfo::getHashValue(Key), Key); 640 auto I = Map.find_as(Lookup); 642 Result = create(Ty, V, Lookup); 664 LookupKeyHashed Lookup(MapInfo::getHashValue(Key), Key); 666 auto ItMap = Map.find_as(Lookup); 682 Map.insert_as(CP, Lookup);
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_dense_map.h | 407 ValueT &&Value, LookupKeyT &Lookup) { in InsertIntoBucketWithLookup() argument 408 TheBucket = InsertIntoBucketImpl(Key, Lookup, TheBucket); in InsertIntoBucketWithLookup() 416 BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, in InsertIntoBucketImpl() argument 431 LookupBucketFor(Lookup, TheBucket); in InsertIntoBucketImpl() 436 LookupBucketFor(Lookup, TheBucket); in InsertIntoBucketImpl()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | CMakeLists.txt | 9 Lookup.cpp
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | argument-dependent-lookup.mm | 5 // Lookup, Objective-C classes are considered to be in the global
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastValueChecker.cpp | 468 const auto *Lookup = CDM.lookup(Call); in evalCall() local 469 if (!Lookup) in evalCall() 472 const CastCheck &Check = Lookup->first; in evalCall() 473 CallKind Kind = Lookup->second; in evalCall()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Tooling/Refactoring/ |
| H A D | BUILD.gn | 22 "Lookup.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/ |
| H A D | Service.proto | 18 rpc Lookup(LookupRequest) returns (stream LookupReply) {} rpc
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/ |
| H A D | llvm-dwarfdump.cpp | 187 Lookup("lookup", variable 451 auto DIEsForAddr = DICtx.getDIEsForAddress(Lookup); in lookup() 468 {Lookup, object::SectionedAddress::UndefSection})) in lookup() 564 if (Lookup) in dumpObjectFile() 565 return lookup(Obj, DICtx, Lookup, OS); in dumpObjectFile()
|