Home
last modified time | relevance | path

Searched refs:CacheIt (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp22 auto CacheIt = CachedNames.find(FuncId); in SymbolOrNumber() local
23 if (CacheIt != CachedNames.end()) in SymbolOrNumber()
24 return CacheIt->second; in SymbolOrNumber()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp570 auto CacheIt = Cache->SyntaxHighlights.find(FID); in SyntaxHighlight() local
571 if (CacheIt != Cache->SyntaxHighlights.end()) { in SyntaxHighlight()
572 for (const RelexRewriteCache::RawHighlight &H : CacheIt->second) { in SyntaxHighlight()
742 auto CacheIt = Cache->MacroHighlights.find(FID); in HighlightMacros() local
743 if (CacheIt != Cache->MacroHighlights.end()) { in HighlightMacros()
744 for (const RelexRewriteCache::Highlight &H : CacheIt->second) { in HighlightMacros()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp291 auto [CacheIt, IsNew] = Cache.insert(std::make_pair(Callee, false)); in isACallToEnsureFn()
293 CacheIt->second = EnsureFunctionVisitor().Visit(Body); in isACallToEnsureFn()
294 return CacheIt->second; in isACallToEnsureFn()
H A DPtrTypesSemantics.cpp524 auto CacheIt = Cache.find(S); in WithCachedResult() local
525 if (CacheIt != Cache.end()) in WithCachedResult()
526 return CacheIt->second; in WithCachedResult()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp1204 CacheMapTy::iterator CacheIt = CacheMap.find(SeenVal); in compute() local
1206 if (CacheIt != CacheMap.end() && CacheIt->second.anyKnown()) in compute()
1207 CacheMap.erase(CacheIt); in compute()
1238 CacheMapTy::iterator CacheIt = CacheMap.find(V); in compute_() local
1239 if (CacheIt != CacheMap.end()) in compute_()
1240 return CacheIt->second; in compute_()
H A DBasicAliasAnalysis.cpp201 auto [CacheIt, Inserted] = in getCapturesBefore()
204 return CacheIt->second; in getCapturesBefore()
209 CacheIt->second = Ret; in getCapturesBefore()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1063 auto CacheIt = DbgPHICache.find(Dest); in salvageCopySSA() local
1064 if (CacheIt != DbgPHICache.end()) in salvageCopySSA()
1065 return CacheIt->second; in salvageCopySSA()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1919 std::map<SymbolRef, SymInfo>::iterator CacheIt = Cache.end(); in getSymbolInfo() local
1924 std::tie(CacheIt, New) = Cache.try_emplace(*Sym); in getSymbolInfo()
1926 return CacheIt->second; in getSymbolInfo()
1960 if (CacheIt != Cache.end()) in getSymbolInfo()
1961 CacheIt->second = Ret; in getSymbolInfo()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp1399 auto CacheIt = PenaltyCache.find(CacheKey); in format() local
1400 if (DryRun && CacheIt != PenaltyCache.end()) in format()
1401 return CacheIt->second; in format()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp549 auto CacheIt = [&DIVarCache, V](const auto &Container) { in cacheDIVar() local
556 CacheIt(findDbgDeclares(V)); in cacheDIVar()
557 CacheIt(findDVRDeclares(V)); in cacheDIVar()