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()
609 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() local
620 return ConstantFoldFPInstOperands(Opcode, CLHS, CRHS, Q.DL, Q.CxtI); in foldOrCommuteConstant()
622 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
3742 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in simplifyICmpInst() local
3744 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in simplifyICmpInst()
4030 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in simplifyICmpInst() local
4032 if (CLHS->getPointerOperandType() == CRHS->getPointerOperandType() && in simplifyICmpInst()
4033 Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in simplifyICmpInst()
4034 Q.DL.getTypeSizeInBits(CLHS->getType())) in simplifyICmpInst()
4035 if (auto *C = computePointerICmp(Pred, CLHS->getPointerOperand(), in simplifyICmpInst()
4067 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in simplifyFCmpInst() local
4069 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI, in simplifyFCmpInst()