Lines Matching refs:CLHS
129 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
130 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
132 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
559 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() local
561 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
3314 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyICmpInst() local
3316 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyICmpInst()
3543 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in SimplifyICmpInst() local
3545 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in SimplifyICmpInst()
3546 Q.DL.getTypeSizeInBits(CLHS->getType()) && in SimplifyICmpInst()
3550 Q.IIQ, CLHS->getPointerOperand(), in SimplifyICmpInst()
3605 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyFCmpInst() local
3607 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyFCmpInst()