Changeset View
Changeset View
Standalone View
Standalone View
include/llvm/IR/Intrinsics.td
Show First 20 Lines • Show All 596 Lines • ▼ Show 20 Lines | def int_experimental_gc_relocate : Intrinsic<[llvm_any_ty], | ||||
[llvm_token_ty, llvm_i32_ty, llvm_i32_ty], | [llvm_token_ty, llvm_i32_ty, llvm_i32_ty], | ||||
[IntrReadMem]>; | [IntrReadMem]>; | ||||
//===------------------------ Coroutine Intrinsics ---------------===// | //===------------------------ Coroutine Intrinsics ---------------===// | ||||
// These are documented in docs/Coroutines.rst | // These are documented in docs/Coroutines.rst | ||||
// Coroutine Structure Intrinsics. | // Coroutine Structure Intrinsics. | ||||
def int_coro_alloc : Intrinsic<[llvm_ptr_ty], [], []>; | def int_coro_id : Intrinsic<[llvm_token_ty], [], []>; | ||||
def int_coro_begin : Intrinsic<[llvm_token_ty], [llvm_ptr_ty, llvm_ptr_ty, | def int_coro_alloc : Intrinsic<[llvm_i1_ty], [llvm_token_ty], []>; | ||||
def int_coro_begin : Intrinsic<[llvm_ptr_ty], [llvm_token_ty, llvm_ptr_ty, | |||||
llvm_i32_ty, llvm_ptr_ty, llvm_ptr_ty], | llvm_i32_ty, llvm_ptr_ty, llvm_ptr_ty], | ||||
[WriteOnly<0>, WriteOnly<0>, | [WriteOnly<1>, | ||||
ReadNone<3>, ReadOnly<4>, NoCapture<4>]>; | ReadNone<3>, ReadOnly<4>, NoCapture<4>]>; | ||||
def int_coro_free : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty], | def int_coro_free : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty], | ||||
[IntrArgMemOnly, ReadOnly<0>, NoCapture<0>]>; | [IntrArgMemOnly, ReadOnly<0>, NoCapture<0>]>; | ||||
def int_coro_end : Intrinsic<[], [llvm_ptr_ty, llvm_i1_ty], []>; | def int_coro_end : Intrinsic<[], [llvm_ptr_ty, llvm_i1_ty], []>; | ||||
def int_coro_frame : Intrinsic<[llvm_ptr_ty], [llvm_token_ty], [IntrNoMem]>; | def int_coro_frame : Intrinsic<[llvm_ptr_ty], [], [IntrNoMem]>; | ||||
def int_coro_size : Intrinsic<[llvm_anyint_ty], [], [IntrNoMem]>; | def int_coro_size : Intrinsic<[llvm_anyint_ty], [], [IntrNoMem]>; | ||||
def int_coro_save : Intrinsic<[llvm_token_ty], [llvm_ptr_ty], []>; | def int_coro_save : Intrinsic<[llvm_token_ty], [llvm_ptr_ty], []>; | ||||
def int_coro_suspend : Intrinsic<[llvm_i8_ty], [llvm_token_ty, llvm_i1_ty], []>; | def int_coro_suspend : Intrinsic<[llvm_i8_ty], [llvm_token_ty, llvm_i1_ty], []>; | ||||
def int_coro_param : Intrinsic<[llvm_i1_ty], [llvm_ptr_ty, llvm_ptr_ty], | def int_coro_param : Intrinsic<[llvm_i1_ty], [llvm_ptr_ty, llvm_ptr_ty], | ||||
[IntrNoMem, ReadNone<0>, ReadNone<1>]>; | [IntrNoMem, ReadNone<0>, ReadNone<1>]>; | ||||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |