Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c47 return LLVMBuildAdd(builder, tmp, ac_get_thread_id(&ctx->ac), ""); in get_thread_id_in_tg()
327 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
376 tmp2 = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), scratch_offset_basev, ""); in build_streamout()
434 ac_get_thread_id(&ctx->ac), ""); in build_streamout()
448 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
451 tmp = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), scratch_emit_basev, ""); in build_streamout()
488 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout()
793 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in gfx10_emit_ngg_culling_epilogue()
1347 tmp = LLVMBuildICmp(builder, LLVMIntULE, ac_get_thread_id(&ctx->ac), in gfx10_emit_ngg_epilogue()
1676 tmp = LLVMBuildICmp(builder, LLVMIntEQ, ac_get_thread_id(&ctx->ac), ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue()
Dsi_shader_llvm_gs.c33 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()
160 LLVMValueRef vertex_idx = ac_get_thread_id(&ctx->ac); in si_llvm_emit_es_epilogue()
Dsi_shader_llvm_vs.c306 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in si_llvm_emit_streamout()
847 ac_get_thread_id(&ctx->ac)); in si_llvm_build_vs_prolog()
Dsi_shader_llvm.c624 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1626 LLVMValueRef tid = ac_get_thread_id(&ctx->ac); in radv_emit_streamout()
1958 LLVMValueRef vertex_idx = ac_get_thread_id(&ctx->ac); in handle_es_outputs_post()
2066 return LLVMBuildAdd(builder, tmp, ac_get_thread_id(&ctx->ac), ""); in get_thread_id_in_tg()
2391 cond = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
2446 tmp2 = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), in build_streamout()
2525 ac_get_thread_id(&ctx->ac), ""); in build_streamout()
2540 cond = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
2543 tmp = LLVMBuildAdd(builder, ac_get_thread_id(&ctx->ac), in build_streamout()
2582 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout()
2713 ac_get_thread_id(&ctx->ac), prims_in_wave, ""); in handle_ngg_outputs_post_2()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c1744 LLVMValueRef ac_get_thread_id(struct ac_llvm_context *ctx) in ac_get_thread_id() function
3817 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_wavefront_shift_right_1()
3850 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_wavefront_shift_right_1()
3890 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_scan()
3954 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_scan()
4113 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_wg_wavescan_top()
4142 LLVMValueRef tid = ac_get_thread_id(ctx); in ac_build_wg_wavescan_bottom()
4499 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.h310 LLVMValueRef ac_get_thread_id(struct ac_llvm_context *ctx);
Dac_nir_to_llvm.c2828 LLVMValueRef thread_id = ac_get_thread_id(&ctx->ac); in visit_load_local_invocation_index()
3287 result = ac_get_thread_id(&ctx->ac); in visit_intrinsic()