Home
last modified time | relevance | path

Searched refs:swift (Results 1 – 25 of 142) sorted by relevance

123456

/llvm-project-15.0.7/llvm/test/Transforms/Coroutines/
H A Dcoro-async-end-bug.ll5 %swift.context = type { %swift.context*, void (%swift.context*)* }
7 %swift.refcounted = type { %swift.type*, i64 }
11 …swift.async_func_pointer <{ i32 trunc (i64 sub (i64 ptrtoint (void (%swift.context*, %swift.opaque…
22 %6 = bitcast %swift.context* %0 to <{ %swift.context*, void (%swift.context*)* }>*
25 store %swift.context* %0, %swift.context** %5, align 8
26 %9 = bitcast i8* %3 to i1 (%swift.opaque*, %swift.opaque*, %swift.refcounted*)*
28 %11 = load %swift.context*, %swift.context** %5, align 8
29 %12 = bitcast %swift.context* %11 to <{ %swift.context*, void (%swift.context*)* }>*
30 …%13 = getelementptr inbounds <{ %swift.context*, void (%swift.context*)* }>, <{ %swift.context*, v…
32 %15 = bitcast void (%swift.context*)* %14 to void (%swift.context*, i1, %swift.error*)*
[all …]
H A Dcoro-async-phi.ll4 %swift.context = type { %swift.context*, void (%swift.context*)*, i64 }
5 %T10RR13AC = type <{ %swift.refcounted, %swift.defaultactor }>
6 %swift.refcounted = type { %swift.type*, i64 }
41 %i37 = load %swift.type*, %swift.type** %i36, align 8
55 %i54 = load %swift.context*, %swift.context** %i, align 8
56 …%i55 = getelementptr inbounds <{ %swift.context*, void (%swift.context*)*, i32 }>, <{ %swift.conte…
57 store %swift.context* %i54, %swift.context** %i55, align 8
61 …%i58 = getelementptr inbounds <{ %swift.context*, void (%swift.context*)*, i32 }>, <{ %swift.conte…
69 store %swift.context* %i64, %swift.context** %i, align 8
77 %i70 = load %swift.context*, %swift.context** %i, align 8
[all …]
H A Dcoro-async-coro-id-async-bug.ll4 %swift.async_func_pointer = type <{ i32, i32 }>
5 %swift.context = type { %swift.context*, void (%swift.context*)* }
7 …epoTU = global %swift.async_func_pointer <{ i32 trunc (i64 sub (i64 ptrtoint (void (%swift.context…
11 %1 = alloca %swift.context*, align 8
12 %2 = bitcast %swift.context* %0 to <{ %swift.context*, void (%swift.context*)* }>*
15 store %swift.context* %0, %swift.context** %1, align 8
16 %5 = load %swift.context*, %swift.context** %1, align 8
17 %6 = bitcast %swift.context* %5 to <{ %swift.context*, void (%swift.context*)* }>*
18 …%7 = getelementptr inbounds <{ %swift.context*, void (%swift.context*)* }>, <{ %swift.context*, vo…
19 %8 = load void (%swift.context*)*, void (%swift.context*)** %7, align 8
[all …]
H A Dcoro-debug-dbg.addr-swift.ll43 %swift.context = type { %swift.context*, void (%swift.context*)*, i64 }
65 store %swift.type* %T, %swift.type** %T1, align 8
89 store %swift.type* %T, %swift.type** %T1, align 8
124 store %swift.type* %T, %swift.type** %T1, align 8
136 %3 = bitcast %swift.context* %0 to <{ %swift.context*, void (%swift.context*)*, i32 }>*
139 store %swift.context* %0, %swift.context** %2, align 8
173 …%initializeWithCopy = bitcast i8* %25 to %swift.opaque* (%swift.opaque*, %swift.opaque*, %swift.ty…
174 …%26 = call %swift.opaque* %initializeWithCopy(%swift.opaque* noalias %16, %swift.opaque* noalias %…
215 …%51 = call %swift.opaque* %initializeWithCopy(%swift.opaque* noalias %16, %swift.opaque* noalias %…
223 …%53 = call %swift.opaque* %initializeWithCopy(%swift.opaque* noalias %16, %swift.opaque* noalias %…
[all …]
H A Dcoro-async-no-cse-swift-async-context-addr.ll4 %swift.async_func_pointer = type <{ i32, i32 }>
5 %swift.context = type { %swift.context*, void (%swift.context*)* }
7 …epoTU = global %swift.async_func_pointer <{ i32 trunc (i64 sub (i64 ptrtoint (void (%swift.context…
19 %1 = alloca %swift.context*, align 8
20 %2 = bitcast %swift.context* %0 to <{ %swift.context*, void (%swift.context*)* }>*
23 store %swift.context* %0, %swift.context** %1, align 8
35 %8 = load %swift.context*, %swift.context** %1, align 8
36 %9 = bitcast %swift.context* %8 to <{ %swift.context*, void (%swift.context*)* }>*
37 …%10 = getelementptr inbounds <{ %swift.context*, void (%swift.context*)* }>, <{ %swift.context*, v…
38 %11 = load void (%swift.context*)*, void (%swift.context*)** %10, align 8
[all …]
H A Dcoro-async-remat.ll5 %swift.context = type { %swift.context*, void (%swift.context*)*, i64 }
6 %swift.type = type { i64 }
8 %swift.error = type opaque
9 %swift.opaque = type opaque
27 define swifttailcc void @repo(%Tsq* %0, %swift.context* %1, %swift.type* %arg, %FlatMapSeq* %2) #1 {
32 %5 = bitcast i8* undef to %swift.opaque*
42 …%initializeWithTake35 = bitcast i8* undef to %swift.opaque* (%swift.opaque*, %swift.opaque*, %swif…
43 …%9 = call %swift.opaque* %initializeWithTake35(%swift.opaque* noalias %5, %swift.opaque* noalias u…
45 %11 = bitcast i8* %10 to void (%swift.context*)*
46 …swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8p0s_swift.error.4.220.413.429.…
[all …]
/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dswift-ast-x86_64.test1 RUN: dsymutil -oso-prepend-path %p/.. %p/../Inputs/swift-ast.macho.x86_64 -o %T/swift-ast.dSYM -ver…
2 RUN: dsymutil -oso-prepend-path %p/.. %p/../Inputs/swift-ast.macho.x86_64 -o %T/swift-ast.dSYM -ver…
3 RUN: llvm-readobj --sections --section-data %T/swift-ast.dSYM/Contents/Resources/DWARF/swift-ast.ma…
4 RUN: llvm-dwarfdump --show-section-sizes %T/swift-ast.dSYM/Contents/Resources/DWARF/swift-ast.macho…
10 swiftc /tmp/test.swift -Onone -target x86_64-apple-macosx10.9 -c
11 …ld swift-ast.o -add_ast_path Inputs/swift-ast.swiftmodule -arch x86_64 -lSystem -macosx_version_mi…
13 DSYMUTIL: filename:{{.*}}swift-ast.swiftmodule
16 DSYMUTIL: DEBUG MAP OBJECT:{{.*}}swift-ast.swiftmodule
24 RUN: dsymutil -s %T/swift-ast.dSYM/Contents/Resources/DWARF/swift-ast.macho.x86_64 | FileCheck %s -…
H A Dswift-interface.test5 # RUN: %p/../Inputs/swift-interface.s
7 # RUN: -o %t.dir/swift-interface.dSYM 2>&1 \
11 # RUN: -o %t.dir/swift-interface.dSYM
12 # RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/x86_64/Foo.swiftinterface \
/llvm-project-15.0.7/llvm/test/Transforms/IROutliner/
H A Doutlining-swift-error.ll4 %swift.error = type opaque
6 define void @outlining_swifterror1(%swift.error** swifterror %err) {
10 ; CHECK-NEXT: call void @outlined_ir_func_0(i64 5, i64* [[X]], %swift.error** swifterror [[ERR:%…
18 %casted = bitcast i64* %x to %swift.error*
19 store %swift.error* %casted, %swift.error** %err
23 define void @outlining_swifterror2(%swift.error** swifterror %err) {
27 ; CHECK-NEXT: call void @outlined_ir_func_0(i64 3, i64* [[X]], %swift.error** swifterror [[ERR:%…
35 %casted = bitcast i64* %x to %swift.error*
36 store %swift.error* %casted, %swift.error** %err
45 ; CHECK-NEXT: %casted = bitcast i64* [[ARG1]] to %swift.error*
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/X86/
H A Ddebug-loc-0.mir16 %swift.opaque = type opaque
17 %swift.metadata_response = type { %swift.type*, i64 }
18 %swift.type = type { i64 }
23 %0 = bitcast i8** %s1.addr to %swift.opaque**
24 store %swift.opaque* null, %swift.opaque** %0, align 8
25 %1 = call swiftcc %swift.metadata_response @"$S16resilient_struct4SizeVMa"(i64 0) #1, !dbg !10
26 %2 = extractvalue %swift.metadata_response %1, 0, !dbg !10
27 %3 = bitcast %swift.type* %2 to i8***, !dbg !10
32 declare swiftcc %swift.metadata_response @"$S16resilient_struct4SizeVMa"(i64)
44 !1 = !DIFile(filename: "struct_resilience.swift", directory: "/Users/jonas/swift")
[all …]
/llvm-project-15.0.7/llvm/test/tools/opt-viewer/Inputs/suppress/
H A Ds.opt.yaml5 File: s.swift
19 File: s.swift
33 File: s.swift
47 File: s.swift
61 File: s.swift
75 File: s.swift
101 File: s.swift
123 File: s.swift
137 File: s.swift
151 File: s.swift
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dopaque.ll4 %swift.opaque = type opaque
8 …%Vs4Int8, %Vs4Int8, %Vs4Int8, %Vs4Int8, %Vs4Int8, %Vs4Int8 }>, %Si, %SQ, %SQ, %Si, %swift.opaque }>
10 %swift.type = type { i64 }
18 define %swift.opaque* @_TwTkV([24 x i8]* %dest, %swift.opaque* %src,
19 %swift.type* %bios_boot_params) #0 {
21 %0 = bitcast %swift.opaque* %src to %V*
29 %6 = bitcast %V* %3 to %swift.opaque*
30 ret %swift.opaque* %6
H A Dload.ll302 %swift.error = type opaque
309 ; CHECK-NEXT: store %swift.error* null, %swift.error** [[SWIFTERROR]], align 8
311 ; CHECK-NEXT: [[ERR_RES:%.*]] = load %swift.error*, %swift.error** [[SWIFTERROR]], align 8
312 ; CHECK-NEXT: store %swift.error* [[ERR_RES]], %swift.error** [[ERR:%.*]], align 8
317 store %swift.error* null, %swift.error** %swifterror, align 8
319 %err.res = load %swift.error*, %swift.error** %swifterror, align 8
320 store %swift.error* %err.res, %swift.error** %err, align 8
333 ; CHECK-NEXT: [[ERR_RES:%.*]] = load %swift.error*, %swift.error** [[SWIFTERROR]], align 8
334 ; CHECK-NEXT: store %swift.error* [[ERR_RES]], %swift.error** [[ERR:%.*]], align 8
341 %err.res = load %swift.error*, %swift.error** %swifterror, align 8
[all …]
H A Dbitcast-store.ll40 ; CHECK: store %swift.error
42 %swift.error = type opaque
43 define void @swifterror_store(i64* %x, %swift.error** swifterror %err) {
45 %casted = bitcast i64* %x to %swift.error*
46 store %swift.error* %casted, %swift.error** %err
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dswift-async-win.ll1 ; RUN: llc -mtriple aarch64-unknown-windows -swift-async-fp=never -filetype asm -o - %s | FileCheck…
8 %swift.context = type { %swift.context*, void (%swift.context*)* }
18 %3 = tail call i8** @llvm.swift.async.context.addr() #4
32 %7 = bitcast i8* %6 to void (%swift.context*)**
33 %8 = load void (%swift.context*)*, void (%swift.context*)** %7, align 8
34 %9 = bitcast i8* %5 to %swift.context*
35 musttail call swifttailcc void %8(%swift.context* %9) #4
52 declare i8** @llvm.swift.async.context.addr() #2
H A Dswift-error.ll3 %swift.error = type opaque
5 declare swiftcc void @f(%swift.error** swifterror)
7 define swiftcc void @g(i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %swift.error** swifterror %error) {
9 call swiftcc void @f(%swift.error** nonnull nocapture swifterror %error)
H A Dswift-async-pei.ll1 ; RUN: llc -mtriple arm64-apple-ios -filetype asm -o - %s -swift-async-fp always | FileCheck %s -ch…
2 ; RUN: llc -mtriple arm64-apple-ios -filetype asm -o - %s -swift-async-fp never | FileCheck %s -che…
3 ; RUN: llc -mtriple arm64-apple-ios -filetype asm -o - %s -swift-async-fp auto | FileCheck %s -chec…
4 ; RUN: llc -mtriple arm64_32-apple-watchos -filetype asm -o - %s -swift-async-fp always | FileCheck…
5 ; RUN: llc -mtriple arm64_32-apple-watchos -filetype asm -o - %s -swift-async-fp never | FileCheck …
6 ; RUN: llc -mtriple arm64_32-apple-watchos -filetype asm -o - %s -swift-async-fp auto | FileCheck %…
8 declare i8** @llvm.swift.async.context.addr()
13 %3 = tail call i8** @llvm.swift.async.context.addr()
H A Dswift-dynamic-async-frame.ll2 ; RUN: llc -mtriple arm64-apple-ios15.0.0 -swift-async-fp=auto %s -o - | FileCheck %s --check-prefi…
3 ; RUN: llc -mtriple arm64-apple-ios15.0.0 -swift-async-fp=never %s -o - | FileCheck %s --check-pref…
4 ; RUN: llc -mtriple arm64-apple-ios14.9.0 -swift-async-fp=always %s -o - | FileCheck %s --check-pre…
6 ; RUN: llc -mtriple arm64-apple-ios14.9.0 -swift-async-fp=auto %s -o - | FileCheck %s --check-prefi…
13 ; RUN: llc -mtriple arm64_32-apple-watchos7.9.0 -swift-async-fp=auto %s -o - | FileCheck %s --check…
/llvm-project-15.0.7/lld/test/MachO/
H A Dobjc-imageinfo.s72 # RUN: %lld -dylib -lSystem %t/with-category-cls.o %t/swift-version-1.o -o %t/swift-v1
74 # RUN: %t/swift-v1 | FileCheck %s --check-prefix=SWIFT-V1
75 # RUN: %lld -dylib -lSystem %t/with-category-cls.o %t/swift-version-2.o -o %t/swift-v2
77 # RUN: %t/swift-v2 | FileCheck %s --check-prefix=SWIFT-V2
99 …T-MISMATCH-12: error: Swift version mismatch: {{.*}}swift-version-1.o has version 1.0 but {{.*}}sw…
100 …T-MISMATCH-21: error: Swift version mismatch: {{.*}}swift-version-2.o has version 1.1 but {{.*}}sw…
130 #--- swift-version-1.s
137 #--- swift-version-2.s
H A Dobjc.s7 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-swift.s -o %t/has-swift.o
8 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-swift-proto.s -o %t/has-swift-proto…
69 # RUN: %t/has-objc-symbol.o %t/has-objc-category.o %t/has-swift.o %t/wrong-arch.o --end-lib \
95 #--- has-swift.s
99 #--- has-swift-proto.s
H A Dforce-load-swift-libs.ll4 ; RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/swift-foo.s -o %t/swift-foo.o
5 ; RUN: llvm-ar rcs %t/libswiftFoo.a %t/swift-foo.o
27 ; WHY-LOAD: LC_LINKER_OPTION forced load of {{.*}}libswiftFoo.a(swift-foo.o)
50 ;--- swift-foo.s
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dsjljeh-swifterror.ll5 %swift.error = type opaque
14 define swiftcc void @test(%swift.error** swifterror) local_unnamed_addr personality i32 (...)* @__o…
33 ; CHECK: store %swift.error* null, %swift.error** %0
35 define hidden swiftcc void @swift_error_bug(%swift.error** swifterror, void (i8*)** %fun, i1 %b) lo…
49 store %swift.error* null, %swift.error** %0, align 4
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dswift-dynamic-async-frame.ll2 ; RUN: llc -mtriple x86_64-apple-macosx12.0.0 -swift-async-fp=always %s -o - | FileCheck %s --check…
3 ; RUN: llc -mtriple x86_64-apple-macosx12.0.0 -swift-async-fp=auto %s -o - | FileCheck %s --check-p…
4 ; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=always %s -o - | FileCheck %s --check…
6 ; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=auto %s -o - | FileCheck %s --check-p…
7 ; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=always %s -o - | FileCheck %s --check…
8 ; RUN: llc -mtriple x86_64-apple-macosx11.9.0 -swift-async-fp=never %s -o - | FileCheck %s --check-…
H A Dload-combine-dbg.ll2 ; This was extracted from a swift debugger stepping testcase and checks that the
6 ; CHECK: .loc {{.*}} main.swift:100
8 ; CHECK: .loc {{.*}} main.swift:200
10 ; CHECK: .loc {{.*}} main.swift:300
28 !3 = !DIFile(filename: "main.swift", directory: "/")
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-availability-swift.c16 extern int noSwiftGlobal1 __attribute__((availability(swift, unavailable)));
21 extern int noSwiftGlobal1 __attribute__((availability(swift, unavailable, message="and this one has…
24 extern int noSwiftGlobal2 __attribute__((availability(swift, introduced=5))); // expected-warning{{…
27 extern int noSwiftGlobal3 __attribute__((availability(swift, deprecated, message="t")));

123456