Lines Matching defs:CLHS
140 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);
141 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
143 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
610 if (auto *CLHS = dyn_cast<Constant>(Op0)) {
621 return ConstantFoldFPInstOperands(Opcode, CLHS, CRHS, Q.DL, Q.CxtI);
623 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL);
3757 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
3759 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
4037 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS))
4039 if (CLHS->getPointerOperandType() == CRHS->getPointerOperandType() &&
4040 Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) ==
4041 Q.DL.getTypeSizeInBits(CLHS->getType()))
4042 if (auto *C = computePointerICmp(Pred, CLHS->getPointerOperand(),
4074 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
4076 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI,