Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1372 std::vector<const BlockT *> ReachableBlocks;
1373 findReachableBlocks(ReachableBlocks);
1374 if (ReachableBlocks.empty())
1381 auto Freq = std::vector<Scaled64>(ReachableBlocks.size());
1383 for (size_t I = 0; I < ReachableBlocks.size(); I++) {
1384 const BlockT *BB = ReachableBlocks[I];
1392 << " with " << ReachableBlocks.size() << " blocks\n");
1402 initTransitionProbabilities(ReachableBlocks, BlockIndex, ProbMatrix);
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp627 SmallPtrSet<const BasicBlock *, 8> ReachableBlocks; member in __anon4fc2225d0211::NewGVN
1542 if (!ReachableBlocks.count(DefiningInst->getParent())) in performSymbolicLoadEvaluation()
2438 if (ReachableBlocks.insert(To).second) { in updateReachableEdge()
2974 ReachableBlocks.clear(); in cleanupTables()
3214 bool Result = ReachableBlocks.count(Pair.first->getBlock()); in verifyMemoryCongruency()
3393 bool BlockReachable = ReachableBlocks.count(CurrBlock); in iterateTouchedInstructions()
3484 ReachableBlocks.insert(&F.getEntryBlock()); in runGVN()
3508 return !ReachableBlocks.count(&BB); in runGVN()
3650 if (!ReachableBlocks.contains(IBlock)) in convertClassToDFSOrdered()
3913 assert((!ReachableBlocks.count(cast<Instruction>(M)->getParent()) || in eliminateInstructions()
/src/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 (isa_and_nonnull<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 __anon54a1acb00811::FallthroughMapper
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp880 SmallPtrSet<BasicBlock *, 16> ReachableBlocks; in CloneAndPruneIntoFromInst() local
885 if (ReachableBlocks.insert(BB).second) in CloneAndPruneIntoFromInst()
891 if (!ReachableBlocks.contains(&BB)) in CloneAndPruneIntoFromInst()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp14200 SmallPtrSet<BasicBlock *, 16> ReachableBlocks; in verify() local
14201 SE2.getReachableBlocks(ReachableBlocks, F); in verify()
14227 if (!ReachableBlocks.contains(L->getHeader())) in verify()
14293 if (!ReachableBlocks.contains(I->getParent())) in verify()