Home
last modified time | relevance | path

Searched refs:ParseExpression (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp267 static ExprAST *ParseExpression();
285 ExprAST *Arg = ParseExpression(); in ParseIdentifierExpr()
313 ExprAST *V = ParseExpression(); in ParseParenExpr()
327 ExprAST *Cond = ParseExpression(); in ParseIfExpr()
334 ExprAST *Then = ParseExpression(); in ParseIfExpr()
342 ExprAST *Else = ParseExpression(); in ParseIfExpr()
363 ExprAST *Start = ParseExpression(); in ParseForExpr()
369 ExprAST *End = ParseExpression(); in ParseForExpr()
376 Step = ParseExpression(); in ParseForExpr()
384 ExprAST *Body = ParseExpression(); in ParseForExpr()
[all …]
H A Dtoy.cpp268 static ExprAST *ParseExpression();
286 ExprAST *Arg = ParseExpression(); in ParseIdentifierExpr()
314 ExprAST *V = ParseExpression(); in ParseParenExpr()
328 ExprAST *Cond = ParseExpression(); in ParseIfExpr()
335 ExprAST *Then = ParseExpression(); in ParseIfExpr()
343 ExprAST *Else = ParseExpression(); in ParseIfExpr()
364 ExprAST *Start = ParseExpression(); in ParseForExpr()
370 ExprAST *End = ParseExpression(); in ParseForExpr()
377 Step = ParseExpression(); in ParseForExpr()
385 ExprAST *Body = ParseExpression(); in ParseForExpr()
[all …]
/llvm-project/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp282 static ExprAST *ParseExpression();
300 ExprAST *Arg = ParseExpression(); in ParseIdentifierExpr()
328 ExprAST *V = ParseExpression(); in ParseParenExpr()
342 ExprAST *Cond = ParseExpression(); in ParseIfExpr()
349 ExprAST *Then = ParseExpression(); in ParseIfExpr()
357 ExprAST *Else = ParseExpression(); in ParseIfExpr()
378 ExprAST *Start = ParseExpression(); in ParseForExpr()
384 ExprAST *End = ParseExpression(); in ParseForExpr()
391 Step = ParseExpression(); in ParseForExpr()
399 ExprAST *Body = ParseExpression(); in ParseForExpr()
[all …]
H A Dtoy.cpp289 static ExprAST *ParseExpression();
307 ExprAST *Arg = ParseExpression(); in ParseIdentifierExpr()
335 ExprAST *V = ParseExpression(); in ParseParenExpr()
349 ExprAST *Cond = ParseExpression(); in ParseIfExpr()
356 ExprAST *Then = ParseExpression(); in ParseIfExpr()
364 ExprAST *Else = ParseExpression(); in ParseIfExpr()
385 ExprAST *Start = ParseExpression(); in ParseForExpr()
391 ExprAST *End = ParseExpression(); in ParseForExpr()
398 Step = ParseExpression(); in ParseForExpr()
406 ExprAST *Body = ParseExpression(); in ParseForExpr()
[all …]
/llvm-project/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp281 static std::unique_ptr<ExprAST> ParseExpression();
293 auto V = ParseExpression(); in ParseParenExpr()
319 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
344 auto Cond = ParseExpression(); in ParseIfExpr()
352 auto Then = ParseExpression(); in ParseIfExpr()
361 auto Else = ParseExpression(); in ParseIfExpr()
383 auto Start = ParseExpression(); in ParseForExpr()
390 auto End = ParseExpression(); in ParseForExpr()
398 Step = ParseExpression(); in ParseForExpr()
407 auto Body = ParseExpression(); in ParseForExpr()
478 static std::unique_ptr<ExprAST> ParseExpression() { ParseExpression() function
[all...]
/llvm-project/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp195 static std::unique_ptr<ExprAST> ParseExpression();
207 auto V = ParseExpression(); in ParseParenExpr()
233 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
310 static std::unique_ptr<ExprAST> ParseExpression() { in ParseExpression() function
349 if (auto E = ParseExpression()) in ParseDefinition()
356 if (auto E = ParseExpression()) { in ParseTopLevelExpr()
/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp311 static std::unique_ptr<ExprAST> ParseExpression();
323 auto V = ParseExpression(); in ParseParenExpr()
349 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
374 auto Cond = ParseExpression(); in ParseIfExpr()
382 auto Then = ParseExpression(); in ParseIfExpr()
391 auto Else = ParseExpression(); in ParseIfExpr()
413 auto Start = ParseExpression(); in ParseForExpr()
420 auto End = ParseExpression(); in ParseForExpr()
428 Step = ParseExpression(); in ParseForExpr()
437 auto Body = ParseExpression(); in ParseForExpr()
575 static std::unique_ptr<ExprAST> ParseExpression() { ParseExpression() function
[all...]
/llvm-project/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp337 static std::unique_ptr<ExprAST> ParseExpression();
349 auto V = ParseExpression(); in ParseParenExpr()
375 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
400 auto Cond = ParseExpression(); in ParseIfExpr()
408 auto Then = ParseExpression(); in ParseIfExpr()
417 auto Else = ParseExpression(); in ParseIfExpr()
439 auto Start = ParseExpression(); in ParseForExpr()
446 auto End = ParseExpression(); in ParseForExpr()
454 Step = ParseExpression(); in ParseForExpr()
463 auto Body = ParseExpression(); in ParseForExpr()
601 static std::unique_ptr<ExprAST> ParseExpression() { ParseExpression() function
[all...]
/llvm-project/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp333 static std::unique_ptr<ExprAST> ParseExpression();
345 auto V = ParseExpression(); in ParseParenExpr()
371 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
396 auto Cond = ParseExpression(); in ParseIfExpr()
404 auto Then = ParseExpression(); in ParseIfExpr()
413 auto Else = ParseExpression(); in ParseIfExpr()
435 auto Start = ParseExpression(); in ParseForExpr()
442 auto End = ParseExpression(); in ParseForExpr()
450 Step = ParseExpression(); in ParseForExpr()
459 auto Body = ParseExpression(); in ParseForExpr()
[all …]
/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp328 static std::unique_ptr<ExprAST> ParseExpression();
340 auto V = ParseExpression(); in ParseParenExpr()
366 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
391 auto Cond = ParseExpression(); in ParseIfExpr()
399 auto Then = ParseExpression(); in ParseIfExpr()
408 auto Else = ParseExpression(); in ParseIfExpr()
430 auto Start = ParseExpression(); in ParseForExpr()
437 auto End = ParseExpression(); in ParseForExpr()
445 Step = ParseExpression(); in ParseForExpr()
454 auto Body = ParseExpression(); in ParseForExpr()
592 static std::unique_ptr<ExprAST> ParseExpression() { ParseExpression() function
[all...]
/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp328 static std::unique_ptr<ExprAST> ParseExpression();
340 auto V = ParseExpression(); in ParseParenExpr()
366 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
391 auto Cond = ParseExpression(); in ParseIfExpr()
399 auto Then = ParseExpression(); in ParseIfExpr()
408 auto Else = ParseExpression(); in ParseIfExpr()
430 auto Start = ParseExpression(); in ParseForExpr()
437 auto End = ParseExpression(); in ParseForExpr()
445 Step = ParseExpression(); in ParseForExpr()
454 auto Body = ParseExpression(); in ParseForExpr()
592 static std::unique_ptr<ExprAST> ParseExpression() { ParseExpression() function
[all...]
/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp328 static std::unique_ptr<ExprAST> ParseExpression();
340 auto V = ParseExpression(); in ParseParenExpr()
366 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
391 auto Cond = ParseExpression(); in ParseIfExpr()
399 auto Then = ParseExpression(); in ParseIfExpr()
408 auto Else = ParseExpression(); in ParseIfExpr()
430 auto Start = ParseExpression(); in ParseForExpr()
437 auto End = ParseExpression(); in ParseForExpr()
445 Step = ParseExpression(); in ParseForExpr()
454 auto Body = ParseExpression(); in ParseForExpr()
592 static std::unique_ptr<ExprAST> ParseExpression() { ParseExpression() function
[all...]
/llvm-project/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp315 static std::unique_ptr<ExprAST> ParseExpression();
327 auto V = ParseExpression(); in ParseParenExpr()
353 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
378 auto Cond = ParseExpression(); in ParseIfExpr()
386 auto Then = ParseExpression(); in ParseIfExpr()
395 auto Else = ParseExpression(); in ParseIfExpr()
417 auto Start = ParseExpression(); in ParseForExpr()
424 auto End = ParseExpression(); in ParseForExpr()
432 Step = ParseExpression(); in ParseForExpr()
441 auto Body = ParseExpression(); in ParseForExpr()
528 static std::unique_ptr<ExprAST> ParseExpression() { ParseExpression() function
[all...]
/llvm-project/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp266 static ExprAST *ParseExpression();
284 ExprAST *Arg = ParseExpression(); in ParseIdentifierExpr()
312 ExprAST *V = ParseExpression(); in ParseParenExpr()
326 ExprAST *Cond = ParseExpression(); in ParseIfExpr()
333 ExprAST *Then = ParseExpression(); in ParseIfExpr()
341 ExprAST *Else = ParseExpression(); in ParseIfExpr()
362 ExprAST *Start = ParseExpression(); in ParseForExpr()
368 ExprAST *End = ParseExpression(); in ParseForExpr()
375 Step = ParseExpression(); in ParseForExpr()
383 ExprAST *Body = ParseExpression(); in ParseForExpr()
[all …]
/llvm-project/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp441 static std::unique_ptr<ExprAST> ParseExpression();
453 auto V = ParseExpression(); in ParseParenExpr()
481 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
508 auto Cond = ParseExpression(); in ParseIfExpr()
516 auto Then = ParseExpression(); in ParseIfExpr()
525 auto Else = ParseExpression(); in ParseIfExpr()
547 auto Start = ParseExpression(); in ParseForExpr()
554 auto End = ParseExpression(); in ParseForExpr()
562 Step = ParseExpression(); in ParseForExpr()
571 auto Body = ParseExpression(); in ParseForExpr()
[all …]
/llvm-project/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp308 static ExprAST *ParseExpression();
326 ExprAST *Arg = ParseExpression(); in ParseIdentifierExpr()
354 ExprAST *V = ParseExpression(); in ParseParenExpr()
368 ExprAST *Cond = ParseExpression(); in ParseIfExpr()
375 ExprAST *Then = ParseExpression(); in ParseIfExpr()
383 ExprAST *Else = ParseExpression(); in ParseIfExpr()
404 ExprAST *Start = ParseExpression(); in ParseForExpr()
410 ExprAST *End = ParseExpression(); in ParseForExpr()
417 Step = ParseExpression(); in ParseForExpr()
425 ExprAST *Body = ParseExpression(); in ParseForExpr()
[all …]
/llvm-project/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp222 static std::unique_ptr<ExprAST> ParseExpression();
234 auto V = ParseExpression(); in ParseParenExpr()
260 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
337 static std::unique_ptr<ExprAST> ParseExpression() { in ParseExpression() function
376 if (auto E = ParseExpression()) in ParseDefinition()
383 if (auto E = ParseExpression()) { in ParseTopLevelExpr()
/llvm-project/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp236 static std::unique_ptr<ExprAST> ParseExpression();
248 auto V = ParseExpression(); in ParseParenExpr()
274 if (auto Arg = ParseExpression()) in ParseIdentifierExpr()
351 static std::unique_ptr<ExprAST> ParseExpression() { in ParseExpression() function
390 if (auto E = ParseExpression()) in ParseDefinition()
397 if (auto E = ParseExpression()) { in ParseTopLevelExpr()
/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp564 ExprResult Expr(ParseExpression()); in ParseExprStatement()
568 // ParseExpression does not consume any tokens. in ParseExprStatement()
670 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseSEHExceptBlock()
1378 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition()
1977 ExprResult Cond = ParseExpression();
2123 ForRangeInfo.RangeExpr = ParseExpression(); in ParseForStatement()
2174 Collection = ParseExpression(); in ParseForStatement()
2181 Value = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseForStatement()
2212 Collection = ParseExpression(); in ParseForStatement()
2285 ExprResult SecondExpr = ParseExpression(); in ParseForStatement()
[all...]
H A DParseExpr.cpp134 ExprResult Parser::ParseExpression(TypeCastState isTypeCast) { in ParseExpression()
530 TernaryMiddle = ParseExpression(); in ParseRHSOfBinaryExpression()
1825 Res = ParseExpression(); in ParseCastExpression()
2072 Idx = ParseExpression(); // May be a comma expression in ParsePostfixExpressionSuffix()
2099 Length = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParsePostfixExpressionSuffix()
2109 Length = ParseExpression(); in ParsePostfixExpressionSuffix()
2120 Stride = ParseExpression(); in ParsePostfixExpressionSuffix()
2843 Res = ParseExpression(); in ParseBuiltinPrimaryExpression()
3348 Actions.CorrectDelayedTyposInExpr(ParseExpression());
3373 Result = ParseExpression(MaybeTypeCas
132 ExprResult Parser::ParseExpression(TypeCastState isTypeCast) { ParseExpression() function in Parser
[all...]
H A DParseExprCXX.cpp1708 ExprResult Result = ParseExpression();
1772 Result = ParseExpression(); in ParseCXXTypeid()
1823 Result = ParseExpression();
2207 ExprResult Expr = ParseExpression(); // expression in ParseCXXCondition()
3454 First ? (Tok.is(tok::r_square) ? ExprResult() : ParseExpression()) in ParseDirectNewDeclarator()
3694 Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseRequiresExpression()
3863 Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseRequiresExpression()
4035 ExprResult DimExpr = ParseExpression(); in ParseExpressionTrait()
4062 ExprResult Expr = ParseExpression(); in ParseCXXAmbiguousParenExpression()
4205 Result = ParseExpression();
[all...]
H A DParseObjc.cpp2507 Res = ParseExpression();
2531 ExprResult operand(ParseExpression()); in ParseObjCSynchronizedStmt()
2841 // ParseExpression does not consume any tokens. in ParseObjCAtExpression()
2991 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseObjCXXMessageReceiver()
3182 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression());
/llvm-project/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl02.rst233 auto V = ParseExpression();
254 by calling ``ParseExpression`` (we will soon see that
255 ``ParseExpression`` can call ``ParseParenExpr``). This is powerful
284 if (auto Arg = ParseExpression())
417 static std::unique_ptr<ExprAST> ParseExpression() {
608 if (auto E = ParseExpression())
633 if (auto E = ParseExpression()) {
H A DLangImpl05.rst126 auto Cond = ParseExpression();
134 auto Then = ParseExpression();
143 auto Else = ParseExpression();
533 auto Start = ParseExpression();
540 auto End = ParseExpression();
548 Step = ParseExpression();
557 auto Body = ParseExpression();
/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1517 ParseExpression(const MCExpr *&EVal) { ParseExpression() function in PPCAsmParser

12