Lines Matching defs:DTU

92            "applying corresponding DTU updates.");
96 void llvm::DeleteDeadBlock(BasicBlock *BB, DomTreeUpdater *DTU,
98 DeleteDeadBlocks({BB}, DTU, KeepOneInputPHIs);
101 void llvm::DeleteDeadBlocks(ArrayRef <BasicBlock *> BBs, DomTreeUpdater *DTU,
113 detachDeadBlocks(BBs, DTU ? &Updates : nullptr, KeepOneInputPHIs);
115 if (DTU)
116 DTU->applyUpdates(Updates);
119 if (DTU)
120 DTU->deleteBB(BB);
125 bool llvm::EliminateUnreachableBlocks(Function &F, DomTreeUpdater *DTU,
140 DeleteDeadBlocks(DeadBlocks, DTU, KeepOneInputPHIs);
180 bool llvm::MergeBlockIntoPredecessor(BasicBlock *BB, DomTreeUpdater *DTU,
238 assert(!DTU && "cannot use both DT and DTU for updates");
247 // DTU update: Collect all the edges that exit BB.
250 if (DTU) {
251 assert(!DT && "cannot use both DT and DTU for updates");
324 if (DTU)
325 DTU->applyUpdates(Updates);
334 DeleteDeadBlock(BB, DTU);
340 SmallPtrSetImpl<BasicBlock *> &MergeBlocks, Loop *L, DomTreeUpdater *DTU,
351 if (MergeBlockIntoPredecessor(Dest, DTU, LI)) {
913 DomTreeUpdater DTU(DT, DomTreeUpdater::UpdateStrategy::Lazy);
920 DTU.applyUpdates(Updates);
921 DTU.flush();
1028 DomTreeUpdater *DTU, DominatorTree *DT,
1034 DTU ? DTU : (DT ? &LocalDTU : nullptr), LI, MSSAU,
1052 if (DTU) {
1064 DTU->applyUpdates(Updates);
1087 return SplitBlockImpl(Old, SplitPt, /*DTU=*/nullptr, DT, LI, MSSAU, BBName,
1091 DomTreeUpdater *DTU, LoopInfo *LI,
1094 return SplitBlockImpl(Old, SplitPt, DTU, /*DT=*/nullptr, LI, MSSAU, BBName,
1099 DomTreeUpdater *DTU, LoopInfo *LI,
1117 if (DTU) {
1130 DTU->applyUpdates(DTUpdates);
1135 MSSAU->applyUpdates(DTUpdates, DTU->getDomTree());
1144 /// Invalidates DFS Numbering when DTU or DT is provided.
1147 DomTreeUpdater *DTU, DominatorTree *DT,
1151 if (DTU) {
1154 if (NewBB->isEntryBlock() && DTU->hasDomTree()) {
1158 DTU->recalculate(*NewBB->getParent());
1170 DTU->applyUpdates(Updates);
1190 if (DTU && DTU->hasDomTree())
1191 DT = &DTU->getDomTree();
1325 DomTreeUpdater *DTU, DominatorTree *DT, LoopInfo *LI,
1330 const char *Suffix, DomTreeUpdater *DTU,
1344 DTU, DT, LI, MSSAU, PreserveLCSSA);
1394 UpdateAnalysisInformation(BB, NewBB, Preds, DTU, DT, LI, MSSAU, PreserveLCSSA,
1423 return SplitBlockPredecessorsImpl(BB, Preds, Suffix, /*DTU=*/nullptr, DT, LI,
1429 DomTreeUpdater *DTU, LoopInfo *LI,
1432 return SplitBlockPredecessorsImpl(BB, Preds, Suffix, DTU,
1439 DomTreeUpdater *DTU, DominatorTree *DT, LoopInfo *LI,
1465 UpdateAnalysisInformation(OrigBB, NewBB1, Preds, DTU, DT, LI, MSSAU,
1501 UpdateAnalysisInformation(OrigBB, NewBB2, NewBB2Preds, DTU, DT, LI, MSSAU,
1542 DomTreeUpdater *DTU, LoopInfo *LI,
1546 NewBBs, DTU, /*DT=*/nullptr, LI, MSSAU,
1552 DomTreeUpdater *DTU) {
1602 if (DTU)
1603 DTU->applyUpdates({{DominatorTree::Delete, Pred, BB}});
1612 DomTreeUpdater *DTU, LoopInfo *LI,
1617 /* UnreachableElse */ false, BranchWeights, DTU, LI);
1625 DomTreeUpdater *DTU, LoopInfo *LI,
1630 /* UnreachableElse */ Unreachable, BranchWeights, DTU, LI);
1638 DomTreeUpdater *DTU, LoopInfo *LI) {
1643 /* UnreachableElse */ false, BranchWeights, DTU, LI);
1652 MDNode *BranchWeights, DomTreeUpdater *DTU, LoopInfo *LI) {
1661 if (DTU) {
1705 if (DTU) {
1716 DTU->applyUpdates(Updates);
2147 DomTreeUpdater *DTU, SmallVectorImpl<BasicBlock *> &GuardBlocks,
2154 if (DTU) {
2173 if (DTU) {
2189 DTU->applyUpdates(Updates);