Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp154 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
155 if (TokPrec <= 0) return -1; in GetTokPrecedence()
156 return TokPrec; in GetTokPrecedence()
236 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
240 if (TokPrec < ExprPrec) in ParseBinOpRHS()
254 if (TokPrec < NextPrec) { in ParseBinOpRHS()
255 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp174 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
175 if (TokPrec <= 0) return -1; in GetTokPrecedence()
176 return TokPrec; in GetTokPrecedence()
257 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
261 if (TokPrec < ExprPrec) in ParseBinOpRHS()
275 if (TokPrec < NextPrec) { in ParseBinOpRHS()
276 RHS = ParseBinOpRHS(TokPrec+1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp230 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
231 if (TokPrec <= 0) in GetTokPrecedence()
233 return TokPrec; in GetTokPrecedence()
410 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
414 if (TokPrec < ExprPrec) in ParseBinOpRHS()
429 if (TokPrec < NextPrec) { in ParseBinOpRHS()
430 RHS = ParseBinOpRHS(TokPrec + 1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp190 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
191 if (TokPrec <= 0) in GetTokPrecedence()
193 return TokPrec; in GetTokPrecedence()
290 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
294 if (TokPrec < ExprPrec) in ParseBinOpRHS()
309 if (TokPrec < NextPrec) { in ParseBinOpRHS()
310 RHS = ParseBinOpRHS(TokPrec + 1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp261 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
262 if (TokPrec <= 0) in GetTokPrecedence()
264 return TokPrec; in GetTokPrecedence()
457 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
461 if (TokPrec < ExprPrec) in ParseBinOpRHS()
476 if (TokPrec < NextPrec) { in ParseBinOpRHS()
477 RHS = ParseBinOpRHS(TokPrec + 1, 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/Chapter7/
Dtoy.cpp281 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
282 if (TokPrec <= 0) in GetTokPrecedence()
284 return TokPrec; in GetTokPrecedence()
528 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
532 if (TokPrec < ExprPrec) in ParseBinOpRHS()
547 if (TokPrec < NextPrec) { in ParseBinOpRHS()
548 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/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/Chapter8/
Dtoy.cpp423 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
424 if (TokPrec <= 0) in GetTokPrecedence()
426 return TokPrec; in GetTokPrecedence()
674 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
678 if (TokPrec < ExprPrec) in ParseBinOpRHS()
694 if (TokPrec < NextPrec) { in ParseBinOpRHS()
695 RHS = ParseBinOpRHS(TokPrec + 1, RHS); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp272 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
273 if (TokPrec <= 0) return -1; in GetTokPrecedence()
274 return TokPrec; in GetTokPrecedence()
510 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
514 if (TokPrec < ExprPrec) in ParseBinOpRHS()
529 if (TokPrec < NextPrec) { in ParseBinOpRHS()
530 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/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp272 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
273 if (TokPrec <= 0) return -1; in GetTokPrecedence()
274 return TokPrec; in GetTokPrecedence()
510 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
514 if (TokPrec < ExprPrec) in ParseBinOpRHS()
529 if (TokPrec < NextPrec) { in ParseBinOpRHS()
530 RHS = ParseBinOpRHS(TokPrec+1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp272 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
273 if (TokPrec <= 0) return -1; in GetTokPrecedence()
274 return TokPrec; in GetTokPrecedence()
510 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
514 if (TokPrec < ExprPrec) in ParseBinOpRHS()
529 if (TokPrec < NextPrec) { in ParseBinOpRHS()
530 RHS = ParseBinOpRHS(TokPrec+1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp273 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence() local
274 if (TokPrec <= 0) return -1; in GetTokPrecedence()
275 return TokPrec; in GetTokPrecedence()
511 int TokPrec = GetTokPrecedence(); in ParseBinOpRHS() local
515 if (TokPrec < ExprPrec) in ParseBinOpRHS()
530 if (TokPrec < NextPrec) { in ParseBinOpRHS()
531 RHS = ParseBinOpRHS(TokPrec+1, std::move(RHS)); in ParseBinOpRHS()
/external/llvm/docs/tutorial/
DLangImpl2.rst350 int TokPrec = BinopPrecedence[CurTok];
351 if (TokPrec <= 0) return -1;
352 return TokPrec;
422 int TokPrec = GetTokPrecedence();
426 if (TokPrec < ExprPrec)
462 if (TokPrec < NextPrec) {
500 if (TokPrec < NextPrec) {
501 RHS = ParseBinOpRHS(TokPrec+1, RHS);
514 specifying "TokPrec+1" as the minimum precedence required for it to
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1149 unsigned TokPrec = getBinOpPrecedence(Lexer.getKind(), Kind); in parseBinOpRHS() local
1153 if (TokPrec < Precedence) in parseBinOpRHS()
1167 if (TokPrec < NextTokPrec && parseBinOpRHS(TokPrec + 1, RHS, EndLoc)) in parseBinOpRHS()