Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1367 std::vector<const BlockT *> ReachableBlocks;
1368 findReachableBlocks(ReachableBlocks);
1369 if (ReachableBlocks.empty())
1376 auto Freq = std::vector<Scaled64>(ReachableBlocks.size());
1378 for (size_t I = 0; I < ReachableBlocks.size(); I++) {
1379 const BlockT *BB = ReachableBlocks[I];
1387 << " with " << ReachableBlocks.size() << " blocks\n");
1397 initTransitionProbabilities(ReachableBlocks, BlockIndex, ProbMatrix);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp639 SmallPtrSet<const BasicBlock *, 8> ReachableBlocks; member in __anonb3555ec80211::NewGVN
1583 if (!ReachableBlocks.count(DefiningInst->getParent())) in performSymbolicLoadEvaluation()
2477 if (ReachableBlocks.insert(To).second) { in updateReachableEdge()
3012 ReachableBlocks.clear(); in cleanupTables()
3246 bool Result = ReachableBlocks.count(Pair.first->getBlock()); in verifyMemoryCongruency()
3424 bool BlockReachable = ReachableBlocks.count(CurrBlock); in iterateTouchedInstructions()
3515 ReachableBlocks.insert(&F.getEntryBlock()); in runGVN()
3539 return !ReachableBlocks.count(&BB); in runGVN()
3681 if (!ReachableBlocks.contains(IBlock)) in convertClassToDFSOrdered()
3944 assert((!ReachableBlocks.count(cast<Instruction>(M)->getParent()) || in eliminateInstructions()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1234 assert(ReachableBlocks.empty() && "ReachableBlocks already filled"); in fillReachableBlocks()
1237 ReachableBlocks.insert(&Cfg->getEntry()); in fillReachableBlocks()
1245 if (isa_and_nonnull<SwitchCase>(L) && ReachableBlocks.insert(B).second) in fillReachableBlocks()
1253 if (B && ReachableBlocks.insert(B).second) in fillReachableBlocks()
1261 assert(!ReachableBlocks.empty() && "ReachableBlocks empty"); in checkFallThroughIntoBlock()
1285 if (!ReachableBlocks.count(P)) { in checkFallThroughIntoBlock()
1384 llvm::SmallPtrSet<const CFGBlock *, 16> ReachableBlocks; member in __anon9476153b0811::FallthroughMapper
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp937 SmallPtrSet<BasicBlock *, 16> ReachableBlocks; in CloneAndPruneIntoFromInst() local
942 if (ReachableBlocks.insert(BB).second) in CloneAndPruneIntoFromInst()
948 if (!ReachableBlocks.contains(&BB)) in CloneAndPruneIntoFromInst()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp14392 SmallPtrSet<BasicBlock *, 16> ReachableBlocks; in verify() local
14393 SE2.getReachableBlocks(ReachableBlocks, F); in verify()
14419 if (!ReachableBlocks.contains(L->getHeader())) in verify()
14485 if (!ReachableBlocks.contains(I->getParent())) in verify()