• Home
  • Raw
  • Download

Lines Matching refs:comdat

5 ; First test checks that if one function in a comdat group is used, both other
7 $test1_c = comdat any
8 ; CHECK: $test1_c = comdat any
10 ; Second test checks that if one function in a comdat group is used, both other
12 $test2_c = comdat any
13 ; CHECK: $test2_c = comdat any
15 ; Third test checks that calling a function in a comdat group with an alias
17 $test3_c = comdat any
18 ; CHECK: $test3_c = comdat any
20 ; Fourth test checks that calling an alias in a comdat group with a function
23 $test4_c = comdat any
24 ; CHECK: $test4_c = comdat any
26 ; Fifth test checks that calling a function in a comdat group that is used as
28 ; participate in the comdat group of their resolver function as they are
30 $test5_c = comdat any
31 ; CHECK: $test5_c = comdat any
33 ; Sixth test checks that calling an ifunc whose resolver is in a comdat group
36 $test6_c = comdat any
37 ; CHECK: $test6_c = comdat any
39 ; Seventh test checks that we can eliminate a comdat when it has only one dead function participant.
40 $test7_c = comdat any
41 ; CHECK-NOT: $test7_c = comdat any
43 ; Eighth test checks that we can eliminate a comdat when it has only one dead global participant.
44 $test8_c = comdat any
45 ; CHECK-NOT: $test8_c = comdat any
47 ; Ninth test checks that we can eliminate a comdat when there are multiple
49 $test9_c = comdat any
50 ; CHECK-NOT: $test9_c = comdat any
52 ; Tenth test checks that we can eliminate a comdat when it has multiple
55 $test10_c = comdat any
56 ; CHECK-NOT: $test10_c = comdat any
58 @test1_gv = linkonce_odr unnamed_addr global i32 42, comdat($test1_c)
61 @test2_used = linkonce_odr unnamed_addr global i32 42, comdat($test2_c)
64 @test2_gv = linkonce_odr unnamed_addr global i32 42, comdat($test2_c)
67 @test8_gv = linkonce_odr unnamed_addr global i32 42, comdat($test8_c)
70 @test9_gv = linkonce_odr unnamed_addr global i32 42, comdat($test9_c)
73 @test10_gv = linkonce_odr unnamed_addr global void ()* @test10_f, comdat($test10_c)
92 define linkonce_odr void @test1_used() comdat($test1_c) {
98 define linkonce_odr void @test1_f() comdat($test1_c) {
105 ; comdat are kept.
106 define linkonce_odr void @test2_f() comdat($test2_c) {
112 define linkonce_odr void @test3_f() comdat($test3_c) {
118 define linkonce_odr void @test4_f() comdat($test4_c) {
126 define linkonce_odr void ()* @test5_f() comdat($test5_c) {
132 define linkonce_odr void ()* @test6_f() comdat($test6_c) {
138 define linkonce_odr void @test7_f() comdat($test7_c) {
144 define linkonce_odr void @test9_f() comdat($test9_c) {
150 define linkonce_odr void @test10_f() comdat($test10_c) {
158 define linkonce_odr void @test10_g() comdat($test10_c) {