Home
last modified time | relevance | path

Searched refs:TokPrec (Results 1 – 22 of 22) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp185 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
186 if (TokPrec <= 0) in GetTokPrecedence()
188 return TokPrec; in GetTokPrecedence()
282 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
286 if (TokPrec < ExprPrec) in ParseBinOpRHS()
301 if (TokPrec < NextPrec) { in ParseBinOpRHS()
302 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp194 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
195 if (TokPrec <= 0) in GetTokPrecedence()
197 return TokPrec; in GetTokPrecedence()
292 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
296 if (TokPrec < ExprPrec) in ParseBinOpRHS()
311 if (TokPrec < NextPrec) { in ParseBinOpRHS()
312 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp203 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
204 if (TokPrec <= 0) in GetTokPrecedence()
206 return TokPrec; in GetTokPrecedence()
301 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
305 if (TokPrec < ExprPrec) in ParseBinOpRHS()
320 if (TokPrec < NextPrec) { in ParseBinOpRHS()
321 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp246 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
247 if (TokPrec <= 0) in GetTokPrecedence()
249 return TokPrec; in GetTokPrecedence()
426 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
430 if (TokPrec < ExprPrec) in ParseBinOpRHS()
445 if (TokPrec < NextPrec) { in ParseBinOpRHS()
446 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp279 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
280 if (TokPrec <= 0) in GetTokPrecedence()
282 return TokPrec; in GetTokPrecedence()
475 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
479 if (TokPrec < ExprPrec) in ParseBinOpRHS()
494 if (TokPrec < NextPrec) { in ParseBinOpRHS()
495 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp257 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
258 if (TokPrec <= 0) return -1; in GetTokPrecedence()
259 return TokPrec; in GetTokPrecedence()
475 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
479 if (TokPrec < ExprPrec) in ParseBinOpRHS()
493 if (TokPrec < NextPrec) { in ParseBinOpRHS()
494 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
Dtoy.cpp258 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
259 if (TokPrec <= 0) return -1; in GetTokPrecedence()
260 return TokPrec; in GetTokPrecedence()
476 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
480 if (TokPrec < ExprPrec) in ParseBinOpRHS()
494 if (TokPrec < NextPrec) { in ParseBinOpRHS()
495 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp272 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
273 if (TokPrec <= 0) return -1; in GetTokPrecedence()
274 return TokPrec; in GetTokPrecedence()
490 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
494 if (TokPrec < ExprPrec) in ParseBinOpRHS()
508 if (TokPrec < NextPrec) { in ParseBinOpRHS()
509 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
Dtoy.cpp279 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
280 if (TokPrec <= 0) return -1; in GetTokPrecedence()
281 return TokPrec; in GetTokPrecedence()
497 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
501 if (TokPrec < ExprPrec) in ParseBinOpRHS()
515 if (TokPrec < NextPrec) { in ParseBinOpRHS()
516 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp299 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
300 if (TokPrec <= 0) in GetTokPrecedence()
302 return TokPrec; in GetTokPrecedence()
546 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
550 if (TokPrec < ExprPrec) in ParseBinOpRHS()
565 if (TokPrec < NextPrec) { in ParseBinOpRHS()
566 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp299 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
300 if (TokPrec <= 0) in GetTokPrecedence()
302 return TokPrec; in GetTokPrecedence()
546 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
550 if (TokPrec < ExprPrec) in ParseBinOpRHS()
565 if (TokPrec < NextPrec) { in ParseBinOpRHS()
566 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp287 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
288 if (TokPrec <= 0) in GetTokPrecedence()
290 return TokPrec; in GetTokPrecedence()
534 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
538 if (TokPrec < ExprPrec) in ParseBinOpRHS()
553 if (TokPrec < NextPrec) { in ParseBinOpRHS()
554 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp299 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
300 if (TokPrec <= 0) in GetTokPrecedence()
302 return TokPrec; in GetTokPrecedence()
546 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
550 if (TokPrec < ExprPrec) in ParseBinOpRHS()
565 if (TokPrec < NextPrec) { in ParseBinOpRHS()
566 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp296 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
297 if (TokPrec <= 0) in GetTokPrecedence()
299 return TokPrec; in GetTokPrecedence()
543 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
547 if (TokPrec < ExprPrec) in ParseBinOpRHS()
562 if (TokPrec < NextPrec) { in ParseBinOpRHS()
563 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp299 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
300 if (TokPrec <= 0) in GetTokPrecedence()
302 return TokPrec; in GetTokPrecedence()
546 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
550 if (TokPrec < ExprPrec) in ParseBinOpRHS()
565 if (TokPrec < NextPrec) { in ParseBinOpRHS()
566 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp302 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
303 if (TokPrec <= 0) in GetTokPrecedence()
305 return TokPrec; in GetTokPrecedence()
549 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
553 if (TokPrec < ExprPrec) in ParseBinOpRHS()
568 if (TokPrec < NextPrec) { in ParseBinOpRHS()
569 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp256 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
257 if (TokPrec <= 0) return -1; in GetTokPrecedence()
258 return TokPrec; in GetTokPrecedence()
474 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
478 if (TokPrec < ExprPrec) in ParseBinOpRHS()
492 if (TokPrec < NextPrec) { in ParseBinOpRHS()
493 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp424 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
425 if (TokPrec <= 0) in GetTokPrecedence()
427 return TokPrec; in GetTokPrecedence()
675 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
679 if (TokPrec < ExprPrec) in ParseBinOpRHS()
695 if (TokPrec < NextPrec) { in ParseBinOpRHS()
696 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp298 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
299 if (TokPrec <= 0) return -1; in GetTokPrecedence()
300 return TokPrec; in GetTokPrecedence()
516 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
520 if (TokPrec < ExprPrec) in ParseBinOpRHS()
534 if (TokPrec < NextPrec) { in ParseBinOpRHS()
535 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
/external/llvm/docs/tutorial/
DLangImpl02.rst372 int TokPrec = BinopPrecedence[CurTok];
373 if (TokPrec <= 0) return -1;
374 return TokPrec;
446 int TokPrec = GetTokPrecedence();
450 if (TokPrec < ExprPrec)
487 if (TokPrec < NextPrec) {
526 if (TokPrec < NextPrec) {
527 RHS = ParseBinOpRHS(TokPrec+1, std::move(RHS));
542 specifying "TokPrec+1" as the minimum precedence required for it to
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1365 unsigned TokPrec = getBinOpPrecedence(Lexer.getKind(), Kind); in parseBinOpRHS() local
1369 if (TokPrec < Precedence) in parseBinOpRHS()
1383 if (TokPrec < NextTokPrec && parseBinOpRHS(TokPrec + 1, RHS, EndLoc)) in parseBinOpRHS()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp1653 unsigned TokPrec = getBinOpPrecedence(Lexer.getKind(), Kind); in parseBinOpRHS() local
1657 if (TokPrec < Precedence) in parseBinOpRHS()
1671 if (TokPrec < NextTokPrec && parseBinOpRHS(TokPrec + 1, RHS, EndLoc)) in parseBinOpRHS()