Lines Matching refs:MDT

86   MachineDominatorTree *MDT;  member in __anond94587450111::SIFixSGPRCopies
373 MachineDominatorTree &MDT) { in isReachable() argument
374 if (MDT.dominates(From, To)) in isReachable()
404 MachineDominatorTree &MDT, in hoistAndMergeSGPRInits() argument
445 assert(MDT.dominates(&*To, &*From)); in hoistAndMergeSGPRInits()
447 auto interferes = [&MDT, From, To](MachineInstr* &Clobber) -> bool { in hoistAndMergeSGPRInits()
450 bool MayClobberFrom = isReachable(Clobber, &*From, MBBTo, MDT); in hoistAndMergeSGPRInits()
451 bool MayClobberTo = isReachable(Clobber, &*To, MBBTo, MDT); in hoistAndMergeSGPRInits()
462 MDT.dominates(Clobber, &*From) && in hoistAndMergeSGPRInits()
463 MDT.dominates(Clobber, &*To)) || in hoistAndMergeSGPRInits()
464 MDT.properlyDominates(Clobber->getParent(), MBBTo)); in hoistAndMergeSGPRInits()
474 if (MDT.dominates(MI1, MI2)) { in hoistAndMergeSGPRInits()
484 } else if (MDT.dominates(MI2, MI1)) { in hoistAndMergeSGPRInits()
495 auto *MBB = MDT.findNearestCommonDominator(MI1->getParent(), in hoistAndMergeSGPRInits()
578 MDT = &getAnalysis<MachineDominatorTree>(); in runOnMachineFunction()
686 MachineBasicBlock *NewBB = TII->moveToVALU(MI, MDT); in runOnMachineFunction()
706 MachineBasicBlock *NewBB = TII->moveToVALU(MI, MDT); in runOnMachineFunction()
784 hoistAndMergeSGPRInits(AMDGPU::M0, *MRI, TRI, *MDT, TII); in runOnMachineFunction()
891 TII->legalizeOperands(MI, MDT); in processPHINode()
912 TII->moveToVALU(MI, MDT); in lowerSpecialCase()
1119 TII->moveToVALU(*C.Copy, MDT); in lowerVGPR2SGPRCopies()