Searched refs:ac_get_thread_id (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 47 return LLVMBuildAdd(builder, tmp, ac_get_thread_id(&ctx->ac), ""); in get_thread_id_in_tg() 331 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 380 tmp2 = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), scratch_offset_basev, ""); in build_streamout() 438 ac_get_thread_id(&ctx->ac), ""); in build_streamout() 452 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 455 tmp = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), scratch_emit_basev, ""); in build_streamout() 498 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout() 878 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in gfx10_emit_ngg_culling_epilogue() 1436 tmp = LLVMBuildICmp(builder, LLVMIntULE, ac_get_thread_id(&ctx->ac), in gfx10_emit_ngg_epilogue() 1765 tmp = LLVMBuildICmp(builder, LLVMIntEQ, ac_get_thread_id(&ctx->ac), ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue()
|
D | si_shader_llvm_gs.c | 33 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_es_thread() 40 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_gs_thread() 147 LLVMValueRef vertex_idx = ac_get_thread_id(&ctx->ac); in si_llvm_emit_es_epilogue()
|
D | si_shader_llvm.c | 694 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function() 773 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function()
|
D | si_shader_llvm_vs.c | 333 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in si_llvm_emit_streamout()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 1119 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in radv_emit_streamout() 1442 return LLVMBuildAdd(builder, tmp, ac_get_thread_id(&ctx->ac), ""); in get_thread_id_in_tg() 1576 LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), prims_in_wave, ""); in handle_ngg_outputs_post_2() 1578 LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), vtx_in_wave, ""); in handle_ngg_outputs_post_2() 1774 tmp = LLVMBuildICmp(builder, LLVMIntEQ, ac_get_thread_id(&ctx->ac), ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue_1() 2547 LLVMValueRef thread_id = ac_get_thread_id(&ctx.ac); in ac_translate_nir_to_llvm()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 1765 LLVMValueRef ac_get_thread_id(struct ac_llvm_context *ctx) in ac_get_thread_id() function 3900 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_wavefront_shift_right_1() 3933 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_wavefront_shift_right_1() 3973 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_scan() 4037 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_scan() 4196 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_wg_wavescan_top() 4225 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_wg_wavescan_bottom() 4593 ac_build_ifcc(ctx, LLVMBuildICmp(builder, LLVMIntEQ, ac_get_thread_id(ctx), ctx->i32_0, ""), in ac_build_sendmsg_gs_alloc_req()
|
D | ac_llvm_build.h | 320 LLVMValueRef ac_get_thread_id(struct ac_llvm_context *ctx);
|
D | ac_nir_to_llvm.c | 3017 return LLVMBuildAdd(ctx->ac.builder, threads_before, ac_get_thread_id(&ctx->ac), ""); in visit_load_local_invocation_index() 3021 LLVMValueRef thread_id = ac_get_thread_id(&ctx->ac); in visit_load_local_invocation_index() 3576 result = ac_get_thread_id(&ctx->ac); in visit_intrinsic() 4233 result = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), num, ""); in visit_intrinsic() 4239 result = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), num, ""); in visit_intrinsic() 4277 ac_get_thread_id(&ctx->ac), ""); in visit_intrinsic()
|