Lines Matching refs:UseInst
261 MachineInstr *UseInst = MO.getParent(); in AllUsesDominatedByBlock() local
262 unsigned OpNo = &MO - &UseInst->getOperand(0); in AllUsesDominatedByBlock()
263 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock()
264 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
265 UseInst->getOperand(OpNo+1).getMBB() == DefMBB)) { in AllUsesDominatedByBlock()
275 MachineInstr *UseInst = MO.getParent(); in AllUsesDominatedByBlock() local
276 unsigned OpNo = &MO - &UseInst->getOperand(0); in AllUsesDominatedByBlock()
277 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock()
278 if (UseInst->isPHI()) { in AllUsesDominatedByBlock()
281 UseBlock = UseInst->getOperand(OpNo+1).getMBB(); in AllUsesDominatedByBlock()
537 for (MachineInstr &UseInst : MRI->use_nodbg_instructions(Reg)) { in isProfitableToSinkTo()
538 MachineBasicBlock *UseBlock = UseInst.getParent(); in isProfitableToSinkTo()
539 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()