Lines Matching refs:CLHS
140 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
141 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
143 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
610 if (auto *CLHS = dyn_cast<Constant>(Op0)) { 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()
3757 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in simplifyICmpInst() local
3759 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in simplifyICmpInst()
4037 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in simplifyICmpInst() local
4039 if (CLHS->getPointerOperandType() == CRHS->getPointerOperandType() && in simplifyICmpInst()
4040 Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in simplifyICmpInst()
4041 Q.DL.getTypeSizeInBits(CLHS->getType())) in simplifyICmpInst()
4042 if (auto *C = computePointerICmp(Pred, CLHS->getPointerOperand(), in simplifyICmpInst()
4074 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in simplifyFCmpInst() local
4076 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI, in simplifyFCmpInst()