Lines Matching refs:SrcReg2
2285 analyzeCompare(const MachineInstr *MI, unsigned &SrcReg, unsigned &SrcReg2, in analyzeCompare() argument
2292 SrcReg2 = 0; in analyzeCompare()
2299 SrcReg2 = MI->getOperand(1).getReg(); in analyzeCompare()
2306 SrcReg2 = 0; in analyzeCompare()
2359 unsigned SrcReg2, int ImmValue, in isRedundantFlagInstr() argument
2366 OI->getOperand(2).getReg() == SrcReg2) || in isRedundantFlagInstr()
2367 (OI->getOperand(1).getReg() == SrcReg2 && in isRedundantFlagInstr()
2389 optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
2427 if (SrcReg2 != 0) in optimizeCompareInstr()
2456 if (isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr()
2573 if (SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()