Lines Matching refs:DT
494 ValueToValueMapTy &VMap, ValueToValueMapTy &LVMap, DominatorTree *DT,
517 if (DT) {
519 DT->addNewBlock(NewBB, InsertTop);
521 DomTreeNode *IDom = DT->getNode(*BB)->getIDom();
523 DT->addNewBlock(NewBB, cast<BasicBlock>(VMap[IDom->getBlock()]));
546 if (DT)
547 DT->changeImmediateDominator(InsertBot, NewLatch);
601 ScalarEvolution *SE, DominatorTree *DT,
616 if (DT) {
639 BasicBlock *BB = DT->findNearestCommonDominator(
640 DT->getNode(Edge.second)->getIDom()->getBlock(), Latch);
693 BasicBlock *InsertTop = SplitEdge(PreHeader, Header, DT, LI);
695 SplitBlock(InsertTop, InsertTop->getTerminator(), DT, LI);
697 SplitBlock(InsertBot, InsertBot->getTerminator(), DT, LI);
718 LoopBlocks, VMap, LVMap, DT, LI);
724 if (DT) {
730 DT->changeImmediateDominator(Exit.first,
733 assert(DT->verify(DominatorTree::VerificationLevel::Fast));
744 InsertBot = SplitBlock(InsertBot, InsertBot->getTerminator(), DT, LI);
779 assert(DT->verify(DominatorTree::VerificationLevel::Fast));
782 simplifyLoop(L, DT, LI, SE, AC, nullptr, PreserveLCSSA);