• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/

Lines Matching defs:DTU

112                                   DomTreeUpdater *DTU) {
135 if (DTU)
136 DTU->applyUpdatesPermissive({{DominatorTree::Delete, BB, OldDest}});
211 if (DTU)
212 DTU->applyUpdatesPermissive(
240 if (DTU)
250 if (DTU)
260 if (DTU)
261 DTU->applyUpdatesPermissive(Updates);
308 if (DTU)
321 if (DTU)
344 if (DTU)
345 DTU->applyUpdatesPermissive(Updates);
679 DomTreeUpdater *DTU) {
702 if (DTU)
703 DTU->applyUpdatesPermissive({{DominatorTree::Delete, Pred, BB}});
707 DomTreeUpdater *DTU) {
725 // DTU updates: Collect all the edges that enter
729 if (DTU) {
763 if (DTU) {
767 "applying corresponding DTU updates.");
768 DTU->applyUpdatesPermissive(Updates);
769 DTU->deleteBB(PredBB);
772 if (ReplaceEntryBB && DTU->hasDomTree()) {
776 DTU->recalculate(*(DestBB->getParent()));
781 PredBB->eraseFromParent(); // Nuke BB if DTU is nullptr.
986 DomTreeUpdater *DTU) {
1040 if (DTU) {
1096 // Clear the successor list of BB to match updates applying to DTU later.
1101 "applying corresponding DTU updates.");
1103 if (DTU) {
1104 DTU->applyUpdatesPermissive(Updates);
1105 DTU->deleteBB(BB);
1936 bool PreserveLCSSA, DomTreeUpdater *DTU,
1946 if (DTU)
1950 if (DTU)
1973 if (DTU)
1974 DTU->applyUpdatesPermissive(Updates);
2004 void llvm::changeToCall(InvokeInst *II, DomTreeUpdater *DTU) {
2019 if (DTU)
2020 DTU->applyUpdatesPermissive({{DominatorTree::Delete, BB, UnwindDestBB}});
2063 DomTreeUpdater *DTU = nullptr) {
2088 changeToUnreachable(CI, false, false, DTU);
2105 false, DTU);
2113 changeToUnreachable(CI, /*UseLLVMTrap=*/false, false, DTU);
2123 changeToUnreachable(CI->getNextNode(), false, false, DTU);
2142 changeToUnreachable(SI, true, false, DTU);
2156 changeToUnreachable(II, true, false, DTU);
2166 if (DTU)
2167 DTU->applyUpdatesPermissive(
2170 changeToCall(II, DTU);
2216 Changed |= ConstantFoldTerminator(BB, true, nullptr, DTU);
2224 void llvm::removeUnwindEdge(BasicBlock *BB, DomTreeUpdater *DTU) {
2228 changeToCall(II, DTU);
2256 if (DTU)
2257 DTU->applyUpdatesPermissive({{DominatorTree::Delete, BB, UnwindDest}});
2263 bool llvm::removeUnreachableBlocks(Function &F, DomTreeUpdater *DTU,
2266 bool Changed = markAliveBlocks(F, Reachable, DTU);
2287 // their internal references. Update DTU if available.
2293 if (DTU)
2297 if (DTU) {
2307 "applying corresponding DTU updates.");
2311 if (DTU) {
2312 DTU->applyUpdatesPermissive(Updates);
2315 if (DTU->isBBPendingDeletion(BB))
2319 DTU->deleteBB(BB);