Lines Matching refs:CmpInstr
2359 optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
2373 if (UI->getParent() != CmpInstr->getParent()) continue; in optimizeCompareInstr()
2386 MachineBasicBlock::iterator I = CmpInstr, E = MI, in optimizeCompareInstr()
2387 B = CmpInstr->getParent()->begin(); in optimizeCompareInstr()
2400 else if (MI->getParent() != CmpInstr->getParent() || CmpValue != 0) { in optimizeCompareInstr()
2405 if (CmpInstr->getOpcode() == ARM::CMPri || in optimizeCompareInstr()
2406 CmpInstr->getOpcode() == ARM::t2CMPri) in optimizeCompareInstr()
2426 if (isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr()
2491 I = CmpInstr; in optimizeCompareInstr()
2492 E = CmpInstr->getParent()->end(); in optimizeCompareInstr()
2581 MachineBasicBlock *MBB = CmpInstr->getParent(); in optimizeCompareInstr()
2592 CmpInstr->eraseFromParent(); in optimizeCompareInstr()