Home
last modified time | relevance | path

Searched refs:coro_hdl (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_coro.c71 LLVMValueRef coro_hdl = lp_build_intrinsic(gallivm->builder, in lp_build_coro_begin() local
75 return coro_hdl; in lp_build_coro_begin()
79 LLVMValueRef coro_id, LLVMValueRef coro_hdl) in lp_build_coro_free() argument
83 coro_free_args[1] = coro_hdl; in lp_build_coro_free()
90 void lp_build_coro_end(struct gallivm_state *gallivm, LLVMValueRef coro_hdl) in lp_build_coro_end() argument
93 coro_end_args[0] = coro_hdl; in lp_build_coro_end()
101 void lp_build_coro_resume(struct gallivm_state *gallivm, LLVMValueRef coro_hdl) in lp_build_coro_resume() argument
106 &coro_hdl, 1, 0); in lp_build_coro_resume()
109 void lp_build_coro_destroy(struct gallivm_state *gallivm, LLVMValueRef coro_hdl) in lp_build_coro_destroy() argument
114 &coro_hdl, 1, 0); in lp_build_coro_destroy()
[all …]
Dlp_bld_coro.h42 LLVMValueRef coro_id, LLVMValueRef coro_hdl);
45 LLVMValueRef coro_hdl);
47 void lp_build_coro_resume(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
49 void lp_build_coro_destroy(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
51 LLVMValueRef lp_build_coro_done(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
58 …lp_build_coro_free_mem(struct gallivm_state *gallivm, LLVMValueRef coro_id, LLVMValueRef coro_hdl);
/external/llvm-project/llvm/test/Transforms/Coroutines/
Dcoro-debug.ll13 %coro_hdl = alloca i8*, align 8
19 store i8* %2, i8** %coro_hdl, align 8, !dbg !16
30 call void @llvm.dbg.declare(metadata i8** %coro_hdl, metadata !15, metadata !13), !dbg !16
46 %5 = load i8*, i8** %coro_hdl, align 8, !dbg !24
53 %8 = load i8*, i8** %coro_hdl, align 8, !dbg !24
119 !15 = !DILocalVariable(name: "coro_hdl", scope: !6, file: !7, line: 56, type: !10)
Dcoro-split-dbg.ll102 !21 = !DILocalVariable(name: "coro_hdl", scope: !16, file: !1, line: 9, type: !19)
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c242 LLVMValueRef coro_hdl = LLVMBuildLoad(gallivm->builder, coro_entry, "coro_hdl"); in generate_compute() local
253 LLVMValueRef coro_done = lp_build_coro_done(gallivm, coro_hdl); in generate_compute()
257 lp_build_coro_destroy(gallivm, coro_hdl); in generate_compute()
261 lp_build_coro_resume(gallivm, coro_hdl); in generate_compute()
320 LLVMValueRef coro_hdl = lp_build_coro_begin_alloc_mem(gallivm, coro_id); in generate_compute() local
411 lp_build_coro_free_mem(gallivm, coro_id, coro_hdl); in generate_compute()
416 lp_build_coro_end(gallivm, coro_hdl); in generate_compute()
417 LLVMBuildRet(builder, coro_hdl); in generate_compute()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c3411 LLVMValueRef coro_hdl = LLVMBuildLoad(builder, coro_entry, "coro_hdl"); in draw_tcs_llvm_generate() local
3422 LLVMValueRef coro_done = lp_build_coro_done(gallivm, coro_hdl); in draw_tcs_llvm_generate()
3426 lp_build_coro_destroy(gallivm, coro_hdl); in draw_tcs_llvm_generate()
3430 lp_build_coro_resume(gallivm, coro_hdl); in draw_tcs_llvm_generate()
3482 LLVMValueRef coro_hdl = lp_build_coro_begin_alloc_mem(gallivm, coro_id); in draw_tcs_llvm_generate() local
3521 lp_build_coro_free_mem(gallivm, coro_id, coro_hdl); in draw_tcs_llvm_generate()
3526 lp_build_coro_end(gallivm, coro_hdl); in draw_tcs_llvm_generate()
3527 LLVMBuildRet(builder, coro_hdl); in draw_tcs_llvm_generate()