Home
last modified time | relevance | path

Searched refs:Lookup (Results 1 – 25 of 80) sorted by relevance

1234

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DPointerSumType.h90 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 DComparisonCategories.cpp81 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 DEPCGenericDylibManager.cpp69 {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 Dinstantiate-expr-2.cpp89 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 DAssumeBundleQueries.cpp88 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 DEPCGenericDylibManager.h35 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 DInitHeaderSearch.cpp37 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 DClangTidyCheck.cpp193 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 DClangTidyCheck.h140 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 DAssumeBundleBuilder.cpp182 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 DTrace.cpp52 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 DThreadSafeDenseMap.h39 _ValueType Lookup(_KeyType k) { in Lookup() function
44 bool Lookup(_KeyType k, _ValueType &v) { in Lookup() function
H A DThreadSafeDenseSet.h38 bool Lookup(_ElementType e) { in Lookup() function
/llvm-project-15.0.7/third-party/benchmark/test/
H A Dmap_test.cc46 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 DGlobalCompilationDatabase.cpp475 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 DDynamicLibrary.cpp86 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 DDynamicType.cpp79 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 DConstantsContext.h636 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 Dsanitizer_dense_map.h407 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 DCMakeLists.txt9 Lookup.cpp
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dargument-dependent-lookup.mm5 // Lookup, Objective-C classes are considered to be in the global
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp468 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 DBUILD.gn22 "Lookup.cpp",
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DService.proto18 rpc Lookup(LookupRequest) returns (stream LookupReply) {} rpc
/llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp187 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()

1234