Lines Matching refs:UseInst
225 MachineInstr *UseInst = MO.getParent(); in AllUsesDominatedByBlock() local
226 unsigned OpNo = &MO - &UseInst->getOperand(0); in AllUsesDominatedByBlock()
227 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock()
228 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
229 UseInst->getOperand(OpNo+1).getMBB() == DefMBB)) { in AllUsesDominatedByBlock()
239 MachineInstr *UseInst = MO.getParent(); in AllUsesDominatedByBlock() local
240 unsigned OpNo = &MO - &UseInst->getOperand(0); in AllUsesDominatedByBlock()
241 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock()
242 if (UseInst->isPHI()) { in AllUsesDominatedByBlock()
245 UseBlock = UseInst->getOperand(OpNo+1).getMBB(); in AllUsesDominatedByBlock()
515 for (MachineInstr &UseInst : MRI->use_nodbg_instructions(Reg)) { in isProfitableToSinkTo()
516 MachineBasicBlock *UseBlock = UseInst.getParent(); in isProfitableToSinkTo()
517 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()