Home
last modified time | relevance | path

Searched refs:resume (Results 1 – 25 of 976) sorted by relevance

12345678910>>...40

/external/llvm-project/llvm/test/Transforms/Coroutines/
Dcoro-split-eh-00.ll1 ; Tests that coro-split removes cleanup code after coro.end in resume functions
11 br i1 %val, label %resume, label %susp
15 switch i8 %0, label %suspend [i8 0, label %resume
17 resume:
22 call void @print(i32 0) ; should not be present in f.resume
30 %need.resume = call i1 @llvm.coro.end(i8* null, i1 true)
31 br i1 %need.resume, label %eh.resume, label %cleanup.cont
34 call void @print(i32 3) ; should not be present in f.resume
35 br label %eh.resume
37 eh.resume:
[all …]
Dcoro-split-eh-01.ll1 ; Tests that coro-split removes cleanup code after coro.end in resume functions
11 br i1 %val, label %resume, label %susp
15 switch i8 %0, label %suspend [i8 0, label %resume
17 resume:
22 call void @print(i32 0) ; should not be present in f.resume
33 call void @print(i32 3) ; should not be present in f.resume
54 ; Verify that resume function does not contains both print calls appearing after coro.end
55 ; CHECK-LABEL: define internal fastcc void @f2.resume
70 declare void @llvm.coro.resume(i8*)
Dcoro-alloca-05.ll2 ; live on the frame are properly moved to the .resume function.
14 switch i8 %sp1, label %suspend [i8 0, label %resume
16 resume:
31 ; CHECK-LABEL: @f.resume(
32 ; CHECK-NEXT: entry.resume:
43 declare void @llvm.coro.resume(i8*)
Dcoro-retcon-alloca.ll14 %n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
19 br i1 %unwind, label %cleanup, label %resume
21 resume:
38 …rtvalue { i8*, i8*, i32 } { i8* bitcast ({ i8*, i8*, i32 } (i8*, i1)* @f.resume.0 to i8*), i8* und…
43 ; CHECK-LABEL: define internal { i8*, i8*, i32 } @f.resume.0(i8* {{.*}} %0, i1 %1)
58 %n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
64 br i1 %unwind, label %cleanup, label %resume
66 resume:
82 …*]] = insertvalue { i8*, i32 } { i8* bitcast ({ i8*, i32 } (i8*, i1)* @g.resume.0 to i8*), i32 und…
86 ; CHECK-LABEL: define internal { i8*, i32 } @g.resume.0(i8* {{.*}} %0, i1 %1)
[all …]
Dex0.ll14 %n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
17 switch i8 %0, label %suspend [i8 0, label %resume
19 resume:
36 call void @llvm.coro.resume(i8* %hdl)
37 call void @llvm.coro.resume(i8* %hdl)
52 declare void @llvm.coro.resume(i8*)
Dcoro-swifterror.ll11 %n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
18 br i1 %unwind0, label %cleanup, label %resume
20 resume:
40 ; CHECK-NEXT: ret i8* bitcast (i8* (i8*, i1, i8**)* @f.resume.0 to i8*)
43 ; CHECK-LABEL: define internal i8* @f.resume.0(i8* {{.*}} %0, i1 zeroext %1, i8** swifterror %2)
58 ; CHECK-NEXT: ret i8* bitcast (i8* (i8*, i1, i8**)* @f.resume.0 to i8*)
72 %n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
78 br i1 %unwind0, label %cleanup, label %resume
80 resume:
102 ; CHECK-NEXT: ret i8* bitcast (i8* (i8*, i1)* @g.resume.0 to i8*)
[all …]
Dcoro-split-00.ll1 ; Tests that coro-split pass splits the coroutine into f, f.resume and f.destroy
21 switch i8 %0, label %suspend [i8 0, label %resume
23 resume:
39 ; CHECK: store void (%f.Frame*)* @f.resume, void (%f.Frame*)** %resume.addr
47 ; CHECK-LABEL: @f.resume(
70 declare void @llvm.coro.resume(i8*)
/external/llvm-project/llvm/test/Transforms/HotColdSplit/
Dresume.ll6 ; Consider `resume` to be cold.
15 br i1 undef, label %pre-resume-eh, label %normal
17 pre-resume-eh:
19 br label %resume-eh
21 resume-eh:
22 resume i32 undef
Dunwind.ll6 ; Do not split out `resume` instructions.
10 ; CHECK-NOT: resume i32 undef
25 br label %resume-eh
27 resume-eh:
28 resume i32 undef
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCancellableResumeTest.kt21 cont.resume("OK") { expectUnreached() } in <lambda>()
38 cont.resume("OK") { cause -> in <lambda>()
64 cont.resume("OK") { cause -> in <lambda>()
85 cont.resume("OK") { cause -> in <lambda>()
111 cont.resume("OK") { cause -> in <lambda>()
135 cc.resume("OK") { expectUnreached() } in <lambda>()
159 cc.resume("OK") { cause -> in <lambda>()
194 cc.resume("OK") { cause -> in <lambda>()
225 cc.resume("OK") { cause -> in <lambda>()
266 cc.resume("OK") { cause -> in <lambda>()
[all …]
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/X86/
Dbug-25299.ll18 br i1 %B, label %resume, label %then
21 br label %resume
23 resume: ; preds = %cleanup2, %then, %cleanup1, %unwind
25 ;CHECK-NOT: resume { i8*, i32 } %tmp104
26 resume { i8*, i32 } %tmp104
37 br label %resume
/external/llvm/test/Transforms/SimplifyCFG/
Dbug-25299.ll18 br i1 %B, label %resume, label %then
21 br label %resume
23 resume: ; preds = %cleanup2, %then, %cleanup1, %unwind
25 ;CHECK-NOT: resume { i8*, i32 } %tmp104
26 resume { i8*, i32 } %tmp104
37 br label %resume
/external/llvm/test/CodeGen/X86/
Ddwarf-eh-prepare.ll33 br i1 %int_match, label %catch_int, label %eh.resume
47 eh.resume:
50 resume { i8*, i32 } %new_ehvals
52 ; CHECK: eh.resume:
71 br i1 %int_match, label %catch_int, label %eh.resume
76 eh.resume:
79 resume { i8*, i32 } %new_ehvals
82 ; Check that we can prune the unreachable resume instruction.
122 br i1 %int_match, label %catch_int, label %eh.resume
127 eh.resume:
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
Ddwarf-eh-prepare.ll33 br i1 %int_match, label %catch_int, label %eh.resume
47 eh.resume:
50 resume { i8*, i32 } %new_ehvals
52 ; CHECK: eh.resume:
71 br i1 %int_match, label %catch_int, label %eh.resume
76 eh.resume:
79 resume { i8*, i32 } %new_ehvals
82 ; Check that we can prune the unreachable resume instruction.
122 br i1 %int_match, label %catch_int, label %eh.resume
127 eh.resume:
[all …]
/external/llvm-project/llvm/test/Transforms/Inline/
Dinvoke-combine-clauses.ll11 ; Check for a bug in which multiple "resume" instructions in the
26 resume i32 1
28 resume i32 2
39 resume i32 %lp
49 ; Check for a bug in which having a "resume" and a "call" in the
62 resume i32 %lp
73 resume i32 %lp
84 ; no "resume". In this case, the inlined landingpad does not need to
97 ; A landingpad might have no "resume" if a C++ destructor aborts.
110 resume i32 %lp
/external/llvm/test/Transforms/Inline/
Dinvoke-combine-clauses.ll11 ; Check for a bug in which multiple "resume" instructions in the
26 resume i32 1
28 resume i32 2
39 resume i32 %lp
49 ; Check for a bug in which having a "resume" and a "call" in the
62 resume i32 %lp
73 resume i32 %lp
84 ; no "resume". In this case, the inlined landingpad does not need to
97 ; A landingpad might have no "resume" if a C++ destructor aborts.
110 resume i32 %lp
/external/llvm-project/llvm/test/CodeGen/ARM/
Dinvoke-donothing-assert.ll25 br label %eh.resume
30 br label %eh.resume
32 eh.resume:
33 resume { i8*, i32 } zeroinitializer
40 to label %call.i.i.i.noexc unwind label %eh.resume
60 eh.resume:
67 resume { i8*, i32 } %lpad.val395
/external/llvm/test/CodeGen/ARM/
Dinvoke-donothing-assert.ll25 br label %eh.resume
30 br label %eh.resume
32 eh.resume:
33 resume { i8*, i32 } zeroinitializer
40 to label %call.i.i.i.noexc unwind label %eh.resume
60 eh.resume:
67 resume { i8*, i32 } %lpad.val395
/external/llvm-project/mlir/lib/ExecutionEngine/
DAsyncRuntime.cpp236 extern "C" void mlirAsyncRuntimeExecute(CoroHandle handle, CoroResume resume) { in mlirAsyncRuntimeExecute() argument
237 (*resume)(handle); in mlirAsyncRuntimeExecute()
242 CoroResume resume) { in mlirAsyncRuntimeAwaitTokenAndExecute() argument
244 auto execute = [handle, resume]() { (*resume)(handle); }; in mlirAsyncRuntimeAwaitTokenAndExecute()
253 CoroResume resume) { in mlirAsyncRuntimeAwaitAllInGroupAndExecute() argument
255 auto execute = [handle, resume]() { (*resume)(handle); }; in mlirAsyncRuntimeAwaitAllInGroupAndExecute()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/src/
DRxAwait.kt27 override fun onComplete() { cont.resume(Unit) } in <lambda>()
58 override fun onComplete() { cont.resume(default) } in await()
59 override fun onSuccess(t: T) { cont.resume(t) } in await()
77 override fun onSuccess(t: T) { cont.resume(t) } in await()
183 cont.resume(t) in toString()
203 if (cont.isActive) cont.resume(value as T) in toString()
208 cont.resume(default as T) in toString()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/src/
DRxAwait.kt27 override fun onComplete() { cont.resume(Unit) } in <lambda>()
58 override fun onComplete() { cont.resume(default) } in await()
59 override fun onSuccess(t: T) { cont.resume(t) } in await()
77 override fun onSuccess(t: T) { cont.resume(t) } in await()
183 cont.resume(t) in toString()
203 if (cont.isActive) cont.resume(value as T) in toString()
208 cont.resume(default as T) in toString()
/external/llvm/test/Analysis/Lint/
Dcppeh-catch-intrinsics-clean.ll27 br i1 %matches, label %catch, label %eh.resume
41 eh.resume: ; preds = %catch.dispatch
42 resume { i8*, i32 } %0
62 br i1 %matches, label %catch, label %eh.resume
75 br i1 %matchesl1, label %catch, label %eh.resume
91 br label %eh.resume
96 eh.resume: ; preds = %catch.dispatch
98 resume { i8*, i32 } %lpad.val
/external/llvm-project/llvm/test/Analysis/Lint/
Dcppeh-catch-intrinsics-clean.ll27 br i1 %matches, label %catch, label %eh.resume
41 eh.resume: ; preds = %catch.dispatch
42 resume { i8*, i32 } %0
62 br i1 %matches, label %catch, label %eh.resume
75 br i1 %matchesl1, label %catch, label %eh.resume
91 br label %eh.resume
96 eh.resume: ; preds = %catch.dispatch
98 resume { i8*, i32 } %lpad.val
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DEventWithExceptionTest.java95 debuggeeWrapper.resume(); in testBreakpoint_BeforeException()
118 debuggeeWrapper.resume(); in testBreakpoint_BeforeException()
151 debuggeeWrapper.resume(); in testBreakpoint_UponException()
163 debuggeeWrapper.resume(); in testBreakpoint_UponException()
178 debuggeeWrapper.resume(); in testBreakpoint_UponException()
241 debuggeeWrapper.resume(); in runSingleStepTest()
257 debuggeeWrapper.resume(); in runSingleStepTest()
272 debuggeeWrapper.resume(); in runSingleStepTest()
310 debuggeeWrapper.resume(); in runFieldWatchpointTest()
331 debuggeeWrapper.resume(); in runFieldWatchpointTest()
[all …]
/external/rust/crates/tokio/tests/
Dtest_clock.rs14 time::resume(); in resume_lets_time_move_forward_instead_of_resetting_it()
24 time::resume(); in can_pause_after_resume()
48 time::resume(); in resuming_time_when_not_frozen_panics()
49 time::resume(); in resuming_time_when_not_frozen_panics()

12345678910>>...40