Lines Matching refs:CRHS
140 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
141 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
144 CRHS == LHS; in isSameCompare()
611 if (auto *CRHS = dyn_cast<Constant>(Op1)) { in foldOrCommuteConstant() local
621 return ConstantFoldFPInstOperands(Opcode, CLHS, CRHS, Q.DL, Q.CxtI); in foldOrCommuteConstant()
623 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
3758 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in simplifyICmpInst() local
3759 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in simplifyICmpInst()
4038 if (auto *CRHS = dyn_cast<PtrToIntOperator>(RHS)) in simplifyICmpInst() local
4039 if (CLHS->getPointerOperandType() == CRHS->getPointerOperandType() && in simplifyICmpInst()
4043 CRHS->getPointerOperand(), Q)) in simplifyICmpInst()
4075 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in simplifyFCmpInst() local
4076 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI, in simplifyFCmpInst()