Lines Matching refs:CLHS
133 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
134 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
136 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
596 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() local
598 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
3293 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyICmpInst() local
3295 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyICmpInst()
3547 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS)) in SimplifyICmpInst() local
3549 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) == in SimplifyICmpInst()
3550 Q.DL.getTypeSizeInBits(CLHS->getType()) && in SimplifyICmpInst()
3554 Q.IIQ, CLHS->getPointerOperand(), in SimplifyICmpInst()
3610 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyFCmpInst() local
3612 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyFCmpInst()