├── .gitignore ├── Makefile ├── README.md ├── reorder.py └── testcases ├── lv1 ├── 0_main.c ├── 1_comments.c ├── 2_int_dec.c ├── 3_int_oct.c ├── 4_int_hex.c ├── 5_compact.c └── 6_whitespaces.c ├── lv3 ├── 00_pos.c ├── 01_neg_0.c ├── 02_neg_2.c ├── 03_neg_max.c ├── 04_not_0.c ├── 05_not_10.c ├── 06_complex_unary.c ├── 07_add.c ├── 08_add_neg.c ├── 09_sub.c ├── 10_sub_neg.c ├── 11_mul.c ├── 12_mul_neg.c ├── 13_div.c ├── 14_div_neg.c ├── 15_mod.c ├── 16_mod_neg.c ├── 17_lt.c ├── 18_gt.c ├── 19_le.c ├── 20_ge.c ├── 21_eq.c ├── 22_ne.c ├── 23_lor.c ├── 24_land.c ├── 25_int_min.c ├── 26_parentheses.c └── 27_complex_binary.c ├── lv4 ├── 00_const.c ├── 01_const_expr.c ├── 02_multiple_consts.c ├── 03_complex_const.c ├── 04_var.c ├── 05_var_init.c ├── 06_var_expr.c ├── 07_var_main.c ├── 08_multiple_vars.c ├── 09_complex_vars.c ├── 10_assign.c ├── 11_assign_read.c ├── 12_multiple_assigns.c └── 13_complex.c ├── lv5 ├── 0_block.c ├── 1_ret_from_block.c ├── 2_blocks.c ├── 3_exp.c ├── 4_empty_exp.c ├── 5_scope.c └── 6_complex_scopes.c ├── lv6 ├── 0_if.c ├── 1_if_else.c ├── 2_multiple_if_else.c ├── 3_nested_if.c ├── 4_logical.c ├── 5_more_logical.c ├── 6_multiple_returns.c └── 7_complex.c ├── lv7 ├── 00_while.c ├── 01_while_pow.c ├── 02_while_false.c ├── 03_while_true.c ├── 04_while_if.c ├── 05_if_while.c ├── 06_nested_while.c ├── 07_break.c ├── 08_if_break.c ├── 09_continue.c ├── 10_if_continue.c └── 11_complex.c ├── lv8 ├── 00_int_func.c ├── 01_void_func.c ├── 02_params.c ├── 03_more_params.c ├── 04_param_name.c ├── 05_func_name.c ├── 06_complex_call.c ├── 07_recursion.c ├── 08_lib_funcs.c ├── 08_lib_funcs.in ├── 09_globals.c ├── 10_complex.c └── 11_short_circuit.c ├── lv9 ├── 00_local_arr_1d.c ├── 01_local_arr_nd.c ├── 02_global_arr.c ├── 03_arr_init_1d.c ├── 04_arr_init_nd.c ├── 05_global_arr_init.c ├── 06_long_array.c ├── 07_const_array.c ├── 08_arr_access.c ├── 09_const_arr_read.c ├── 10_arr_in_loop.c ├── 11_arr_params.c ├── 12_more_arr_params.c ├── 13_complex_arr_params.c ├── 14_arr_lib_funcs.c ├── 14_arr_lib_funcs.in ├── 15_sort1.c ├── 16_sort2.c ├── 17_sort3.c ├── 18_sort4.c ├── 19_sort5.c ├── 20_sort6.c ├── 21_sort7.c └── 21_sort7.in └── perf ├── 00_bitset1.c ├── 00_bitset1.in ├── 01_bitset2.c ├── 01_bitset2.in ├── 02_bitset3.c ├── 02_bitset3.in ├── 03_mm1.c ├── 03_mm1.in ├── 04_mm2.c ├── 04_mm2.in ├── 05_mm3.c ├── 05_mm3.in ├── 06_mv1.c ├── 06_mv1.in ├── 07_mv2.c ├── 07_mv2.in ├── 08_mv3.c ├── 08_mv3.in ├── 09_spmv1.c ├── 09_spmv1.in ├── 10_spmv2.c ├── 10_spmv2.in ├── 11_spmv3.c ├── 11_spmv3.in ├── 12_fft0.c ├── 12_fft0.in ├── 13_fft1.c ├── 13_fft1.in ├── 14_fft2.c ├── 14_fft2.in ├── 15_transpose0.c ├── 15_transpose0.in ├── 16_transpose1.c ├── 16_transpose1.in ├── 17_transpose2.c ├── 17_transpose2.in ├── 18_brainfuck-bootstrap.c ├── 18_brainfuck-bootstrap.in ├── 19_brainfuck-calculator.c └── 19_brainfuck-calculator.in /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/README.md -------------------------------------------------------------------------------- /reorder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/reorder.py -------------------------------------------------------------------------------- /testcases/lv1/0_main.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv1/1_comments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv1/1_comments.c -------------------------------------------------------------------------------- /testcases/lv1/2_int_dec.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 2077; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv1/3_int_oct.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 01234; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv1/4_int_hex.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 0x133fAb; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv1/5_compact.c: -------------------------------------------------------------------------------- 1 | int main(){return 1;} -------------------------------------------------------------------------------- /testcases/lv1/6_whitespaces.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv1/6_whitespaces.c -------------------------------------------------------------------------------- /testcases/lv3/00_pos.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return +2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/01_neg_0.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return -0; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/02_neg_2.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return -2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/03_neg_max.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return -2147483647; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/04_not_0.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return !0; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/05_not_10.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return !10; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/06_complex_unary.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return +-+!(!-10000); 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/07_add.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 + 2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/08_add_neg.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 + -2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/09_sub.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 - 2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/10_sub_neg.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 - -2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/11_mul.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 2 * 4; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/12_mul_neg.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 2 * -4; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/13_div.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 10 / 2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/14_div_neg.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 10 / -3; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/15_mod.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 7 % 4; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/16_mod_neg.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 7 % -4; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/17_lt.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 < 2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/18_gt.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 9 > 10; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/19_le.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 9 <= 3; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/20_ge.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 10 >= 7; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/21_eq.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 == 2; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/22_ne.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 != 0; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/23_lor.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 11 || 0; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/24_land.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 2 && 4; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/25_int_min.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return -2147483647 - 1; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/26_parentheses.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 + 2 * (3 + 4); 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv3/27_complex_binary.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 1 + 2 * (!3 || 4) < 5 != 6 && -7; 3 | } 4 | -------------------------------------------------------------------------------- /testcases/lv4/00_const.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/00_const.c -------------------------------------------------------------------------------- /testcases/lv4/01_const_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/01_const_expr.c -------------------------------------------------------------------------------- /testcases/lv4/02_multiple_consts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/02_multiple_consts.c -------------------------------------------------------------------------------- /testcases/lv4/03_complex_const.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/03_complex_const.c -------------------------------------------------------------------------------- /testcases/lv4/04_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/04_var.c -------------------------------------------------------------------------------- /testcases/lv4/05_var_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/05_var_init.c -------------------------------------------------------------------------------- /testcases/lv4/06_var_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/06_var_expr.c -------------------------------------------------------------------------------- /testcases/lv4/07_var_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/07_var_main.c -------------------------------------------------------------------------------- /testcases/lv4/08_multiple_vars.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/08_multiple_vars.c -------------------------------------------------------------------------------- /testcases/lv4/09_complex_vars.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/09_complex_vars.c -------------------------------------------------------------------------------- /testcases/lv4/10_assign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/10_assign.c -------------------------------------------------------------------------------- /testcases/lv4/11_assign_read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/11_assign_read.c -------------------------------------------------------------------------------- /testcases/lv4/12_multiple_assigns.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/12_multiple_assigns.c -------------------------------------------------------------------------------- /testcases/lv4/13_complex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv4/13_complex.c -------------------------------------------------------------------------------- /testcases/lv5/0_block.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | {} 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testcases/lv5/1_ret_from_block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv5/1_ret_from_block.c -------------------------------------------------------------------------------- /testcases/lv5/2_blocks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv5/2_blocks.c -------------------------------------------------------------------------------- /testcases/lv5/3_exp.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | 1 + 2; 3 | return 1; 4 | } 5 | -------------------------------------------------------------------------------- /testcases/lv5/4_empty_exp.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | ; 3 | return 6; 4 | } 5 | -------------------------------------------------------------------------------- /testcases/lv5/5_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv5/5_scope.c -------------------------------------------------------------------------------- /testcases/lv5/6_complex_scopes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv5/6_complex_scopes.c -------------------------------------------------------------------------------- /testcases/lv6/0_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/0_if.c -------------------------------------------------------------------------------- /testcases/lv6/1_if_else.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/1_if_else.c -------------------------------------------------------------------------------- /testcases/lv6/2_multiple_if_else.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/2_multiple_if_else.c -------------------------------------------------------------------------------- /testcases/lv6/3_nested_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/3_nested_if.c -------------------------------------------------------------------------------- /testcases/lv6/4_logical.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/4_logical.c -------------------------------------------------------------------------------- /testcases/lv6/5_more_logical.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/5_more_logical.c -------------------------------------------------------------------------------- /testcases/lv6/6_multiple_returns.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/6_multiple_returns.c -------------------------------------------------------------------------------- /testcases/lv6/7_complex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv6/7_complex.c -------------------------------------------------------------------------------- /testcases/lv7/00_while.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/00_while.c -------------------------------------------------------------------------------- /testcases/lv7/01_while_pow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/01_while_pow.c -------------------------------------------------------------------------------- /testcases/lv7/02_while_false.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/02_while_false.c -------------------------------------------------------------------------------- /testcases/lv7/03_while_true.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/03_while_true.c -------------------------------------------------------------------------------- /testcases/lv7/04_while_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/04_while_if.c -------------------------------------------------------------------------------- /testcases/lv7/05_if_while.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/05_if_while.c -------------------------------------------------------------------------------- /testcases/lv7/06_nested_while.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/06_nested_while.c -------------------------------------------------------------------------------- /testcases/lv7/07_break.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | while (1) break; 3 | return 2; 4 | } 5 | -------------------------------------------------------------------------------- /testcases/lv7/08_if_break.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/08_if_break.c -------------------------------------------------------------------------------- /testcases/lv7/09_continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/09_continue.c -------------------------------------------------------------------------------- /testcases/lv7/10_if_continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/10_if_continue.c -------------------------------------------------------------------------------- /testcases/lv7/11_complex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv7/11_complex.c -------------------------------------------------------------------------------- /testcases/lv8/00_int_func.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/00_int_func.c -------------------------------------------------------------------------------- /testcases/lv8/01_void_func.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/01_void_func.c -------------------------------------------------------------------------------- /testcases/lv8/02_params.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/02_params.c -------------------------------------------------------------------------------- /testcases/lv8/03_more_params.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/03_more_params.c -------------------------------------------------------------------------------- /testcases/lv8/04_param_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/04_param_name.c -------------------------------------------------------------------------------- /testcases/lv8/05_func_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/05_func_name.c -------------------------------------------------------------------------------- /testcases/lv8/06_complex_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/06_complex_call.c -------------------------------------------------------------------------------- /testcases/lv8/07_recursion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/07_recursion.c -------------------------------------------------------------------------------- /testcases/lv8/08_lib_funcs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/08_lib_funcs.c -------------------------------------------------------------------------------- /testcases/lv8/08_lib_funcs.in: -------------------------------------------------------------------------------- 1 | 11 32 a 2 | -------------------------------------------------------------------------------- /testcases/lv8/09_globals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/09_globals.c -------------------------------------------------------------------------------- /testcases/lv8/10_complex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/10_complex.c -------------------------------------------------------------------------------- /testcases/lv8/11_short_circuit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv8/11_short_circuit.c -------------------------------------------------------------------------------- /testcases/lv9/00_local_arr_1d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/00_local_arr_1d.c -------------------------------------------------------------------------------- /testcases/lv9/01_local_arr_nd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/01_local_arr_nd.c -------------------------------------------------------------------------------- /testcases/lv9/02_global_arr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/02_global_arr.c -------------------------------------------------------------------------------- /testcases/lv9/03_arr_init_1d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/03_arr_init_1d.c -------------------------------------------------------------------------------- /testcases/lv9/04_arr_init_nd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/04_arr_init_nd.c -------------------------------------------------------------------------------- /testcases/lv9/05_global_arr_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/05_global_arr_init.c -------------------------------------------------------------------------------- /testcases/lv9/06_long_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/06_long_array.c -------------------------------------------------------------------------------- /testcases/lv9/07_const_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/07_const_array.c -------------------------------------------------------------------------------- /testcases/lv9/08_arr_access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/08_arr_access.c -------------------------------------------------------------------------------- /testcases/lv9/09_const_arr_read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/09_const_arr_read.c -------------------------------------------------------------------------------- /testcases/lv9/10_arr_in_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/10_arr_in_loop.c -------------------------------------------------------------------------------- /testcases/lv9/11_arr_params.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/11_arr_params.c -------------------------------------------------------------------------------- /testcases/lv9/12_more_arr_params.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/12_more_arr_params.c -------------------------------------------------------------------------------- /testcases/lv9/13_complex_arr_params.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/13_complex_arr_params.c -------------------------------------------------------------------------------- /testcases/lv9/14_arr_lib_funcs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/14_arr_lib_funcs.c -------------------------------------------------------------------------------- /testcases/lv9/14_arr_lib_funcs.in: -------------------------------------------------------------------------------- 1 | 5 1 2 3 4 6 2 | -------------------------------------------------------------------------------- /testcases/lv9/15_sort1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/15_sort1.c -------------------------------------------------------------------------------- /testcases/lv9/16_sort2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/16_sort2.c -------------------------------------------------------------------------------- /testcases/lv9/17_sort3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/17_sort3.c -------------------------------------------------------------------------------- /testcases/lv9/18_sort4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/18_sort4.c -------------------------------------------------------------------------------- /testcases/lv9/19_sort5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/19_sort5.c -------------------------------------------------------------------------------- /testcases/lv9/20_sort6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/20_sort6.c -------------------------------------------------------------------------------- /testcases/lv9/21_sort7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/21_sort7.c -------------------------------------------------------------------------------- /testcases/lv9/21_sort7.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/lv9/21_sort7.in -------------------------------------------------------------------------------- /testcases/perf/00_bitset1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/00_bitset1.c -------------------------------------------------------------------------------- /testcases/perf/00_bitset1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/00_bitset1.in -------------------------------------------------------------------------------- /testcases/perf/01_bitset2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/01_bitset2.c -------------------------------------------------------------------------------- /testcases/perf/01_bitset2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/01_bitset2.in -------------------------------------------------------------------------------- /testcases/perf/02_bitset3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/02_bitset3.c -------------------------------------------------------------------------------- /testcases/perf/02_bitset3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/02_bitset3.in -------------------------------------------------------------------------------- /testcases/perf/03_mm1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/03_mm1.c -------------------------------------------------------------------------------- /testcases/perf/03_mm1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/03_mm1.in -------------------------------------------------------------------------------- /testcases/perf/04_mm2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/04_mm2.c -------------------------------------------------------------------------------- /testcases/perf/04_mm2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/04_mm2.in -------------------------------------------------------------------------------- /testcases/perf/05_mm3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/05_mm3.c -------------------------------------------------------------------------------- /testcases/perf/05_mm3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/05_mm3.in -------------------------------------------------------------------------------- /testcases/perf/06_mv1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/06_mv1.c -------------------------------------------------------------------------------- /testcases/perf/06_mv1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/06_mv1.in -------------------------------------------------------------------------------- /testcases/perf/07_mv2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/07_mv2.c -------------------------------------------------------------------------------- /testcases/perf/07_mv2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/07_mv2.in -------------------------------------------------------------------------------- /testcases/perf/08_mv3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/08_mv3.c -------------------------------------------------------------------------------- /testcases/perf/08_mv3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/08_mv3.in -------------------------------------------------------------------------------- /testcases/perf/09_spmv1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/09_spmv1.c -------------------------------------------------------------------------------- /testcases/perf/09_spmv1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/09_spmv1.in -------------------------------------------------------------------------------- /testcases/perf/10_spmv2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/10_spmv2.c -------------------------------------------------------------------------------- /testcases/perf/10_spmv2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/10_spmv2.in -------------------------------------------------------------------------------- /testcases/perf/11_spmv3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/11_spmv3.c -------------------------------------------------------------------------------- /testcases/perf/11_spmv3.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/11_spmv3.in -------------------------------------------------------------------------------- /testcases/perf/12_fft0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/12_fft0.c -------------------------------------------------------------------------------- /testcases/perf/12_fft0.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/12_fft0.in -------------------------------------------------------------------------------- /testcases/perf/13_fft1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/13_fft1.c -------------------------------------------------------------------------------- /testcases/perf/13_fft1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/13_fft1.in -------------------------------------------------------------------------------- /testcases/perf/14_fft2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/14_fft2.c -------------------------------------------------------------------------------- /testcases/perf/14_fft2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/14_fft2.in -------------------------------------------------------------------------------- /testcases/perf/15_transpose0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/15_transpose0.c -------------------------------------------------------------------------------- /testcases/perf/15_transpose0.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/15_transpose0.in -------------------------------------------------------------------------------- /testcases/perf/16_transpose1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/16_transpose1.c -------------------------------------------------------------------------------- /testcases/perf/16_transpose1.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/16_transpose1.in -------------------------------------------------------------------------------- /testcases/perf/17_transpose2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/17_transpose2.c -------------------------------------------------------------------------------- /testcases/perf/17_transpose2.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/17_transpose2.in -------------------------------------------------------------------------------- /testcases/perf/18_brainfuck-bootstrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/18_brainfuck-bootstrap.c -------------------------------------------------------------------------------- /testcases/perf/18_brainfuck-bootstrap.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/18_brainfuck-bootstrap.in -------------------------------------------------------------------------------- /testcases/perf/19_brainfuck-calculator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/19_brainfuck-calculator.c -------------------------------------------------------------------------------- /testcases/perf/19_brainfuck-calculator.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pku-minic/compiler-dev-test-cases/HEAD/testcases/perf/19_brainfuck-calculator.in --------------------------------------------------------------------------------