Lines Matching defs:CLHS
98 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);
99 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
101 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
564 if (auto *CLHS = dyn_cast<Constant>(Op0)) {
575 return ConstantFoldFPInstOperands(Opcode, CLHS, CRHS, Q.DL, Q.CxtI);
577 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL);
3745 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
3747 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
4031 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS))
4033 if (CLHS->getPointerOperandType() == CRHS->getPointerOperandType() &&
4034 Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) ==
4035 Q.DL.getTypeSizeInBits(CLHS->getType()))
4036 if (auto *C = computePointerICmp(Pred, CLHS->getPointerOperand(),
4067 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
4069 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI,