@@ -31,7 +31,7 @@ entry(%instance : $S):
31
31
return %retval : $()
32
32
}
33
33
34
- sil [ossa] [always_inline] @callee_address : $@convention(thin) (@in S) -> () {
34
+ sil [ossa] [always_inline] @callee_in : $@convention(thin) (@in S) -> () {
35
35
entry(%instance : $*S):
36
36
%retval = tuple ()
37
37
return %retval : $()
@@ -102,15 +102,15 @@ entry(%instance : $S):
102
102
return %result : $()
103
103
}
104
104
105
- // CHECK-LABEL: sil [ossa] @caller_address_callee_address : $@convention(thin) (@in S) -> () {
105
+ // CHECK-LABEL: sil [ossa] @caller_in_callee_in : $@convention(thin) (@in S) -> () {
106
106
// CHECK: {{bb[^,]+}}({{%[^,]+}} : $*S):
107
107
// CHECK: [[RETVAL:%[^,]+]] = tuple ()
108
108
// CHECK: return [[RETVAL]]
109
- // CHECK-LABEL: } // end sil function 'caller_address_callee_address '
110
- sil [ossa] @caller_address_callee_address : $@convention(thin) (@in S) -> () {
109
+ // CHECK-LABEL: } // end sil function 'caller_in_callee_in '
110
+ sil [ossa] @caller_in_callee_in : $@convention(thin) (@in S) -> () {
111
111
entry(%instance : $*S):
112
- %callee_address = function_ref @callee_address : $@convention(thin) (@in S) -> ()
113
- %result = apply %callee_address (%instance) : $@convention(thin) (@in S) -> ()
112
+ %callee_in = function_ref @callee_in : $@convention(thin) (@in S) -> ()
113
+ %result = apply %callee_in (%instance) : $@convention(thin) (@in S) -> ()
114
114
return %result : $()
115
115
}
116
116
167
167
unwind
168
168
}
169
169
170
- sil hidden [ossa] [always_inline] @callee_coro_address : $@yield_once @convention(thin) (@in S) -> @yields @inout S {
170
+ sil hidden [ossa] [always_inline] @callee_coro_in : $@yield_once @convention(thin) (@in S) -> @yields @inout S {
171
171
bb0(%instance : $*S):
172
172
yield %instance : $*S, resume bb1, unwind bb2
173
173
bb1:
@@ -279,18 +279,18 @@ bb0(%instance : $S):
279
279
return %retval : $()
280
280
}
281
281
282
- // CHECK-LABEL: sil hidden [ossa] @caller_address_callee_coro_address : $@convention(thin) (@in S) -> () {
282
+ // CHECK-LABEL: sil hidden [ossa] @caller_in_callee_coro_in : $@convention(thin) (@in S) -> () {
283
283
// CHECK: {{bb[^,]+}}({{%[^,]+}} : $*S):
284
284
// CHECK: {{%[^,]+}} = tuple ()
285
285
// CHECK: [[RETVAL:%[^,]+]] = tuple ()
286
286
// CHECK: return [[RETVAL]]
287
287
// CHECK: {{bb[^,]+}}:
288
288
// CHECK: unreachable
289
- // CHECK-LABEL: } // end sil function 'caller_address_callee_coro_address '
290
- sil hidden [ossa] @caller_address_callee_coro_address : $@convention(thin) (@in S) -> () {
289
+ // CHECK-LABEL: } // end sil function 'caller_in_callee_coro_in '
290
+ sil hidden [ossa] @caller_in_callee_coro_in : $@convention(thin) (@in S) -> () {
291
291
bb0(%instance : $*S):
292
- %callee_coro_address = function_ref @callee_coro_address : $@yield_once @convention(thin) (@in S) -> @yields @inout S
293
- (%addr, %continuation) = begin_apply %callee_coro_address (%instance) : $@yield_once @convention(thin) (@in S) -> @yields @inout S
292
+ %callee_coro_in = function_ref @callee_coro_in : $@yield_once @convention(thin) (@in S) -> @yields @inout S
293
+ (%addr, %continuation) = begin_apply %callee_coro_in (%instance) : $@yield_once @convention(thin) (@in S) -> @yields @inout S
294
294
end_apply %continuation
295
295
%retval = tuple ()
296
296
return %retval : $()
334
334
return %18 : $()
335
335
}
336
336
337
- sil [ossa] @callee_error_address : $@convention(thin) (@in S) -> @error Error {
337
+ sil [ossa] @callee_error_in : $@convention(thin) (@in S) -> @error Error {
338
338
bb0(%0 : $*S):
339
339
cond_br undef, bb1, bb2
340
340
bb1:
@@ -449,7 +449,7 @@ bb2(%12 : @owned $Error):
449
449
throw %12 : $Error
450
450
}
451
451
452
- // CHECK-LABEL: sil hidden [ossa] @caller_address_callee_error_address : $@convention(thin) (@in S) -> @error Error {
452
+ // CHECK-LABEL: sil hidden [ossa] @caller_in_callee_error_in : $@convention(thin) (@in S) -> @error Error {
453
453
// CHECK: {{bb[^,]+}}({{%[^,]+}} : $*S):
454
454
// CHECK: cond_br undef, [[THROW_BLOCK:bb[0-9]+]], [[REGULAR_BLOCK:bb[0-9]+]]
455
455
// CHECK: [[THROW_BLOCK]]:
@@ -458,11 +458,11 @@ bb2(%12 : @owned $Error):
458
458
// CHECK: {{%[^,]+}} = tuple ()
459
459
// CHECK: [[RETVAL:%[^,]+]] = tuple ()
460
460
// CHECK: return [[RETVAL]]
461
- // CHECK-LABEL: } // end sil function 'caller_address_callee_error_address '
462
- sil hidden [ossa] @caller_address_callee_error_address : $@convention(thin) (@in S) -> @error Error {
461
+ // CHECK-LABEL: } // end sil function 'caller_in_callee_error_in '
462
+ sil hidden [ossa] @caller_in_callee_error_in : $@convention(thin) (@in S) -> @error Error {
463
463
bb0(%instance : $*S):
464
- %callee_error_address = function_ref @callee_error_address : $@convention(thin) (@in S) -> @error Error
465
- try_apply %callee_error_address (%instance) : $@convention(thin) (@in S) -> @error Error, normal bb1, error bb2
464
+ %callee_error_in = function_ref @callee_error_in : $@convention(thin) (@in S) -> @error Error
465
+ try_apply %callee_error_in (%instance) : $@convention(thin) (@in S) -> @error Error, normal bb1, error bb2
466
466
bb1(%9 : $()):
467
467
%10 = tuple ()
468
468
return %10 : $()
0 commit comments