Lines Matching refs:CLHS
134 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
135 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
137 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
605 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() local
616 return ConstantFoldFPInstOperands(Opcode, CLHS, CRHS, Q.DL, Q.CxtI); in foldOrCommuteConstant()
618 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
3590 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in simplifyICmpInst() local
3592 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in simplifyICmpInst()
3851 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in simplifyICmpInst() local
3853 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in simplifyICmpInst()
3854 Q.DL.getTypeSizeInBits(CLHS->getType()) && in simplifyICmpInst()
3857 if (auto *C = computePointerICmp(Pred, CLHS->getPointerOperand(), in simplifyICmpInst()
3889 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in simplifyFCmpInst() local
3891 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI, in simplifyFCmpInst()