Lines Matching refs:loop

124 def loop(statements):
125 """Create a loop containing the given statements as its loop
129 return [['loop', [], [], [], [], statements]]
439 loop(simple_if('b', simple_if('c', break_(), continue_()),
445 # loop gets guarded so that it only executes if the return
452 loop(simple_if('b', simple_if('c', [], continue_()),
461 doc_string = """If a loop contains an unconditional break at the bottom of
464 loop(assign_x('a', const_float(1)) +
471 doc_string = """If a loop contains a conditional break at the bottom of it,
475 loop(assign_x('a', const_float(1)) +
482 doc_string = """If a loop contains a conditional break at the bottom of it,
487 loop(assign_x('a', const_float(1)) +
495 doc_string = """If a loop contains a conditional break at the bottom of it,
499 loop(assign_x('a', const_float(1)) +
506 doc_string = """If a loop contains a conditional break at the bottom of it,
511 loop(assign_x('a', const_float(1)) +
519 doc_string = """If a loop contains conditional breaks and continues, and
522 of the loop after the final break is added.
525 loop(simple_if('a', (complex_if('b', continue_()) +
531 loop(declare_execute_flag() +
544 doc_string = """Normally a conditional break at the end of a loop isn't
550 loop(complex_if('a', continue_()) +
555 loop(declare_execute_flag() +
565 loop is removed.
568 loop(assign_x('a', const_float(1)) +
572 loop(assign_x('a', const_float(1)))
577 doc_string = """Test that a return of void at the end of a loop is properly
581 loop(assign_x('a', const_float(1)) +
587 loop(assign_x('a', const_float(1)) +
599 doc_string = """Test that a non-void return at the end of a loop is
603 loop(assign_x('a', const_float(1)) +
612 loop(assign_x('a', const_float(1)) +