Lines Matching refs:MDT
122 MachineDominatorTree *MDT; member in __anonb2e8a48b0111::SIFixSGPRCopies
409 MachineDominatorTree &MDT) { in isReachable() argument
410 if (MDT.dominates(From, To)) in isReachable()
440 MachineDominatorTree &MDT, in hoistAndMergeSGPRInits() argument
481 assert(MDT.dominates(&*To, &*From)); in hoistAndMergeSGPRInits()
483 auto interferes = [&MDT, From, To](MachineInstr* &Clobber) -> bool { in hoistAndMergeSGPRInits()
486 bool MayClobberFrom = isReachable(Clobber, &*From, MBBTo, MDT); in hoistAndMergeSGPRInits()
487 bool MayClobberTo = isReachable(Clobber, &*To, MBBTo, MDT); in hoistAndMergeSGPRInits()
498 MDT.dominates(Clobber, &*From) && in hoistAndMergeSGPRInits()
499 MDT.dominates(Clobber, &*To)) || in hoistAndMergeSGPRInits()
500 MDT.properlyDominates(Clobber->getParent(), MBBTo)); in hoistAndMergeSGPRInits()
510 if (MDT.dominates(MI1, MI2)) { in hoistAndMergeSGPRInits()
520 } else if (MDT.dominates(MI2, MI1)) { in hoistAndMergeSGPRInits()
531 auto *MBB = MDT.findNearestCommonDominator(MI1->getParent(), in hoistAndMergeSGPRInits()
614 MDT = &getAnalysis<MachineDominatorTree>(); in runOnMachineFunction()
780 hoistAndMergeSGPRInits(AMDGPU::M0, *MRI, TRI, *MDT, TII); in runOnMachineFunction()
834 TII->legalizeOperands(MI, MDT); in processPHINode()
896 TII->moveToVALU(worklist, MDT); in lowerSpecialCase()
1050 TII->moveToVALU(Copies, MDT); in lowerVGPR2SGPRCopies()