• Home
  • Raw
  • Download

Lines Matching refs:getParent

155   const MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo();  in hasVectorOperands()
204 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in tryChangeVGPRtoSGPRinCopy()
212 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy()
215 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy()
299 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(AMDGPU::COPY), in foldVGPRCopyIntoRegSequence()
308 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(Opc), in foldVGPRCopyIntoRegSequence()
392 const MachineBasicBlock *MBBFrom = From->getParent(); in isReachable()
393 const MachineBasicBlock *MBBTo = To->getParent(); in isReachable()
463 const MachineBasicBlock *MBBFrom = From->getParent(); in hoistAndMergeSGPRInits()
464 const MachineBasicBlock *MBBTo = To->getParent(); in hoistAndMergeSGPRInits()
479 MDT.properlyDominates(Clobber->getParent(), MBBTo)); in hoistAndMergeSGPRInits()
493 << printMBBReference(*MI2->getParent()) << " " << *MI2); in hoistAndMergeSGPRInits()
503 << printMBBReference(*MI1->getParent()) << " " << *MI1); in hoistAndMergeSGPRInits()
510 auto *MBB = MDT.findNearestCommonDominator(MI1->getParent(), in hoistAndMergeSGPRInits()
511 MI2->getParent()); in hoistAndMergeSGPRInits()
521 << printMBBReference(*MI1->getParent()) << " " << *MI1 in hoistAndMergeSGPRInits()
523 << printMBBReference(*MI2->getParent()) << " to " in hoistAndMergeSGPRInits()
524 << printMBBReference(*I->getParent()) << " " << *MI2); in hoistAndMergeSGPRInits()
525 I->getParent()->splice(I, MI2->getParent(), MI2); in hoistAndMergeSGPRInits()
555 auto MBB = MI->getParent(); in hoistAndMergeSGPRInits()
568 TII->isSchedulingBoundary(*R, MBB, *MBB->getParent())) in hoistAndMergeSGPRInits()
642 assert((!NewBB || NewBB == I->getParent()) && in runOnMachineFunction()
665 assert((!NewBB || NewBB == I->getParent()) && in runOnMachineFunction()
681 assert((!NewBB || NewBB == I->getParent()) && in runOnMachineFunction()
701 assert((!NewBB || NewBB == I->getParent()) && in runOnMachineFunction()
721 assert((!NewBB || NewBB == I->getParent()) && in runOnMachineFunction()
779 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in runOnMachineFunction()
810 const MachineInstr *UseMI = Use.getParent(); in processPHINode()
883 MachineFunction *MF = MI.getParent()->getParent(); in processPHINode()