489 lines · plain
1 .text2 .file "pr-44884.cpp"3 .globaltype __stack_pointer, i324 .functype _Z3barf (f32) -> (i32)5 .functype _Z3fooc (i32) -> (i32)6 .section .text._Z3barf,"",@7 .hidden _Z3barf # -- Begin function _Z3barf8 .globl _Z3barf9 .type _Z3barf,@function10_Z3barf: # @_Z3barf11.Lfunc_begin0:12 .file 1 "/data/projects/scripts/regression-suite/input/general" "pr-44884.cpp"13 .loc 1 1 0 # pr-44884.cpp:1:014 .functype _Z3barf (f32) -> (i32)15 .local i32, i32, i32, f32, f32, f32, i32, i32, i32, i32, i32, i3216# %bb.0: # %entry17 global.get __stack_pointer18 local.set 119 i32.const 1620 local.set 221 local.get 122 local.get 223 i32.sub 24 local.set 325 local.get 326 local.get 027 f32.store 1228.Ltmp0:29 .loc 1 1 36 prologue_end # pr-44884.cpp:1:3630 local.get 331 f32.load 1232 local.set 433 local.get 434 f32.abs 35 local.set 536 f32.const 0x1p3137 local.set 638 local.get 539 local.get 640 f32.lt 41 local.set 742 local.get 743 i32.eqz44 local.set 845 block 46 block 47 local.get 848 br_if 0 # 0: down to label149# %bb.1: # %entry50 local.get 451 i32.trunc_f32_s52 local.set 953 local.get 954 local.set 1055 br 1 # 1: down to label056.LBB0_2: # %entry57 .loc 1 0 36 is_stmt 0 # pr-44884.cpp:0:3658 end_block # label1:59 .loc 1 1 36 # pr-44884.cpp:1:3660 i32.const -214748364861 local.set 1162 local.get 1163 local.set 1064.LBB0_3: # %entry65 .loc 1 0 36 # pr-44884.cpp:0:3666 end_block # label0:67 .loc 1 1 36 # pr-44884.cpp:1:3668 local.get 1069 local.set 1270 .loc 1 1 24 # pr-44884.cpp:1:2471 local.get 1272 return73 end_function74.Ltmp1:75.Lfunc_end0:76 # -- End function77 .section .text._Z3fooc,"",@78 .hidden _Z3fooc # -- Begin function _Z3fooc79 .globl _Z3fooc80 .type _Z3fooc,@function81_Z3fooc: # @_Z3fooc82.Lfunc_begin1:83 .loc 1 3 0 is_stmt 1 # pr-44884.cpp:3:084 .functype _Z3fooc (i32) -> (i32)85 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, f32, f32, i32, i32, i32, i32, i32, i32, i32, i32, i3286# %bb.0: # %entry87 global.get __stack_pointer88 local.set 189 i32.const 1690 local.set 291 local.get 192 local.get 293 i32.sub 94 local.set 395 local.get 396 global.set __stack_pointer97 local.get 398 local.get 099 i32.store8 15100.Ltmp2:101 .loc 1 5 15 prologue_end # pr-44884.cpp:5:15102 local.get 3103 i32.load8_u 15104 local.set 4105 i32.const 24106 local.set 5107 local.get 4108 local.get 5109 i32.shl 110 local.set 6111 local.get 6112 local.get 5113 i32.shr_s114 local.set 7115 .loc 1 5 7 is_stmt 0 # pr-44884.cpp:5:7116 local.get 3117 local.get 7118 i32.store 8119.Ltmp3:120 .loc 1 9 21 is_stmt 1 # pr-44884.cpp:9:21121 local.get 3122 i32.load 8123 local.set 8124 .loc 1 9 29 is_stmt 0 # pr-44884.cpp:9:29125 local.get 3126 i32.load8_u 15127 local.set 9128 i32.const 24129 local.set 10130 local.get 9131 local.get 10132 i32.shl 133 local.set 11134 local.get 11135 local.get 10136 i32.shr_s137 local.set 12138 .loc 1 9 27 # pr-44884.cpp:9:27139 local.get 8140 local.get 12141 i32.add 142 local.set 13143 .loc 1 9 21 # pr-44884.cpp:9:21144 local.get 13145 f32.convert_i32_s146 local.set 14147 .loc 1 9 13 # pr-44884.cpp:9:13148 local.get 3149 local.get 14150 f32.store 4151 .loc 1 10 19 is_stmt 1 # pr-44884.cpp:10:19152 local.get 3153 f32.load 4154 local.set 15155 .loc 1 10 15 is_stmt 0 # pr-44884.cpp:10:15156 local.get 15157 call _Z3barf158 local.set 16159 .loc 1 10 13 # pr-44884.cpp:10:13160 local.get 3161 local.get 16162 i32.store 8163.Ltmp4:164 .loc 1 13 10 is_stmt 1 # pr-44884.cpp:13:10165 local.get 3166 i32.load 8167 local.set 17168 .loc 1 13 18 is_stmt 0 # pr-44884.cpp:13:18169 local.get 3170 i32.load8_u 15171 local.set 18172 i32.const 24173 local.set 19174 local.get 18175 local.get 19176 i32.shl 177 local.set 20178 local.get 20179 local.get 19180 i32.shr_s181 local.set 21182 .loc 1 13 16 # pr-44884.cpp:13:16183 local.get 17184 local.get 21185 i32.add 186 local.set 22187 .loc 1 13 3 # pr-44884.cpp:13:3188 i32.const 16189 local.set 23190 local.get 3191 local.get 23192 i32.add 193 local.set 24194 local.get 24195 global.set __stack_pointer196 local.get 22197 return198 end_function199.Ltmp5:200.Lfunc_end1:201 # -- End function202 .section .debug_abbrev,"",@203 .int8 1 # Abbreviation Code204 .int8 17 # DW_TAG_compile_unit205 .int8 1 # DW_CHILDREN_yes206 .int8 37 # DW_AT_producer207 .int8 14 # DW_FORM_strp208 .int8 19 # DW_AT_language209 .int8 5 # DW_FORM_data2210 .int8 3 # DW_AT_name211 .int8 14 # DW_FORM_strp212 .int8 16 # DW_AT_stmt_list213 .int8 23 # DW_FORM_sec_offset214 .int8 27 # DW_AT_comp_dir215 .int8 14 # DW_FORM_strp216 .int8 17 # DW_AT_low_pc217 .int8 1 # DW_FORM_addr218 .int8 85 # DW_AT_ranges219 .int8 23 # DW_FORM_sec_offset220 .int8 0 # EOM(1)221 .int8 0 # EOM(2)222 .int8 2 # Abbreviation Code223 .int8 36 # DW_TAG_base_type224 .int8 0 # DW_CHILDREN_no225 .int8 3 # DW_AT_name226 .int8 14 # DW_FORM_strp227 .int8 62 # DW_AT_encoding228 .int8 11 # DW_FORM_data1229 .int8 11 # DW_AT_byte_size230 .int8 11 # DW_FORM_data1231 .int8 0 # EOM(1)232 .int8 0 # EOM(2)233 .int8 3 # Abbreviation Code234 .int8 46 # DW_TAG_subprogram235 .int8 1 # DW_CHILDREN_yes236 .int8 17 # DW_AT_low_pc237 .int8 1 # DW_FORM_addr238 .int8 18 # DW_AT_high_pc239 .int8 6 # DW_FORM_data4240 .int8 64 # DW_AT_frame_base241 .int8 24 # DW_FORM_exprloc242 .int8 110 # DW_AT_linkage_name243 .int8 14 # DW_FORM_strp244 .int8 3 # DW_AT_name245 .int8 14 # DW_FORM_strp246 .int8 58 # DW_AT_decl_file247 .int8 11 # DW_FORM_data1248 .int8 59 # DW_AT_decl_line249 .int8 11 # DW_FORM_data1250 .int8 73 # DW_AT_type251 .int8 19 # DW_FORM_ref4252 .int8 63 # DW_AT_external253 .int8 25 # DW_FORM_flag_present254 .int8 0 # EOM(1)255 .int8 0 # EOM(2)256 .int8 4 # Abbreviation Code257 .int8 5 # DW_TAG_formal_parameter258 .int8 0 # DW_CHILDREN_no259 .int8 2 # DW_AT_location260 .int8 24 # DW_FORM_exprloc261 .int8 3 # DW_AT_name262 .int8 14 # DW_FORM_strp263 .int8 58 # DW_AT_decl_file264 .int8 11 # DW_FORM_data1265 .int8 59 # DW_AT_decl_line266 .int8 11 # DW_FORM_data1267 .int8 73 # DW_AT_type268 .int8 19 # DW_FORM_ref4269 .int8 0 # EOM(1)270 .int8 0 # EOM(2)271 .int8 5 # Abbreviation Code272 .int8 52 # DW_TAG_variable273 .int8 0 # DW_CHILDREN_no274 .int8 2 # DW_AT_location275 .int8 24 # DW_FORM_exprloc276 .int8 3 # DW_AT_name277 .int8 14 # DW_FORM_strp278 .int8 58 # DW_AT_decl_file279 .int8 11 # DW_FORM_data1280 .int8 59 # DW_AT_decl_line281 .int8 11 # DW_FORM_data1282 .int8 73 # DW_AT_type283 .int8 19 # DW_FORM_ref4284 .int8 0 # EOM(1)285 .int8 0 # EOM(2)286 .int8 6 # Abbreviation Code287 .int8 11 # DW_TAG_lexical_block288 .int8 1 # DW_CHILDREN_yes289 .int8 17 # DW_AT_low_pc290 .int8 1 # DW_FORM_addr291 .int8 18 # DW_AT_high_pc292 .int8 6 # DW_FORM_data4293 .int8 0 # EOM(1)294 .int8 0 # EOM(2)295 .int8 7 # Abbreviation Code296 .int8 22 # DW_TAG_typedef297 .int8 0 # DW_CHILDREN_no298 .int8 73 # DW_AT_type299 .int8 19 # DW_FORM_ref4300 .int8 3 # DW_AT_name301 .int8 14 # DW_FORM_strp302 .int8 58 # DW_AT_decl_file303 .int8 11 # DW_FORM_data1304 .int8 59 # DW_AT_decl_line305 .int8 11 # DW_FORM_data1306 .int8 0 # EOM(1)307 .int8 0 # EOM(2)308 .int8 0 # EOM(3)309 .section .debug_info,"",@310.Lcu_begin0:311 .int32 .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit312.Ldebug_info_start0:313 .int16 4 # DWARF version number314 .int32 .debug_abbrev0 # Offset Into Abbrev. Section315 .int8 4 # Address Size (in bytes)316 .int8 1 # Abbrev [1] 0xb:0xca DW_TAG_compile_unit317 .int32 .Linfo_string0 # DW_AT_producer318 .int16 33 # DW_AT_language319 .int32 .Linfo_string1 # DW_AT_name320 .int32 .Lline_table_start0 # DW_AT_stmt_list321 .int32 .Linfo_string2 # DW_AT_comp_dir322 .int32 0 # DW_AT_low_pc323 .int32 .Ldebug_ranges0 # DW_AT_ranges324 .int8 2 # Abbrev [2] 0x26:0x7 DW_TAG_base_type325 .int32 .Linfo_string3 # DW_AT_name326 .int8 5 # DW_AT_encoding327 .int8 4 # DW_AT_byte_size328 .int8 3 # Abbrev [3] 0x2d:0x2b DW_TAG_subprogram329 .int32 .Lfunc_begin0 # DW_AT_low_pc330 .int32 .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc331 .int8 4 # DW_AT_frame_base332 .int8 237333 .int8 0334 .int8 3335 .int8 159336 .int32 .Linfo_string4 # DW_AT_linkage_name337 .int32 .Linfo_string5 # DW_AT_name338 .int8 1 # DW_AT_decl_file339 .int8 1 # DW_AT_decl_line340 .int32 38 # DW_AT_type341 # DW_AT_external342 .int8 4 # Abbrev [4] 0x49:0xe DW_TAG_formal_parameter343 .int8 2 # DW_AT_location344 .int8 145345 .int8 12346 .int32 .Linfo_string9 # DW_AT_name347 .int8 1 # DW_AT_decl_file348 .int8 1 # DW_AT_decl_line349 .int32 198 # DW_AT_type350 .int8 0 # End Of Children Mark351 .int8 3 # Abbrev [3] 0x58:0x67 DW_TAG_subprogram352 .int32 .Lfunc_begin1 # DW_AT_low_pc353 .int32 .Lfunc_end1-.Lfunc_begin1 # DW_AT_high_pc354 .int8 4 # DW_AT_frame_base355 .int8 237356 .int8 0357 .int8 3358 .int8 159359 .int32 .Linfo_string6 # DW_AT_linkage_name360 .int32 .Linfo_string7 # DW_AT_name361 .int8 1 # DW_AT_decl_file362 .int8 3 # DW_AT_decl_line363 .int32 191 # DW_AT_type364 # DW_AT_external365 .int8 4 # Abbrev [4] 0x74:0xe DW_TAG_formal_parameter366 .int8 2 # DW_AT_location367 .int8 145368 .int8 15369 .int32 .Linfo_string11 # DW_AT_name370 .int8 1 # DW_AT_decl_file371 .int8 3 # DW_AT_decl_line372 .int32 205 # DW_AT_type373 .int8 5 # Abbrev [5] 0x82:0xe DW_TAG_variable374 .int8 2 # DW_AT_location375 .int8 145376 .int8 8377 .int32 .Linfo_string13 # DW_AT_name378 .int8 1 # DW_AT_decl_file379 .int8 5 # DW_AT_decl_line380 .int32 168 # DW_AT_type381 .int8 6 # Abbrev [6] 0x90:0x18 DW_TAG_lexical_block382 .int32 .Ltmp3 # DW_AT_low_pc383 .int32 .Ltmp4-.Ltmp3 # DW_AT_high_pc384 .int8 5 # Abbrev [5] 0x99:0xe DW_TAG_variable385 .int8 2 # DW_AT_location386 .int8 145387 .int8 4388 .int32 .Linfo_string15 # DW_AT_name389 .int8 1 # DW_AT_decl_file390 .int8 9 # DW_AT_decl_line391 .int32 179 # DW_AT_type392 .int8 0 # End Of Children Mark393 .int8 7 # Abbrev [7] 0xa8:0xb DW_TAG_typedef394 .int32 38 # DW_AT_type395 .int32 .Linfo_string14 # DW_AT_name396 .int8 1 # DW_AT_decl_file397 .int8 4 # DW_AT_decl_line398 .int8 7 # Abbrev [7] 0xb3:0xb DW_TAG_typedef399 .int32 198 # DW_AT_type400 .int32 .Linfo_string16 # DW_AT_name401 .int8 1 # DW_AT_decl_file402 .int8 7 # DW_AT_decl_line403 .int8 0 # End Of Children Mark404 .int8 2 # Abbrev [2] 0xbf:0x7 DW_TAG_base_type405 .int32 .Linfo_string8 # DW_AT_name406 .int8 7 # DW_AT_encoding407 .int8 4 # DW_AT_byte_size408 .int8 2 # Abbrev [2] 0xc6:0x7 DW_TAG_base_type409 .int32 .Linfo_string10 # DW_AT_name410 .int8 4 # DW_AT_encoding411 .int8 4 # DW_AT_byte_size412 .int8 2 # Abbrev [2] 0xcd:0x7 DW_TAG_base_type413 .int32 .Linfo_string12 # DW_AT_name414 .int8 6 # DW_AT_encoding415 .int8 1 # DW_AT_byte_size416 .int8 0 # End Of Children Mark417.Ldebug_info_end0:418 .section .debug_ranges,"",@419.Ldebug_ranges0:420 .int32 .Lfunc_begin0421 .int32 .Lfunc_end0422 .int32 .Lfunc_begin1423 .int32 .Lfunc_end1424 .int32 0425 .int32 0426 .section .debug_str,"S",@427.Linfo_string0:428 .asciz "clang version 19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)" # string offset=0429.Linfo_string1:430 .asciz "pr-44884.cpp" # string offset=111431.Linfo_string2:432 .asciz "/data/projects/scripts/regression-suite/input/general" # string offset=124433.Linfo_string3:434 .asciz "int" # string offset=178435.Linfo_string4:436 .asciz "_Z3barf" # string offset=182437.Linfo_string5:438 .asciz "bar" # string offset=190439.Linfo_string6:440 .asciz "_Z3fooc" # string offset=194441.Linfo_string7:442 .asciz "foo" # string offset=202443.Linfo_string8:444 .asciz "unsigned int" # string offset=206445.Linfo_string9:446 .asciz "Input" # string offset=219447.Linfo_string10:448 .asciz "float" # string offset=225449.Linfo_string11:450 .asciz "Param" # string offset=231451.Linfo_string12:452 .asciz "char" # string offset=237453.Linfo_string13:454 .asciz "Value" # string offset=242455.Linfo_string14:456 .asciz "INT" # string offset=248457.Linfo_string15:458 .asciz "Added" # string offset=252459.Linfo_string16:460 .asciz "FLOAT" # string offset=258461 .ident "clang version 19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)"462 .section .custom_section.producers,"",@463 .int8 2464 .int8 8465 .ascii "language"466 .int8 1467 .int8 14468 .ascii "C_plus_plus_14"469 .int8 0470 .int8 12471 .ascii "processed-by"472 .int8 1473 .int8 5474 .ascii "clang"475 .int8 96476 .ascii "19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)"477 .section .debug_str,"S",@478 .section .custom_section.target_features,"",@479 .int8 2480 .int8 43481 .int8 15482 .ascii "mutable-globals"483 .int8 43484 .int8 8485 .ascii "sign-ext"486 .section .debug_str,"S",@487 .section .debug_line,"",@488.Lline_table_start0:489