• Home
  • Raw
  • Download

Lines Matching full:win64

4 // RUN:     | FileCheck -check-prefix WIN64 %s
20 // WIN64-LABEL: define void @catch_all()
21 // WIN64: invoke void @might_throw()
22 // WIN64-NEXT: to label %[[cont:[^ ]*]] unwind label %[[catchswitch_lpad:[^ ]*]]
24 // WIN64: [[catchswitch_lpad]]
25 // WIN64: %[[catchswitch:[^ ]*]] = catchswitch within none [label %[[catchpad_lpad:[^ ]*]]] unwind …
27 // WIN64: [[catchpad_lpad]]
28 // WIN64: catchpad within %[[catchswitch]] [i8* null, i32 64, i8* null]
29 // WIN64: call void @recover()
30 // WIN64: catchret from %{{.*}} to label %[[catchret:[^ ]*]]
32 // WIN64: [[catchret]]
33 // WIN64-NEXT: br label %[[ret:[^ ]*]]
35 // WIN64: [[ret]]
36 // WIN64: ret void
38 // WIN64: [[cont]]
39 // WIN64: br label %[[ret]]
49 // WIN64-LABEL: define void @catch_int()
50 // WIN64: catchpad within %{{[^ ]*}} [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i32* %[[e_addr:…
55 // WIN64-NOT: lifetime.start
57 // WIN64: %[[e_i8:[^ ]*]] = bitcast i32* %[[e_addr]] to i8*
58 // WIN64-NOT: lifetime.start
59 // WIN64: call void @handle_exception
60 // WIN64-SAME: (i8* %[[e_i8]])
61 // WIN64-NOT: lifetime.end
62 // WIN64: catchret
71 // WIN64-LABEL: define void @catch_int_unnamed()
72 // WIN64: catchpad within %{{.*}} [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i8* null]
73 // WIN64: catchret
97 // WIN64-LABEL: define void @catch_a_byval()
98 // WIN64: %[[e_addr:[^ ]*]] = alloca %struct.A
99 // WIN64: catchpad within %{{[^ ]*}} [%rtti.TypeDescriptor7* @"\01??_R0?AUA@@@8", i32 0, %struct.A*…
100 // WIN64: %[[e_i8:[^ ]*]] = bitcast %struct.A* %[[e_addr]] to i8*
101 // WIN64: call void @handle_exception(i8* %[[e_i8]])
102 // WIN64: catchret
112 // WIN64-LABEL: define void @catch_a_ref()
113 // WIN64: %[[e_addr:[^ ]*]] = alloca %struct.A*
114 // WIN64: catchpad within %{{[^ ]*}} [%rtti.TypeDescriptor7* @"\01??_R0?AUA@@@8", i32 8, %struct.A*…
115 // WIN64: %[[eptr:[^ ]*]] = load %struct.A*, %struct.A** %[[e_addr]]
116 // WIN64: %[[eptr_i8:[^ ]*]] = bitcast %struct.A* %[[eptr]] to i8*
117 // WIN64: call void @handle_exception(i8* %[[eptr_i8]])
118 // WIN64: catchret
124 // WIN64-LABEL: define void @fn_with_exc_spec()
125 // WIN64: call void @might_throw()
126 // WIN64-NEXT: ret void
140 // WIN64-LABEL: define void @catch_nested()
141 // WIN64: invoke void @might_throw()
142 // WIN64-NEXT: to label %{{.*}} unwind label %[[catchswitch_outer:[^ ]*]]
144 // WIN64: [[catchswitch_outer]]
145 // WIN64: %[[catchswitch_outer_scope:[^ ]*]] = catchswitch within none [label %[[catch_int_outer:[^…
147 // WIN64: [[catch_int_outer]]
148 // WIN64: %[[catchpad:[^ ]*]] = catchpad within %[[catchswitch_outer_scope]] [%rtti.TypeDescriptor2…
149 // WIN64: invoke void @might_throw()
150 // WIN64-NEXT: to label %[[cont2:[^ ]*]] unwind label %[[catchswitch_inner:[^ ]*]]
152 // WIN64: [[catchswitch_inner]]
153 // WIN64: %[[catchswitch_inner_scope:[^ ]*]] = catchswitch within %[[catchpad]] [label %[[catch_int…
155 // WIN64: [[catch_int_inner]]
156 // WIN64: catchpad within %[[catchswitch_inner_scope]] [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 …
157 // WIN64-NEXT: call void @might_throw()
158 // WIN64: catchret {{.*}} to label %[[catchret2:[^ ]*]]
160 // WIN64: [[catchret2]]
161 // WIN64: catchret {{.*}} to label %[[mainret:[^ ]*]]
163 // WIN64: [[mainret]]
164 // WIN64: ret void