Home
last modified time | relevance | path

Searched refs:eh (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/llvm-project-15.0.7/llvm/test/Analysis/Lint/
H A Dcppeh-catch-intrinsics-clean.ll4 ; use of the llvm.eh.begincatch and llvm.eh.endcatch intrinsics.
8 declare void @llvm.eh.begincatch(i8*, i8*)
10 declare void @llvm.eh.endcatch()
27 br i1 %matches, label %catch, label %eh.resume
30 call void @llvm.eh.begincatch(i8* %exn, i8* null)
35 call void @llvm.eh.endcatch()
62 br i1 %matches, label %catch, label %eh.resume
86 call void @llvm.eh.endcatch()
90 call void @llvm.eh.endcatch()
91 br label %eh.resume
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Deh-frame.s4 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos10.15 %s -o %t/eh-frame-x86_64.o
5 # RUN: %lld -lSystem -lc++ %t/eh-frame-x86_64.o -o %t/eh-frame-x86_64
8 # RUN: llvm-nm -m %t/eh-frame-x86_64 | FileCheck %s --check-prefix NO-EH-SYMS
16 # COM: ld -r %t/eh-frame-x86_64.o -o %S/Inputs/eh-frame-x86_64-r.o
17 # RUN: %lld -lSystem -lc++ %S/Inputs/eh-frame-x86_64-r.o -o %t/eh-frame-x86_64-r
20 # RUN: llvm-nm -m %t/eh-frame-x86_64-r | FileCheck %s --check-prefix NO-EH-SYMS
24 # RUN: %lld -arch arm64 -lSystem -lc++ %t/eh-frame-arm64.o -o %t/eh-frame-arm64
27 # RUN: llvm-nm -m %t/eh-frame-arm64 | FileCheck %s --check-prefix NO-EH-SYMS
29 # COM: ld -r %t/eh-frame-arm64.o -o %S/Inputs/eh-frame-arm64-r.o
30 # RUN: %lld -arch arm64 -lSystem -lc++ %S/Inputs/eh-frame-arm64-r.o -o %t/eh-frame-arm64-r
[all …]
H A Deh-frame-personality-dedup.s3 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin19.0.0 %t/eh-frame.s -o %t/eh-frame.o
5 # RUN: %lld -dylib %t/cu.o %t/eh-frame.o -o %t/out
15 ## Verify that the personality referenced via a symbol reloc in eh-frame.s gets
/llvm-project-15.0.7/llvm/test/CodeGen/WinEH/
H A Dwineh-intrinsics-invalid.ll8 ;T1: declare i8* @llvm.eh.exceptionpointer.p0i8(i32)
11 ;T1: call i8* @llvm.eh.exceptionpointer.p0i8(i32 0)
15 ;CHECK1-NEXT: i8* (i32)* @llvm.eh.exceptionpointer.p0i8
17 ;T2: declare i8* @llvm.eh.exceptionpointer.p0i8(token)
20 ;T2: call i8* @llvm.eh.exceptionpointer.p0i8(token undef)
23 ;CHECK2: eh.exceptionpointer argument must be a catchpad
24 ;CHECK2-NEXT: call i8* @llvm.eh.exceptionpointer.p0i8(token undef)
H A Dwineh-statenumbering.ll7 %eh.CatchableType = type { i32, i8*, i32, i32, i32, i32, i8* }
8 %eh.CatchableTypeArray.1 = type { i32, [1 x %eh.CatchableType*] }
9 %eh.ThrowInfo = type { i32, i8*, i8*, i8* }
22 …_CTA1H = linkonce_odr unnamed_addr constant %eh.CatchableTypeArray.1 { i32 1, [1 x %eh.CatchableTy…
23 @_TI1H = linkonce_odr unnamed_addr constant %eh.ThrowInfo { i32 0, i8* null, i8* null, i8* bitcast …
40 invoke void @_CxxThrowException(i8* %0, %eh.ThrowInfo* nonnull @_TI1H) #1
51 invoke void @_CxxThrowException(i8* null, %eh.ThrowInfo* null) [ "funclet"(token %1) ]
101 invoke void @_CxxThrowException(i8* null, %eh.ThrowInfo* null)
112 invoke void @_CxxThrowException(i8* null, %eh.ThrowInfo* null) [ "funclet"(token %1) ]
200 declare x86_stdcallcc void @_CxxThrowException(i8*, %eh.ThrowInfo*)
[all …]
H A Dwineh-intrinsics.ll4 ; use of the llvm.eh.exceptionpointer intrinsic.
8 declare i8* @llvm.eh.exceptionpointer.p0i8(token)
9 declare i8 addrspace(1)* @llvm.eh.exceptionpointer.p1i8(token)
21 %exn = call i8* @llvm.eh.exceptionpointer.p0i8(token %catch)
36 %exn = call i8 addrspace(1)* @llvm.eh.exceptionpointer.p1i8(token %catch)
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Ddwarf-eh-prepare.ll33 br i1 %int_match, label %catch_int, label %eh.resume
38 ; CHECK: call i32 @llvm.eh.typeid.for
47 eh.resume:
52 ; CHECK: eh.resume:
71 br i1 %int_match, label %catch_int, label %eh.resume
76 eh.resume:
122 br i1 %int_match, label %catch_int, label %eh.resume
127 eh.resume:
150 ; CHECK: call i32 @llvm.eh.typeid.for
154 ; CHECK: eh.resume:
[all …]
H A D2008-08-31-EH_RETURN32.ll11 call void @llvm.eh.unwind.init()
13 call void @llvm.eh.return.i32(i32 %a, ptr %b)
27 call void @llvm.eh.return.i32(i32 %a, ptr %b)
37 declare void @llvm.eh.return.i32(i32, ptr)
38 declare void @llvm.eh.unwind.init()
H A Dgcc_except_table_functions.ll11 declare i32 @llvm.eh.typeid.for(ptr)
27 %id0 = call i32 @llvm.eh.typeid.for(ptr @filt0)
32 %id1 = call i32 @llvm.eh.typeid.for(ptr @filt1)
34 br i1 %is_f1, label %try.cont, label %eh.resume
36 eh.resume:
H A Dno-prolog-kill.ll14 call void @llvm.eh.unwind.init()
15 call void @llvm.eh.return.i64(i64 %a, ptr %b)
19 declare void @llvm.eh.return.i64(i64, ptr)
20 declare void @llvm.eh.unwind.init()
H A D2008-08-31-EH_RETURN64.ll15 call void @llvm.eh.unwind.init()
17 call void @llvm.eh.return.i64(i64 %a, ptr %b)
21 declare void @llvm.eh.return.i64(i64, ptr)
22 declare void @llvm.eh.unwind.init()
50 tail call void @llvm.eh.return.i64(i64 0, ptr null)
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dehabi-filters.ll53 %eh.lpad-body = phi { i8*, i32 } [ %4, %lpad ], [ %1, %lpad.i ]
54 %5 = extractvalue { i8*, i32 } %eh.lpad-body, 1
55 %6 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*)) nounwind
57 br i1 %matches, label %try.cont, label %eh.resume
60 %7 = extractvalue { i8*, i32 } %eh.lpad-body, 0
65 eh.resume: ; preds = %lpad.body
66 resume { i8*, i32 } %eh.lpad-body
69 declare i32 @llvm.eh.typeid.for(i8*) nounwind readnone
H A Dsetjmp_longjmp.ll6 declare i32 @llvm.eh.sjlj.setjmp(i8*)
7 declare void @llvm.eh.sjlj.longjmp(i8*)
14 declare i32 @llvm.eh.typeid.for(i8*)
50 %setjmpres = call i32 @llvm.eh.sjlj.setjmp(i8* %bufptr)
60 call void @llvm.eh.sjlj.longjmp(i8* %bufptr)
91 %2 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIPKc to i8*)) #3
93 br i1 %matches, label %catch, label %eh.resume
106 %9 = call i32 @llvm.eh.sjlj.setjmp(i8* %5)
117 call void @llvm.eh.sjlj.longjmp(i8* %5)
120 eh.resume:
/llvm-project-15.0.7/lld/ELF/
H A DMarkLive.cpp61 void scanEhFrameSection(EhInputSection &eh, ArrayRef<RelTy> rels);
144 void MarkLive<ELFT>::scanEhFrameSection(EhInputSection &eh, in scanEhFrameSection() argument
146 for (size_t i = 0, end = eh.pieces.size(); i < end; ++i) { in scanEhFrameSection()
147 EhSectionPiece &piece = eh.pieces[i]; in scanEhFrameSection()
155 resolveReloc(eh, rels[firstRelI], false); in scanEhFrameSection()
162 resolveReloc(eh, rels[j], true); in scanEhFrameSection()
252 if (auto *eh = dyn_cast<EhInputSection>(sec)) { in run() local
253 eh->markLive(); in run()
255 const RelsOrRelas<ELFT> rels = eh->template relsOrRelas<ELFT>(); in run()
257 scanEhFrameSection(*eh, rels.rels); in run()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/LCSSA/
H A Dmixed-catch.ll43 invoke void @_CxxThrowException(i8* %tmp1, %eh.ThrowInfo* nonnull @_TI1H) #1
75 %eh.CatchableType = type { i32, i32, i32, i32, i32, i32, i32 }
76 %eh.CatchableTypeArray.1 = type { i32, [1 x i32] }
77 %eh.ThrowInfo = type { i32, i32, i32, i32 }
90 @"_CT??_R0H@84" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 1, i32 trunc (i64 sub …
91 …once_odr unnamed_addr constant %eh.CatchableTypeArray.1 { i32 1, [1 x i32] [i32 trunc (i64 sub nuw…
92 …linkonce_odr unnamed_addr constant %eh.ThrowInfo { i32 0, i32 0, i32 0, i32 trunc (i64 sub nuw nsw…
94 declare void @_CxxThrowException(i8*, %eh.ThrowInfo*)
/llvm-project-15.0.7/llvm/test/Transforms/NewGVN/
H A D2011-09-07-TypeIdFor.ll12 declare i32 @llvm.eh.typeid.for(i8*) nounwind readonly
33 …%typeid.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo*…
34 ; CHECK: call i32 @llvm.eh.typeid.for
39 …%typeid1.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo…
40 ; CHECK: call i32 @llvm.eh.typeid.for
56 …%typeid = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @…
57 ; CHECK-NOT: call i32 @llvm.eh.typeid.for
62 …%typeid1 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* …
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A D2011-09-07-TypeIdFor.ll12 declare i32 @llvm.eh.typeid.for(i8*) nounwind readonly
33 …%typeid.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo*…
34 ; CHECK: call i32 @llvm.eh.typeid.for
39 …%typeid1.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo…
40 ; CHECK: call i32 @llvm.eh.typeid.for
56 …%typeid = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @…
57 ; CHECK-NOT: call i32 @llvm.eh.typeid.for
62 …%typeid1 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* …
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Deh-frame-reloc-out-of-range.test2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/eh-frame-reloc-out-of-range.s -…
5 PHDRS { eh PT_LOAD; text PT_LOAD; }
7 .eh_frame_hdr : { *(.eh_frame_hdr*) } : eh
8 .eh_frame : { *(.eh_frame) } : eh
/llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/
H A Dresume.ll15 br i1 undef, label %pre-resume-eh, label %normal
17 pre-resume-eh:
19 br label %resume-eh
21 resume-eh:
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dlifetime-throw.ll53 %eh.CatchableType = type { i32, i32, i32, i32, i32, i32, i32 }
54 %eh.CatchableTypeArray.1 = type { i32, [1 x i32] }
55 %eh.ThrowInfo = type { i32, i32, i32, i32 }
66 @"_CT??_R0?AUABC@@@84" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 0, i32 trunc (i…
67 …once_odr unnamed_addr constant %eh.CatchableTypeArray.1 { i32 1, [1 x i32] [i32 trunc (i64 sub nuw…
68 …eh.ThrowInfo { i32 0, i32 trunc (i64 sub nuw nsw (i64 ptrtoint (void (%struct.ABC*)* @"\01??1ABC@@…
85 invoke void @_CxxThrowException(i8* %1, %eh.ThrowInfo* nonnull @"_TI1?AUABC@@") noreturn
113 declare void @_CxxThrowException(i8*, %eh.ThrowInfo*)
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinline_invoke.ll22 declare i32 @llvm.eh.typeid.for(i8*) nounwind
75 %eh.exc = extractvalue { i8*, i32 } %exn, 0
76 %eh.selector = extractvalue { i8*, i32 } %exn, 1
78 %1 = icmp eq i32 %eh.selector, %0
79 br i1 %1, label %catch, label %eh.resume
86 eh.resume:
112 ; CHECK-NEXT: call i32 @llvm.eh.typeid.for(
134 %eh.exc = extractvalue { i8*, i32 } %exn, 0
137 %1 = icmp eq i32 %eh.selector, %0
138 br i1 %1, label %catch, label %eh.resume
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/minidump-new/
H A Dinstall_breakpad.cpp8 google_breakpad::ExceptionHandler *eh; variable
12 eh = new google_breakpad::ExceptionHandler(descriptor, NULL, dumpCallback, in InstallBreakpad()
16 void WriteMinidump() { eh->WriteMinidump(); } in WriteMinidump()
/llvm-project-15.0.7/llvm/test/ExecutionEngine/OrcLazy/
H A Dminimal-throw-catch.ll4 ; Basic correctness testing for eh-frame processing and registration.
16 declare i32 @llvm.eh.typeid.for(i8*)
38 %2 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*))
40 br i1 %matches, label %catch, label %eh.resume
56 eh.resume:
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Deh-dwarf-cfa.ll7 declare i8* @llvm.eh.dwarf.cfa(i32) nounwind
13 %0 = call i8* @llvm.eh.dwarf.cfa(i32 0)
26 %0 = call i8* @llvm.eh.dwarf.cfa(i32 0)
46 %0 = call i8* @llvm.eh.dwarf.cfa(i32 0)
66 %0 = call i8* @llvm.eh.dwarf.cfa(i32 0)
/llvm-project-15.0.7/llvm/test/CodeGen/XCore/
H A Dllvm-intrinsics.ll6 declare i8* @llvm.eh.dwarf.cfa(i32) nounwind
8 declare void @llvm.eh.unwind.init() nounwind
60 %0 = call i8* @llvm.eh.dwarf.cfa(i32 0)
73 %1 = call i8* @llvm.eh.dwarf.cfa(i32 0)
196 call void @llvm.eh.unwind.init()
248 call void @llvm.eh.unwind.init()
254 ; We only restore R0:1 during eh.return
305 ; We only restore R0:1 during eh.return
353 call void @llvm.eh.unwind.init()
355 br i1 %cmp, label %normal, label %eh
[all …]

12345678910>>...14