aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-04-27 11:11:45 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-04-27 11:11:45 +0000
commit886cd84f722ea56f91855aad6d70f88b9cee059a (patch)
tree5f1f64dd213b78b4b9122f2cd3032963c065bd34 /gcc/tree-flow.h
parent07ab2b1b27330b441efdf35bf31f1b2c99dc4ebc (diff)
downloadgcc-886cd84f722ea56f91855aad6d70f88b9cee059a.zip
gcc-886cd84f722ea56f91855aad6d70f88b9cee059a.tar.gz
gcc-886cd84f722ea56f91855aad6d70f88b9cee059a.tar.bz2
tree-switch-conversion.c (struct switch_conv_info): Add range_max, reorganize some fields and update comments.
gcc/ * tree-switch-conversion.c (struct switch_conv_info): Add range_max, reorganize some fields and update comments. Rename bit_test_uniq and bit_test_count to uniq resp. count. Remove bit_test_bb. (collect_switch_conv_info): New function, collects info about a GIMPLE_SWITCH into a struct switch_conv_info. (check_range): Simplify to use pre-recorded info. Fix think-o in range-branch ratio check. (check_process_case): Remove function. (check_all_empty_except_final): New function, verifies that all non-final basic blocks are empty. (process_switch): Simplify to use pre-recorded info. Call collect_switch_conv_info to do that. Assert that degenerate switch statements have been cleaned up. From-SVN: r186901
Diffstat (limited to 'gcc/tree-flow.h')
0 files changed, 0 insertions, 0 deletions