Lines Matching refs:LHSResult
44 EvalResult LHSResult;
45 std::tie(LHSResult, RemainingExpr) =
47 if (LHSResult.hasError())
48 return handleError(Expr, LHSResult);
62 if (LHSResult.getValue() != RHSResult.getValue()) {
64 << format("0x%" PRIx64, LHSResult.getValue())
183 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult,
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());
631 EvalResult LHSResult;
633 std::tie(LHSResult, RemainingExpr) = LHSAndRemaining;
637 if (LHSResult.hasError() || RemainingExpr == "")
638 return std::make_pair(LHSResult, RemainingExpr);
646 return std::make_pair(LHSResult, RemainingExpr);
658 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult));