m2isar.metamodel.utils.control_flow

Retain structural evidence that execution simplification can erase.

Functions

stray_break_locations(statement[, loop_depth])

stray_control_flow_locations(statement[, loop_depth])

preserve_break_scope(operation)

stray_continue_locations(statement[, loop_depth])

lower_for_continues(statement, updates)

Execute for-loop updates before continues belonging to this loop.

Module Contents

stray_break_locations(statement, loop_depth=0)[source]
stray_control_flow_locations(statement, loop_depth=0)[source]
preserve_break_scope(operation)[source]
stray_continue_locations(statement, loop_depth=0)[source]
lower_for_continues(statement, updates)[source]

Execute for-loop updates before continues belonging to this loop.