LCOV - code coverage report
Current view: top level - gcc/jit - libgccjit.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 96.9 % 1286 1246
Test Date: 2024-12-28 13:16:48 Functions: 94.7 % 171 162
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_ZL13is_valid_castPN3gcc3jit9recording4typeEP12gcc_jit_type 389
_ZL16compatible_typesPN3gcc3jit9recording4typeES3_ 0
_ZL17valid_binary_op_p17gcc_jit_binary_op 0
_ZL21valid_case_for_switchPN3gcc3jit9recording7contextEP16gcc_jit_locationPKcP13gcc_jit_blockP14gcc_jit_rvalueP12gcc_jit_caseS7_i 115
_ZL21valid_dest_for_switchPN3gcc3jit9recording7contextEP16gcc_jit_locationPKcPNS1_5blockES9_S7_ 145
_ZL7is_boolP14gcc_jit_rvalue 0
_ZL9jit_errorPN3gcc3jit9recording7contextEPNS1_8locationEPKcz 10142
_ZN16jit_version_infoC2Ev 45
_ZN20case_range_validator12case_compareEPN3gcc3jit9recording6rvalueES4_ 570
_ZN20case_range_validator12get_wide_intEPN3gcc3jit9recording6rvalueE 1270
_ZN20case_range_validator8validateEP12gcc_jit_casei 90
_ZN20case_range_validatorC2EPN3gcc3jit9recording7contextEP16gcc_jit_locationPKc 50
gcc_jit_block_add_assignment 7318
gcc_jit_block_add_assignment_op 484
gcc_jit_block_add_comment 415
gcc_jit_block_add_eval 3312
gcc_jit_block_add_extended_asm 30
gcc_jit_block_as_object 192
gcc_jit_block_end_with_conditional 864
gcc_jit_block_end_with_extended_asm_goto 10
gcc_jit_block_end_with_jump 1177
gcc_jit_block_end_with_return 4104
gcc_jit_block_end_with_switch 50
gcc_jit_block_end_with_void_return 596
gcc_jit_block_get_function 0
gcc_jit_case_as_object 20
gcc_jit_compatible_types 75
gcc_jit_context_acquire 1774
gcc_jit_context_add_command_line_option 1327
gcc_jit_context_add_driver_option 15
gcc_jit_context_add_top_level_asm 5
gcc_jit_context_compile 1663
gcc_jit_context_compile_to_file 121
gcc_jit_context_convert_vector 15
gcc_jit_context_dump_reproducer_to_file 1103
gcc_jit_context_dump_to_file 14
gcc_jit_context_enable_dump 50
gcc_jit_context_get_builtin_function 255
gcc_jit_context_get_first_error 525
gcc_jit_context_get_int_type 156
gcc_jit_context_get_last_error 80
gcc_jit_context_get_target_builtin_function 10
gcc_jit_context_get_timer 0
gcc_jit_context_get_type 16049
gcc_jit_context_new_alignof 15
gcc_jit_context_new_array_access 464
gcc_jit_context_new_array_constructor 250
gcc_jit_context_new_array_type 355
gcc_jit_context_new_binary_op 3318
gcc_jit_context_new_bitcast 25
gcc_jit_context_new_bitfield 115
gcc_jit_context_new_call 825
gcc_jit_context_new_call_through_ptr 40
gcc_jit_context_new_case 110
gcc_jit_context_new_cast 389
gcc_jit_context_new_child_context 12
gcc_jit_context_new_comparison 1494
gcc_jit_context_new_field 4597
gcc_jit_context_new_function 4575
gcc_jit_context_new_function_ptr_type 70
gcc_jit_context_new_global 2560
gcc_jit_context_new_location 9717
gcc_jit_context_new_opaque_struct 120
gcc_jit_context_new_param 8562
gcc_jit_context_new_rvalue_from_double 150
gcc_jit_context_new_rvalue_from_int 7818
gcc_jit_context_new_rvalue_from_long 80
gcc_jit_context_new_rvalue_from_ptr 150
gcc_jit_context_new_rvalue_from_vector 120
gcc_jit_context_new_rvalue_vector_perm 15
gcc_jit_context_new_sizeof 15
gcc_jit_context_new_string_literal 1963
gcc_jit_context_new_struct_constructor 365
gcc_jit_context_new_struct_type 1007
gcc_jit_context_new_unary_op 138
gcc_jit_context_new_union_constructor 80
gcc_jit_context_new_union_type 85
gcc_jit_context_new_vector_access 15
gcc_jit_context_null 55
gcc_jit_context_one 216
gcc_jit_context_release 1784
gcc_jit_context_set_bool_allow_unreachable_blocks 5
gcc_jit_context_set_bool_option 7295
gcc_jit_context_set_bool_print_errors_to_stderr 0
gcc_jit_context_set_bool_use_external_driver 5
gcc_jit_context_set_int_option 1752
gcc_jit_context_set_logfile 1097
gcc_jit_context_set_output_ident 5
gcc_jit_context_set_str_option 1702
gcc_jit_context_set_timer 400
gcc_jit_context_zero 400
gcc_jit_extended_asm_add_clobber 25
gcc_jit_extended_asm_add_input_operand 30
gcc_jit_extended_asm_add_output_operand 20
gcc_jit_extended_asm_as_object 30
gcc_jit_extended_asm_set_inline_flag 0
gcc_jit_extended_asm_set_volatile_flag 10
gcc_jit_field_as_object 110
gcc_jit_function_add_attribute 40
gcc_jit_function_add_integer_array_attribute 5
gcc_jit_function_add_string_attribute 5
gcc_jit_function_as_object 126
gcc_jit_function_dump_to_dot 0
gcc_jit_function_get_address 15
gcc_jit_function_get_param 30
gcc_jit_function_get_param_count 15
gcc_jit_function_get_return_type 15
gcc_jit_function_new_block 6811
gcc_jit_function_new_local 4996
gcc_jit_function_new_temp 5
gcc_jit_function_type_get_param_count 15
gcc_jit_function_type_get_param_type 30
gcc_jit_function_type_get_return_type 15
gcc_jit_global_set_initializer 15
gcc_jit_global_set_initializer_rvalue 865
gcc_jit_global_set_readonly 10
gcc_jit_location_as_object 24
gcc_jit_lvalue_access_field 224
gcc_jit_lvalue_add_string_attribute 5
gcc_jit_lvalue_as_object 30
gcc_jit_lvalue_as_rvalue 9447
gcc_jit_lvalue_get_address 508
gcc_jit_lvalue_get_alignment 10
gcc_jit_lvalue_set_alignment 10
gcc_jit_lvalue_set_link_section 5
gcc_jit_lvalue_set_register_name 20
gcc_jit_lvalue_set_tls_model 15
gcc_jit_object_get_context 127
gcc_jit_object_get_debug_string 1210
gcc_jit_param_as_lvalue 1909
gcc_jit_param_as_object 0
gcc_jit_param_as_rvalue 5396
gcc_jit_result_get_code 2792
gcc_jit_result_get_global 670
gcc_jit_result_release 1663
gcc_jit_rvalue_access_field 139
gcc_jit_rvalue_as_object 2041
gcc_jit_rvalue_dereference 694
gcc_jit_rvalue_dereference_field 1431
gcc_jit_rvalue_get_type 361
gcc_jit_rvalue_set_bool_require_tail_call 15
gcc_jit_struct_as_type 1172
gcc_jit_struct_get_field 30
gcc_jit_struct_get_field_count 15
gcc_jit_struct_set_fields 90
gcc_jit_timer_new 14
gcc_jit_timer_pop 1610
gcc_jit_timer_print 4
gcc_jit_timer_push 1605
gcc_jit_timer_release 14
gcc_jit_type_as_object 392
gcc_jit_type_dyncast_array 30
gcc_jit_type_dyncast_function_ptr_type 30
gcc_jit_type_dyncast_vector 30
gcc_jit_type_get_aligned 401
gcc_jit_type_get_const 648
gcc_jit_type_get_pointer 1465
gcc_jit_type_get_restrict 10
gcc_jit_type_get_size 40
gcc_jit_type_get_vector 495
gcc_jit_type_get_volatile 257
gcc_jit_type_is_bool 30
gcc_jit_type_is_integral 105
gcc_jit_type_is_pointer 30
gcc_jit_type_is_struct 30
gcc_jit_type_unqualified 45
gcc_jit_vector_type_get_element_type 15
gcc_jit_vector_type_get_num_units 15
gcc_jit_version_major 15
gcc_jit_version_minor 15
gcc_jit_version_patchlevel 15

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.