Lines Matching refs:LHSResult
45 EvalResult LHSResult; in evaluate() local
46 std::tie(LHSResult, RemainingExpr) = in evaluate()
48 if (LHSResult.hasError()) in evaluate()
49 return handleError(Expr, LHSResult); in evaluate()
63 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate()
65 << format("0x%" PRIx64, LHSResult.getValue()) in evaluate()
185 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult, in computeBinOpResult() argument
191 return EvalResult(LHSResult.getValue() + RHSResult.getValue()); in computeBinOpResult()
193 return EvalResult(LHSResult.getValue() - RHSResult.getValue()); in computeBinOpResult()
195 return EvalResult(LHSResult.getValue() & RHSResult.getValue()); in computeBinOpResult()
197 return EvalResult(LHSResult.getValue() | RHSResult.getValue()); in computeBinOpResult()
199 return EvalResult(LHSResult.getValue() << RHSResult.getValue()); in computeBinOpResult()
201 return EvalResult(LHSResult.getValue() >> RHSResult.getValue()); in computeBinOpResult()
633 EvalResult LHSResult; in evalComplexExpr() local
635 std::tie(LHSResult, RemainingExpr) = LHSAndRemaining; in evalComplexExpr()
639 if (LHSResult.hasError() || RemainingExpr == "") in evalComplexExpr()
640 return std::make_pair(LHSResult, RemainingExpr); in evalComplexExpr()
648 return std::make_pair(LHSResult, RemainingExpr); in evalComplexExpr()
660 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult)); in evalComplexExpr()