Home
last modified time | relevance | path

Searched refs:ReachableBlocks (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1375 std::vector<const BlockT *> ReachableBlocks;
1376 findReachableBlocks(ReachableBlocks);
1377 if (ReachableBlocks.empty())
1384 auto Freq = std::vector<Scaled64>(ReachableBlocks.size());
1386 for (size_t I = 0; I < ReachableBlocks.size(); I++) {
1387 const BlockT *BB = ReachableBlocks[I];
1395 << " with " << ReachableBlocks.size() << " blocks\n");
1405 initTransitionProbabilities(ReachableBlocks, BlockIndex, ProbMatrix);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp623 SmallPtrSet<const BasicBlock *, 8> ReachableBlocks; member in __anonb04f3f7e0211::NewGVN
1538 if (!ReachableBlocks.count(DefiningInst->getParent())) in performSymbolicLoadEvaluation()
2434 if (ReachableBlocks.insert(To).second) { in updateReachableEdge()
2974 ReachableBlocks.clear(); in cleanupTables()
3214 bool Result = ReachableBlocks.count(Pair.first->getBlock()); in verifyMemoryCongruency()
3392 bool BlockReachable = ReachableBlocks.count(CurrBlock); in iterateTouchedInstructions()
3481 ReachableBlocks.insert(&F.getEntryBlock()); in runGVN()
3503 return !ReachableBlocks.count(&BB); in runGVN()
3645 if (!ReachableBlocks.contains(IBlock)) in convertClassToDFSOrdered()
3908 assert((!ReachableBlocks.count(cast<Instruction>(M)->getParent()) || in eliminateInstructions()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1092 assert(ReachableBlocks.empty() && "ReachableBlocks already filled"); in fillReachableBlocks()
1095 ReachableBlocks.insert(&Cfg->getEntry()); in fillReachableBlocks()
1103 if (L && isa<SwitchCase>(L) && ReachableBlocks.insert(B).second) in fillReachableBlocks()
1111 if (B && ReachableBlocks.insert(B).second) in fillReachableBlocks()
1119 assert(!ReachableBlocks.empty() && "ReachableBlocks empty"); in checkFallThroughIntoBlock()
1142 if (!ReachableBlocks.count(P)) { in checkFallThroughIntoBlock()
1244 llvm::SmallPtrSet<const CFGBlock *, 16> ReachableBlocks; member in __anon1607c2310811::FallthroughMapper
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp908 SmallPtrSet<BasicBlock *, 16> ReachableBlocks; in CloneAndPruneIntoFromInst() local
913 if (ReachableBlocks.insert(BB).second) in CloneAndPruneIntoFromInst()
919 if (!ReachableBlocks.contains(&BB)) in CloneAndPruneIntoFromInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp14038 SmallPtrSet<BasicBlock *, 16> ReachableBlocks; in verify() local
14039 SE2.getReachableBlocks(ReachableBlocks, F); in verify()
14065 if (!ReachableBlocks.contains(L->getHeader())) in verify()
14131 if (!ReachableBlocks.contains(I->getParent())) in verify()