Lines Matching refs:MDT
122 MachineDominatorTree *MDT; member in __anon8637e2150111::SIFixSGPRCopies
409 MachineDominatorTree &MDT) { in isReachable() argument
410 if (MDT.dominates(From, To)) in isReachable()
440 MachineDominatorTree &MDT, in hoistAndMergeSGPRInits() argument
482 assert(MDT.dominates(&*To, &*From)); in hoistAndMergeSGPRInits()
484 auto interferes = [&MDT, From, To](MachineInstr* &Clobber) -> bool { in hoistAndMergeSGPRInits()
487 bool MayClobberFrom = isReachable(Clobber, &*From, MBBTo, MDT); in hoistAndMergeSGPRInits()
488 bool MayClobberTo = isReachable(Clobber, &*To, MBBTo, MDT); in hoistAndMergeSGPRInits()
499 MDT.dominates(Clobber, &*From) && in hoistAndMergeSGPRInits()
500 MDT.dominates(Clobber, &*To)) || in hoistAndMergeSGPRInits()
501 MDT.properlyDominates(Clobber->getParent(), MBBTo)); in hoistAndMergeSGPRInits()
511 if (MDT.dominates(MI1, MI2)) { in hoistAndMergeSGPRInits()
521 } else if (MDT.dominates(MI2, MI1)) { in hoistAndMergeSGPRInits()
532 auto *MBB = MDT.findNearestCommonDominator(MI1->getParent(), in hoistAndMergeSGPRInits()
615 MDT = &getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree(); in runOnMachineFunction()
778 hoistAndMergeSGPRInits(AMDGPU::M0, *MRI, TRI, *MDT, TII); in runOnMachineFunction()
832 TII->legalizeOperands(MI, MDT); in processPHINode()
894 TII->moveToVALU(worklist, MDT); in lowerSpecialCase()
1048 TII->moveToVALU(Copies, MDT); in lowerVGPR2SGPRCopies()