Displaying 3 results from an estimated 3 matches for "unwind0".
Did you mean:
unwind
2018 Jan 10
3
RFC: attribute synthetic("reason")
...bitcast (i8* (i8*, i1)* @prototype to i8*), i8* bitcast (i8* (i32)* @allocate to i8*), i8* bitcast (void (i8*)* @deallocate to i8*))
%hdl = call i8* @llvm.coro.begin(token %id, i8* null)
br label %loop
loop:
%n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
call void @print(i32 %n.val)
%unwind0 = call i1 (...) @llvm.coro.suspend.retcon.i1()
br i1 %unwind0, label %cleanup, label %resume
resume:
%inc = add i32 %n.val, 1
br label %loop
cleanup:
call i1 @llvm.coro.end(i8* %hdl, i1 0)
unreachable
}
In this function body, the coroutine intrinsics are structurally special: they are...
2018 Jan 12
0
RFC: attribute synthetic("reason")
...8*), i8* bitcast (i8* (i32)*
> @allocate to i8*), i8* bitcast (void (i8*)* @deallocate to i8*))
> %hdl = call i8* @llvm.coro.begin(token %id, i8* null)
> br label %loop
>
> loop:
> %n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
> call void @print(i32 %n.val)
> %unwind0 = call i1 (...) @llvm.coro.suspend.retcon.i1()
> br i1 %unwind0, label %cleanup, label %resume
>
> resume:
> %inc = add i32 %n.val, 1
> br label %loop
>
> cleanup:
> call i1 @llvm.coro.end(i8* %hdl, i1 0)
> unreachable
> }
>
>
> In this function body...
2018 Jan 10
0
RFC: attribute synthetic("reason")
...to i8*), i8* bitcast (i8* (i32)* @allocate to i8*), i8* bitcast (void (i8*)* @deallocate to i8*))
> %hdl = call i8* @llvm.coro.begin(token %id, i8* null)
> br label %loop
>
> loop:
> %n.val = phi i32 [ %n, %entry ], [ %inc, %resume ]
> call void @print(i32 %n.val)
> %unwind0 = call i1 (...) @llvm.coro.suspend.retcon.i1()
> br i1 %unwind0, label %cleanup, label %resume
>
> resume:
> %inc = add i32 %n.val, 1
> br label %loop
>
> cleanup:
> call i1 @llvm.coro.end(i8* %hdl, i1 0)
> unreachable
> }
>
> In this function body,...