Lines Matching refs:CmpInstr
5044 bool X86InstrInfo::optimizeCompareInstr(MachineInstr &CmpInstr, unsigned SrcReg, in optimizeCompareInstr() argument
5050 switch (CmpInstr.getOpcode()) { in optimizeCompareInstr()
5067 if (!MRI->use_nodbg_empty(CmpInstr.getOperand(0).getReg())) in optimizeCompareInstr()
5070 switch (CmpInstr.getOpcode()) { in optimizeCompareInstr()
5088 CmpInstr.setDesc(get(NewOpcode)); in optimizeCompareInstr()
5089 CmpInstr.RemoveOperand(0); in optimizeCompareInstr()
5102 MachineBasicBlock::iterator I = CmpInstr, Def = MI; in optimizeCompareInstr()
5107 if (IsCmpZero && MI->getParent() != CmpInstr.getParent()) in optimizeCompareInstr()
5149 RE = CmpInstr.getParent() == MI->getParent() in optimizeCompareInstr()
5151 : CmpInstr.getParent()->rend(); in optimizeCompareInstr()
5157 isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, Instr)) { in optimizeCompareInstr()
5193 MachineBasicBlock::iterator E = CmpInstr.getParent()->end(); in optimizeCompareInstr()
5284 MachineBasicBlock *MBB = CmpInstr.getParent(); in optimizeCompareInstr()
5324 CmpInstr.eraseFromParent(); in optimizeCompareInstr()