Lines Matching defs:RHSVal
14131 const APValue &RHSVal = RHSResult.Val;
14134 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) {
14136 addOrSubLValueAsInteger(Result, RHSVal.getInt(), E->getOpcode() == BO_Sub);
14142 RHSVal.isLValue() && LHSVal.isInt()) {
14143 Result = RHSVal;
14148 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) {
14151 !RHSVal.getLValueOffset().isZero())
14154 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>();
14170 if (!LHSVal.isInt() || !RHSVal.isInt())
14179 RHSVal.getInt(), Value))
15404 llvm::APSInt RHSVal = RHSFX.getValue();
15408 unsigned Amt = RHSVal.getLimitedValue(ShiftBW - 1);
15412 if (RHSVal.isNegative())
15413 Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHSVal;
15414 else if (Amt != RHSVal)
15416 << RHSVal << E->getType() << ShiftBW;