Home
last modified time | relevance | path

Searched refs:inloop (Results 1 – 3 of 3) sorted by relevance

/external/one-true-awk/
Dawkgram.y36 int inloop = 0; /* = 1 if in while, for, do */ variable
124 FOR '(' opt_simple_stmt ';' opt_nl pattern ';' opt_nl opt_simple_stmt rparen {inloop++;} stmt
125 { --inloop; $$ = stat4(FOR, $3, notnull($6), $9, $12); }
126 | FOR '(' opt_simple_stmt ';' ';' opt_nl opt_simple_stmt rparen {inloop++;} stmt
127 { --inloop; $$ = stat4(FOR, $3, NIL, $7, $10); }
128 | FOR '(' varname IN varname rparen {inloop++;} stmt
129 { --inloop; $$ = stat3(IN, $3, makearr($5), $8); }
317 BREAK st { if (!inloop) SYNTAX("break illegal outside of loops");
319 | CONTINUE st { if (!inloop) SYNTAX("continue illegal outside of loops");
321 | do {inloop++;} stmt {--inloop;} WHILE '(' pattern ')' st
[all …]
Dytab.c77 int inloop = 0; /* = 1 if in while, for, do */ variable
2562 {inloop++;} in yyparse()
2568 …{ --inloop; (yyval.p) = stat4(FOR, (yyvsp[-9].p), notnull((yyvsp[-6].p)), (yyvsp[-3].p), (yyvsp[0]… in yyparse()
2574 {inloop++;} in yyparse()
2580 { --inloop; (yyval.p) = stat4(FOR, (yyvsp[-7].p), NIL, (yyvsp[-3].p), (yyvsp[0].p)); } in yyparse()
2586 {inloop++;} in yyparse()
2592 { --inloop; (yyval.p) = stat3(IN, (yyvsp[-5].p), makearr((yyvsp[-3].p)), (yyvsp[0].p)); } in yyparse()
2992 { if (!inloop) SYNTAX("break illegal outside of loops"); in yyparse()
2999 { if (!inloop) SYNTAX("continue illegal outside of loops"); in yyparse()
3006 {inloop++;} in yyparse()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/PhiValues/
Dbasic.ll125 br i1 undef, label %ifelse, label %inloop
133 %phi1 = phi i32 [ %phi3, %if ], [ 0, %else ], [ %phi2, %inloop ]
134 br i1 undef, label %inloop, label %end
136 inloop:
149 %phi3 = phi i32 [ 2, %entry ], [ 3, %inloop ]