Home
last modified time | relevance | path

Searched refs:ac_get_thread_id (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c48 return LLVMBuildAdd(builder, tmp, ac_get_thread_id(&ctx->ac), ""); in gfx10_get_thread_id_in_tg()
341 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
451 tmp2 = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), scratch_offset_basev, ""); in build_streamout()
509 ac_get_thread_id(&ctx->ac), ""); in build_streamout()
542 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
545 tmp = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), scratch_emit_basev, ""); in build_streamout()
590 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout()
1112 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in gfx10_ngg_culling_build_end()
1662 tmp = LLVMBuildICmp(builder, LLVMIntULE, ac_get_thread_id(&ctx->ac), in gfx10_ngg_build_end()
2017 tmp = LLVMBuildICmp(builder, LLVMIntEQ, ac_get_thread_id(&ctx->ac), ctx->ac.i32_0, ""); in gfx10_ngg_gs_build_end()
Dsi_shader_llvm_gs.c35 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_es_thread()
42 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_gs_thread()
Dsi_shader_llvm_vs.c326 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in si_llvm_emit_streamout()
750 ac_get_thread_id(&ctx->ac), num_export_threads, ""), 0); in si_llvm_build_vs_exports()
Dsi_shader_llvm.c598 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function()
677 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c1769 LLVMValueRef ac_get_thread_id(struct ac_llvm_context *ctx) in ac_get_thread_id() function
3664 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_wavefront_shift_right_1()
3697 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_wavefront_shift_right_1()
3737 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_scan()
3801 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_scan()
3960 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_wg_wavescan_top()
3990 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_wg_wavescan_bottom()
4131 tid = ac_get_thread_id(ctx); in _ac_build_dual_src_blend_swizzle()
4420 ac_build_ifcc(ctx, LLVMBuildICmp(builder, LLVMIntEQ, ac_get_thread_id(ctx), ctx->i32_0, ""), in ac_build_sendmsg_gs_alloc_req()
Dac_llvm_build.h304 LLVMValueRef ac_get_thread_id(struct ac_llvm_context *ctx);
Dac_nir_to_llvm.c3037 ac_get_thread_id(&ctx->ac)); in visit_load_local_invocation_index()
3045 return LLVMBuildAdd(ctx->ac.builder, threads_before, ac_get_thread_id(&ctx->ac), ""); in visit_load_local_invocation_index()
3049 LLVMValueRef thread_id = ac_get_thread_id(&ctx->ac); in visit_load_local_invocation_index()
3602 result = ac_get_thread_id(&ctx->ac); in visit_intrinsic()
4258 result = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), num, ""); in visit_intrinsic()
4264 result = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), num, ""); in visit_intrinsic()
4304 ac_get_thread_id(&ctx->ac), ""); in visit_intrinsic()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c804 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in radv_emit_streamout()
1488 LLVMValueRef thread_id = ac_get_thread_id(&ctx.ac); in ac_translate_nir_to_llvm()