Lines Matching refs:eh
21 declare i8* @llvm.eh.exception() nounwind readonly
23 declare i32 @llvm.eh.selector(i8*, i8*, ...) nounwind
25 declare i32 @llvm.eh.typeid.for(i8*) nounwind
27 declare void @llvm.eh.resume(i8*, i32)
54 %exn = call i8* @llvm.eh.exception() nounwind
55 …%eh.selector = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gx…
60 call void @llvm.eh.resume(i8* %exn, i32 %eh.selector) noreturn
64 %exn3 = call i8* @llvm.eh.exception() nounwind
65 …%eh.selector4 = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn3, i8* bitcast (i32 (...)* @__…
79 %exn = call i8* @llvm.eh.exception() nounwind
80 …%eh.selector = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gx…
81 %0 = call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*)) nounwind
82 %1 = icmp eq i32 %eh.selector, %0
83 br i1 %1, label %catch, label %eh.resume
90 eh.resume:
91 call void @llvm.eh.resume(i8* %exn, i32 %eh.selector) noreturn
102 ; CHECK: call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* {{%.*}}, i8* bitcast (i32 (...)* @__g…
108 ; CHECK: call i8* @llvm.eh.exception()
109 ; CHECK-NEXT: call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* {{%.*}}, i8* bitcast (i32 (...)* @__g…
114 ; CHECK-NEXT: call i32 @llvm.eh.typeid.for(
134 %exn = call i8* @llvm.eh.exception() nounwind
135 …%eh.selector = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gx…
136 %0 = call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*)) nounwind
137 %1 = icmp eq i32 %eh.selector, %0
138 br i1 %1, label %catch, label %eh.resume
147 eh.resume:
148 call void @llvm.eh.resume(i8* %exn, i32 %eh.selector) noreturn
168 ; CHECK-NEXT: [[EXN1:%.*]] = call i8* @llvm.eh.exception()
169 ; CHECK-NEXT: [[SEL1:%.*]] = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* [[EXN1]], i8* bitcast …
186 ; CHECK-NEXT: [[EXN2:%.*]] = call i8* @llvm.eh.exception()
187 ; CHECK-NEXT: [[SEL2:%.*]] = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* [[EXN2]], i8* bitcast …
198 ; CHECK-NEXT: [[EXN:%.*]] = call i8* @llvm.eh.exception()
199 ; CHECK-NEXT: [[SEL:%.*]] = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* [[EXN]], i8* bitcast (i…
214 ; CHECK-NEXT: [[T:%.*]] = call i32 @llvm.eh.typeid.for(
220 ; CHECK: call void @llvm.eh.resume(i8* [[EXNJ1]], i32 [[SELJ1]])
223 ;; Test 2 - Don't make invalid IR for inlines into landing pads without eh.exception calls
263 %exn = call i8* @llvm.eh.exception() nounwind
264 …%eh.selector = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gx…
270 ; CHECK: call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* {{%.*}}, i8* bitcast (i32 (...)* @__g…
302 %exn = call i8* @llvm.eh.exception() nounwind
303 …%eh.selector = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gx…
310 ; CHECK: call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* {{%.*}}, i8* bitcast (i32 (...)* @__g…
318 ; CHECK-NEXT: call i8* @llvm.eh.exception()
319 ; CHECK-NEXT: call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %4, i8* bitcast (i32 (...)* @__gxx_pe…
328 ; CHECK-NEXT: call i8* @llvm.eh.exception() nounwind
329 ; CHECK-NEXT: call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gxx_…