Lines Matching refs:RHSResult
54 EvalResult RHSResult;
55 std::tie(RHSResult, RemainingExpr) =
57 if (RHSResult.hasError())
58 return handleError(Expr, RHSResult);
62 if (LHSResult.getValue() != RHSResult.getValue()) {
65 << " != " << format("0x%" PRIx64, RHSResult.getValue())
184 const EvalResult &RHSResult) const {
189 return EvalResult(LHSResult.getValue() + RHSResult.getValue());
191 return EvalResult(LHSResult.getValue() - RHSResult.getValue());
193 return EvalResult(LHSResult.getValue() & RHSResult.getValue());
195 return EvalResult(LHSResult.getValue() | RHSResult.getValue());
197 return EvalResult(LHSResult.getValue() << RHSResult.getValue());
199 return EvalResult(LHSResult.getValue() >> RHSResult.getValue());
649 EvalResult RHSResult;
650 std::tie(RHSResult, RemainingExpr) = evalSimpleExpr(RemainingExpr, PCtx);
653 if (RHSResult.hasError())
654 return std::make_pair(RHSResult, RemainingExpr);
658 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult));