Lines Matching refs:CmpInstr
2392 MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
2405 if (UI->getParent() != CmpInstr.getParent()) in optimizeCompareInstr()
2419 MachineBasicBlock::iterator I = CmpInstr, E = MI, in optimizeCompareInstr()
2420 B = CmpInstr.getParent()->begin(); in optimizeCompareInstr()
2433 else if (MI->getParent() != CmpInstr.getParent() || CmpValue != 0) { in optimizeCompareInstr()
2438 if (CmpInstr.getOpcode() == ARM::CMPri || in optimizeCompareInstr()
2439 CmpInstr.getOpcode() == ARM::t2CMPri) in optimizeCompareInstr()
2459 if (isRedundantFlagInstr(&CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr()
2524 I = CmpInstr; in optimizeCompareInstr()
2525 E = CmpInstr.getParent()->end(); in optimizeCompareInstr()
2614 MachineBasicBlock *MBB = CmpInstr.getParent(); in optimizeCompareInstr()
2625 CmpInstr.eraseFromParent(); in optimizeCompareInstr()