snu-sf / crellvm-tests

0 stars 0 forks source link

Let statistics.py show success/fail/unknown counts for each optimization #41

Closed aqjune closed 8 years ago

aqjune commented 8 years ago

기존에 있던 statistics.py가 최적화 별로 success/fail/unknown 개수를 출력할 수 있도록 수정했습니다.

후에 제 python 스크립트가 더 좋은 테스터기를 만드는데 많이 도움이 되었으면 좋겠읍니다

TOTAL : 366, SUCCESS : 366, FAIL : 0, UNKNOWN : 0
clang(opt) FAILURE : 0
lowering FAILURE : 0
add_comm_sub    : 1 time(s) appeared (all success)
add_const_not   : 2 time(s) appeared (all success)
add_dist_sub    : 2 time(s) appeared (all success)
add_mask        : 1 time(s) appeared (all success)
add_onebit      : 1 time(s) appeared (all success)
add_select_zero         : 2 time(s) appeared (all success)
add_select_zero2        : 2 time(s) appeared (all success)
add_shift       : 1 time(s) appeared (all success)
add_signbit     : 1 time(s) appeared (all success)
add_sub         : 1 time(s) appeared (all success)
add_zext_bool   : 2 time(s) appeared (all success)
and_de_morgan   : 1 time(s) appeared (all success)
associativity_add       : 3 time(s) appeared (all success)
dead_code_elim  : 284 time(s) appeared (all success)
div_sub_rem     : 2 time(s) appeared (all success)
mul_bool        : 1 time(s) appeared (all success)
mul_mone        : 1 time(s) appeared (all success)
mul_neg         : 3 time(s) appeared (all success)
mul_shl         : 2 time(s) appeared (all success)
or_or   : 2 time(s) appeared (all success)
or_or2  : 2 time(s) appeared (all success)
or_xor  : 4 time(s) appeared (all success)
or_xor2         : 12 time(s) appeared (all success)
sdiv_mone       : 1 time(s) appeared (all success)
select_bop_fold         : 9 time(s) appeared (all success)
sink_inst       : 1 time(s) appeared (all success)
srem_neg        : 1 time(s) appeared (all success)
sub_add         : 3 time(s) appeared (all success)
sub_const_add   : 2 time(s) appeared (all success)
sub_const_not   : 2 time(s) appeared (all success)
sub_mone        : 1 time(s) appeared (all success)
sub_onebit      : 1 time(s) appeared (all success)
sub_remove      : 2 time(s) appeared (all success)
sub_sdiv        : 3 time(s) appeared (all success)
sub_shl         : 5 time(s) appeared (all success)
udiv_zext       : 1 time(s) appeared (all success)
urem_zext       : 1 time(s) appeared (all success)