Lines Matching refs:CLHS
133 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);
134 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
136 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
604 if (auto *CLHS = dyn_cast<Constant>(Op0)) {
606 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL);
3228 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
3230 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
3461 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS))
3463 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) ==
3464 Q.DL.getTypeSizeInBits(CLHS->getType()) &&
3468 Q.IIQ, CLHS->getPointerOperand(),
3523 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
3525 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);