Lines Matching refs:BinOpToken
86 enum class BinOpToken : unsigned { enum in llvm::RuntimeDyldCheckerExprEval
151 std::pair<BinOpToken, StringRef> parseBinOpToken(StringRef Expr) const { in parseBinOpToken()
153 return std::make_pair(BinOpToken::Invalid, ""); in parseBinOpToken()
157 return std::make_pair(BinOpToken::ShiftLeft, Expr.substr(2).ltrim()); in parseBinOpToken()
159 return std::make_pair(BinOpToken::ShiftRight, Expr.substr(2).ltrim()); in parseBinOpToken()
162 BinOpToken Op; in parseBinOpToken()
165 return std::make_pair(BinOpToken::Invalid, Expr); in parseBinOpToken()
167 Op = BinOpToken::Add; in parseBinOpToken()
170 Op = BinOpToken::Sub; in parseBinOpToken()
173 Op = BinOpToken::BitwiseAnd; in parseBinOpToken()
176 Op = BinOpToken::BitwiseOr; in parseBinOpToken()
183 EvalResult computeBinOpResult(BinOpToken Op, const EvalResult &LHSResult, in computeBinOpResult()
188 case BinOpToken::Add: in computeBinOpResult()
190 case BinOpToken::Sub: in computeBinOpResult()
192 case BinOpToken::BitwiseAnd: in computeBinOpResult()
194 case BinOpToken::BitwiseOr: in computeBinOpResult()
196 case BinOpToken::ShiftLeft: in computeBinOpResult()
198 case BinOpToken::ShiftRight: in computeBinOpResult()
641 BinOpToken BinOp; in evalComplexExpr()
645 if (BinOp == BinOpToken::Invalid) in evalComplexExpr()