Home
last modified time | relevance | path

Searched refs:Cached (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFSTests.cpp42 auto Cached = ConsumeFS->status(testPath("fake")); in TEST() local
43 EXPECT_TRUE(Cached); in TEST()
44 EXPECT_EQ(Cached->getName(), testPath("fake")); in TEST()
45 EXPECT_EQ(Cached->getUniqueID(), S.getUniqueID()); in TEST()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.cpp109 auto Cached = ScopeVars.Args.find(ArgNum); in addScopeVariable() local
110 if (Cached == ScopeVars.Args.end()) in addScopeVariable()
113 Cached->second->addMMIEntry(*Var); in addScopeVariable()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h336 auto I = Cached.find(hash); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
337 if (I != Cached.end()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
345 Cached[hash] = ConditionTruthVal(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
347 Cached[hash] = ConditionTruthVal(res.value()); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
349 return Cached[hash]; in REGISTER_TRAIT_WITH_PROGRAMSTATE()
354 mutable llvm::DenseMap<unsigned, ConditionTruthVal> Cached; in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
/llvm-project-15.0.7/llvm/test/Transforms/CodeExtractor/
H A Dextract-assume.ll6 ; CHECK: Cached assumptions for function: fun
7 ; CHECK-NEXT: Cached assumptions for function: fun.cold
/llvm-project-15.0.7/clang/lib/AST/
H A DRawCommentList.cpp342 auto Cached = CommentBeginLine.find(C); in getCommentBeginLine() local
343 if (Cached != CommentBeginLine.end()) in getCommentBeginLine()
344 return Cached->second; in getCommentBeginLine()
351 auto Cached = CommentEndOffset.find(C); in getCommentEndOffset() local
352 if (Cached != CommentEndOffset.end()) in getCommentEndOffset()
353 return Cached->second; in getCommentEndOffset()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1223 Cached[Sym] = V; in simplifySValOnce()
1263 auto I = Cached.find(S); in simplifySValOnce()
1264 if (I != Cached.end()) in simplifySValOnce()
1295 auto I = Cached.find(S); in simplifySValOnce()
1296 if (I != Cached.end()) in simplifySValOnce()
1309 auto I = Cached.find(S); in simplifySValOnce()
1310 if (I != Cached.end()) in simplifySValOnce()
1332 auto I = Cached.find(S); in simplifySValOnce()
1333 if (I != Cached.end()) in simplifySValOnce()
1344 auto I = Cached.find(S); in simplifySValOnce()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h336 const uptr Cached = SCMap::getMaxCachedHint(S) * S; in printMap() local
339 S, D, P, L, SCMap::getMaxCachedHint(S), Cached, in printMap()
341 TotalCached += Cached; in printMap()
/llvm-project-15.0.7/llvm/test/Analysis/AssumptionCache/
H A Dbasic.ll8 ; CHECK-LABEL: Cached assumptions for function: test1
/llvm-project-15.0.7/llvm/test/Transforms/NewGVN/
H A D2008-12-15-CacheVisited.ll2 ; Cached results must be added to and verified against the visited sets.
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A D2008-12-15-CacheVisited.ll2 ; Cached results must be added to and verified against the visited sets.
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnostic.h1116 DiagnosticStorage Cached[NumCached]; variable
1138 if (S >= Cached && S <= Cached + NumCached) { in Deallocate()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp424 auto Cached = Cache.find(I); in findBaseDefiningValueOfVector() local
425 if (Cached != Cache.end()) in findBaseDefiningValueOfVector()
426 return Cached->second; in findBaseDefiningValueOfVector()
521 auto Cached = Cache.find(I); in findBaseDefiningValue() local
522 if (Cached != Cache.end()) in findBaseDefiningValue()
523 return Cached->second; in findBaseDefiningValue()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp41 auto Cached = CachedPreviousDef.find(BB); in getPreviousDefRecursive() local
42 if (Cached != CachedPreviousDef.end()) in getPreviousDefRecursive()
43 return Cached->second; in getPreviousDefRecursive()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp2613 auto &Cached = DbgPtrAllocaCache[Storage]; in salvageDebugInfo() local
2614 if (!Cached) { in salvageDebugInfo()
2615 Cached = Builder.CreateAlloca(Storage->getType(), 0, nullptr, in salvageDebugInfo()
2617 Builder.CreateStore(Storage, Cached); in salvageDebugInfo()
2619 Storage = Cached; in salvageDebugInfo()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaConcept.cpp328 if (auto *Cached = SatisfactionCache.FindNodeOrInsertPos(ID, InsertPos)) { in CheckConstraintSatisfaction() local
329 OutSatisfaction = *Cached; in CheckConstraintSatisfaction()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp2049 auto Cached = ClangModules.find(PCMfile); in registerModuleReference() local
2050 if (Cached != ClangModules.end()) { in registerModuleReference()
2054 if (!Quiet && Options.Verbose && (Cached->second != DwoId)) in registerModuleReference()
/llvm-project-15.0.7/clang/lib/Basic/
H A DDiagnostic.cpp1218 FreeList[I] = Cached + I; in DiagStorageAllocator()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h1325 void takeToks(CachedTokens &Cached) { Toks.swap(Cached); } in takeToks() argument
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp5265 auto Cached = DeclCache.find(D->getCanonicalDecl()); in EmitGlobalVariable() local
5266 if (Cached != DeclCache.end()) in EmitGlobalVariable()
5268 cast<llvm::DIGlobalVariableExpression>(Cached->second)); in EmitGlobalVariable()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp9545 Optional<bool> Cached = isCachedReachable(Fn); in isReachable() local
9546 if (Cached) in isReachable()
9547 return Cached.value(); in isReachable()