Lines Matching refs:CLHS
139 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
140 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
142 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
605 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() local
607 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
3375 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyICmpInst() local
3377 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyICmpInst()
3633 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in SimplifyICmpInst() local
3635 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in SimplifyICmpInst()
3636 Q.DL.getTypeSizeInBits(CLHS->getType()) && in SimplifyICmpInst()
3639 if (auto *C = computePointerICmp(Pred, CLHS->getPointerOperand(), in SimplifyICmpInst()
3695 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyFCmpInst() local
3697 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyFCmpInst()