Home
last modified time | relevance | path

Searched refs:DominatingBlock (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp530 const auto *DominatingBlock = WideningPoint->getParent(); in computeWideningScore() local
534 assert(DT.isReachableFromEntry(DominatingBlock) && "Unreached code"); in computeWideningScore()
536 assert(DT.dominates(DominatingBlock, DominatedBlock) && "No dominance"); in computeWideningScore()
537 while (DominatedBlock != DominatingBlock) { in computeWideningScore()
538 auto *LikelySucc = GetLikelySuccessor(DominatingBlock); in computeWideningScore()
543 if (!DT.properlyDominates(DominatingBlock, LikelySucc)) in computeWideningScore()
545 DominatingBlock = LikelySucc; in computeWideningScore()
549 if (DominatedBlock == DominatingBlock) in computeWideningScore()
553 if (!DT.dominates(DominatingBlock, DominatedBlock)) in computeWideningScore()
558 return !PDT->dominates(DominatedBlock, DominatingBlock); in computeWideningScore()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp1112 BasicBlock *DominatingBlock = DefToReplaceUses.getBlock(); in applyInsertUpdates()
1117 if (!DT.dominates(DominatingBlock, DominatedBlock)) in applyInsertUpdates()
1121 if (!DT.dominates(DominatingBlock, DominatedBlock)) { in applyInsertUpdates()
1137 BasicBlock *DominatingBlock = DefToReplaceUses.getBlock(); applyInsertUpdates() local