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