Lines Matching refs:RHSReg

2996   Register RHSReg = MI.getOperand(2).getReg();  in matchHoistLogicOpWithSameOpcodeHands()  local
2999 if (!MRI.hasOneNonDBGUse(LHSReg) || !MRI.hasOneNonDBGUse(RHSReg)) in matchHoistLogicOpWithSameOpcodeHands()
3004 MachineInstr *RightHandInst = getDefIgnoringCopies(RHSReg, MRI); in matchHoistLogicOpWithSameOpcodeHands()
4615 Register RHSReg = MI.getOffsetReg(); in matchReassocConstantInnerLHS() local
4617 auto NewCst = B.buildConstant(MRI.getType(RHSReg), LHSCstOff->Value); in matchReassocConstantInnerLHS()
4622 LHSPtrAdd->getOperand(2).setReg(RHSReg); in matchReassocConstantInnerLHS()
4737 Register RHSReg = MI.getOperand(2).getReg(); in matchReassocCommBinOp() local
4739 if (tryReassocBinOp(Opc, DstReg, LHSReg, RHSReg, MatchInfo)) in matchReassocCommBinOp()
4741 if (tryReassocBinOp(Opc, DstReg, RHSReg, LHSReg, MatchInfo)) in matchReassocCommBinOp()
5800 Register RHSReg = MI.getOperand(2).getReg(); in matchCombineFSubFNegFMulToFMadOrFMA() local
5815 Register NegZ = B.buildFNeg(DstTy, RHSReg).getReg(0); in matchCombineFSubFNegFMulToFMadOrFMA()
5823 if (mi_match(RHSReg, MRI, m_GFNeg(m_MInstr(FMulMI))) && in matchCombineFSubFNegFMulToFMadOrFMA()
5824 (Aggressive || (MRI.hasOneNonDBGUse(RHSReg) && in matchCombineFSubFNegFMulToFMadOrFMA()
5847 Register RHSReg = MI.getOperand(2).getReg(); in matchCombineFSubFpExtFMulToFMadOrFMA() local
5863 Register NegZ = B.buildFNeg(DstTy, RHSReg).getReg(0); in matchCombineFSubFpExtFMulToFMadOrFMA()
5871 if (mi_match(RHSReg, MRI, m_GFPExt(m_MInstr(FMulMI))) && in matchCombineFSubFpExtFMulToFMadOrFMA()
5873 (Aggressive || MRI.hasOneNonDBGUse(RHSReg))) { in matchCombineFSubFpExtFMulToFMadOrFMA()
5900 Register RHSReg = MI.getOperand(2).getReg(); in matchCombineFSubFpExtFNegFMulToFMadOrFMA() local
5925 FMulMI->getOperand(2).getReg(), RHSReg, B); in matchCombineFSubFpExtFNegFMulToFMadOrFMA()
5933 if ((mi_match(RHSReg, MRI, m_GFPExt(m_GFNeg(m_MInstr(FMulMI)))) || in matchCombineFSubFpExtFNegFMulToFMadOrFMA()
5934 mi_match(RHSReg, MRI, m_GFNeg(m_GFPExt(m_MInstr(FMulMI))))) && in matchCombineFSubFpExtFNegFMulToFMadOrFMA()
6265 Register RHSReg = MI.getOperand(2).getReg(); in applyCommuteBinOpOperands() local
6266 MI.getOperand(1).setReg(RHSReg); in applyCommuteBinOpOperands()