|
16 | 16 |
|
17 | 17 | // REQUIRES: swift_in_compiler |
18 | 18 |
|
19 | | -// EXTRACT-FOO-NOT: sil hidden @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
20 | | -// EXTRACT-FOO-NOT: sil hidden @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @guaranteed Vehicle) -> @owned Vehicle { |
21 | | -// EXTRACT-FOO-NOT: sil hidden @$s5basic7VehicleC3nowSiyF : $@convention(method) (@guaranteed Vehicle) -> Int { |
| 19 | +// EXTRACT-FOO-NOT: sil [ossa] hidden @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
| 20 | +// EXTRACT-FOO-NOT: sil [ossa] hidden @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @guaranteed Vehicle) -> @owned Vehicle { |
| 21 | +// EXTRACT-FOO-NOT: sil [ossa] hidden @$s5basic7VehicleC3nowSiyF : $@convention(method) (@guaranteed Vehicle) -> Int { |
22 | 22 |
|
23 | | -// EXTRACT-FOO-LABEL: sil @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
| 23 | +// EXTRACT-FOO-LABEL: sil [ossa] @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
24 | 24 | // EXTRACT-FOO: bb0: |
25 | 25 | // EXTRACT-FOO-NEXT: %0 = integer_literal |
26 | 26 | // EXTRACT-FOO: %[[POS:.*]] = struct $Int |
27 | 27 | // EXTRACT-FOO-NEXT: return %[[POS]] : $Int |
28 | 28 |
|
29 | 29 |
|
30 | | -// EXTRACT-TEST-NOT: sil hidden @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
31 | | -// EXTRACT-TEST-NOT: sil hidden @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @guaranteed Vehicle) -> @owned Vehicle { |
32 | | -// EXTRACT-TEST-NOT: sil hidden @$s5basic7VehicleC3nowSiyF : $@convention(method) (@guaranteed Vehicle) -> Int { |
| 30 | +// EXTRACT-TEST-NOT: sil [ossa] hidden @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
| 31 | +// EXTRACT-TEST-NOT: sil [ossa] hidden @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @guaranteed Vehicle) -> @owned Vehicle { |
| 32 | +// EXTRACT-TEST-NOT: sil [ossa] hidden @$s5basic7VehicleC3nowSiyF : $@convention(method) (@guaranteed Vehicle) -> Int { |
33 | 33 |
|
34 | | -// EXTRACT-TEST-LABEL: sil @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
| 34 | +// EXTRACT-TEST-LABEL: sil [ossa] @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
35 | 35 | // EXTRACT-TEST: bb0(%0 : $X): |
36 | 36 | // EXTRACT-TEST-NEXT: function_ref |
37 | 37 | // EXTRACT-TEST-NEXT: function_ref @$s5basic3fooSiyF : $@convention(thin) () -> Int |
|
40 | 40 | // EXTRACT-TEST-NEXT: return |
41 | 41 |
|
42 | 42 |
|
43 | | -// EXTRACT-INIT-NOT: sil @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
44 | | -// EXTRACT-INIT-NOT: sil @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
45 | | -// EXTRACT-INIT-NOT: sil @$s5basic7VehicleC3nowSiyF : $@convention(method) (@owned Vehicle) -> Int { |
| 43 | +// EXTRACT-INIT-NOT: sil [ossa] @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
| 44 | +// EXTRACT-INIT-NOT: sil [ossa] @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
| 45 | +// EXTRACT-INIT-NOT: sil [ossa] @$s5basic7VehicleC3nowSiyF : $@convention(method) (@owned Vehicle) -> Int { |
46 | 46 |
|
47 | | -// EXTRACT-INIT-LABEL: sil @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @owned Vehicle) -> @owned Vehicle { |
| 47 | +// EXTRACT-INIT-LABEL: sil [ossa] @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @owned Vehicle) -> @owned Vehicle { |
48 | 48 | // EXTRACT-INIT: bb0 |
49 | 49 | // EXTRACT-INIT-NEXT: end_init_let_ref |
| 50 | +// EXTRACT-INIT-NEXT: begin_borrow |
50 | 51 | // EXTRACT-INIT-NEXT: ref_element_addr |
51 | 52 | // EXTRACT-INIT-NEXT: begin_access [init] [static] |
52 | 53 | // EXTRACT-INIT-NEXT: store |
53 | 54 | // EXTRACT-INIT-NEXT: end_access |
| 55 | +// EXTRACT-INIT-NEXT: end_borrow |
54 | 56 | // EXTRACT-INIT-NEXT: return |
55 | 57 |
|
56 | 58 |
|
57 | | -// EXTRACT-NOW-NOT: sil @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
58 | | -// EXTRACT-NOW-NOT: sil @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
59 | | -// EXTRACT-NOW-NOT: sil @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @guaranteed Vehicle) -> @owned Vehicle { |
| 59 | +// EXTRACT-NOW-NOT: sil [ossa] @$s5basic3fooSiyF : $@convention(thin) () -> Int { |
| 60 | +// EXTRACT-NOW-NOT: sil [ossa] @$s5basic1XV4testyyF : $@convention(method) (X) -> () { |
| 61 | +// EXTRACT-NOW-NOT: sil [ossa] @$s5basic7VehicleC1nACSi_tcfc : $@convention(method) (Int, @guaranteed Vehicle) -> @owned Vehicle { |
60 | 62 |
|
61 | | -// EXTRACT-NOW-LABEL: sil @$s5basic7VehicleC3nowSiyF : $@convention(method) (@guaranteed Vehicle) -> Int { |
| 63 | +// EXTRACT-NOW-LABEL: sil [ossa] @$s5basic7VehicleC3nowSiyF : $@convention(method) (@guaranteed Vehicle) -> Int { |
62 | 64 | // EXTRACT-NOW: bb0 |
63 | 65 | // EXTRACT-NOW: class_method |
64 | 66 | // EXTRACT-NOW-NEXT: apply |
|
0 commit comments