Lines Matching refs:CmpInstr
4275 optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
4280 switch (CmpInstr->getOpcode()) { in optimizeCompareInstr()
4297 if (!MRI->use_nodbg_empty(CmpInstr->getOperand(0).getReg())) in optimizeCompareInstr()
4300 switch (CmpInstr->getOpcode()) { in optimizeCompareInstr()
4318 CmpInstr->setDesc(get(NewOpcode)); in optimizeCompareInstr()
4319 CmpInstr->RemoveOperand(0); in optimizeCompareInstr()
4332 MachineBasicBlock::iterator I = CmpInstr, Def = MI; in optimizeCompareInstr()
4337 if (IsCmpZero && MI->getParent() != CmpInstr->getParent()) in optimizeCompareInstr()
4378 RE = CmpInstr->getParent() == MI->getParent() ? in optimizeCompareInstr()
4380 CmpInstr->getParent()->rend(); in optimizeCompareInstr()
4386 isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, Instr)) { in optimizeCompareInstr()
4422 MachineBasicBlock::iterator E = CmpInstr->getParent()->end(); in optimizeCompareInstr()
4513 MachineBasicBlock *MBB = CmpInstr->getParent(); in optimizeCompareInstr()
4554 CmpInstr->eraseFromParent(); in optimizeCompareInstr()