Lines Matching refs:swift
292 %swift.error = type opaque
293 declare void @useSwiftError(%swift.error** swifterror)
295 define void @test18(%swift.error** swifterror %err) {
298 ; CHECK-NEXT: [[SWIFTERROR:%.*]] = alloca swifterror %swift.error*, align 8
299 ; CHECK-NEXT: store %swift.error* null, %swift.error** [[SWIFTERROR]], align 8
300 ; CHECK-NEXT: call void @useSwiftError(%swift.error** nonnull swifterror [[SWIFTERROR]])
301 ; CHECK-NEXT: [[ERR_RES:%.*]] = load %swift.error*, %swift.error** [[SWIFTERROR]], align 8
302 ; CHECK-NEXT: store %swift.error* [[ERR_RES]], %swift.error** [[ERR:%.*]], align 8
306 %swifterror = alloca swifterror %swift.error*, align 8
307 store %swift.error* null, %swift.error** %swifterror, align 8
308 call void @useSwiftError(%swift.error** nonnull swifterror %swifterror)
309 %err.res = load %swift.error*, %swift.error** %swifterror, align 8
310 store %swift.error* %err.res, %swift.error** %err, align 8
317 define void @test19(%swift.error** swifterror %err) {
322 ; CHECK-NEXT: [[SWIFTERROR:%.*]] = bitcast i8** [[TMP]] to %swift.error**
323 ; CHECK-NEXT: [[ERR_RES:%.*]] = load %swift.error*, %swift.error** [[SWIFTERROR]], align 8
324 ; CHECK-NEXT: store %swift.error* [[ERR_RES]], %swift.error** [[ERR:%.*]], align 8
330 %swifterror = bitcast i8** %tmp to %swift.error**
331 %err.res = load %swift.error*, %swift.error** %swifterror, align 8
332 store %swift.error* %err.res, %swift.error** %err, align 8