Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_action.c110 bld_base->uint_bld.vec_type, ""); in arr_emit()
736 emit_data->output[emit_data->chan] = lp_build_mul(&bld_base->uint_bld, in umul_emit()
782 struct lp_build_context *uint_bld = &bld_base->uint_bld; in umul_hi_emit() local
785 assert(uint_bld->type.width == 32); in umul_hi_emit()
788 lp_build_mul_32_lohi(uint_bld, emit_data->args[0], in umul_hi_emit()
799 struct lp_build_context *uint_bld = &bld_base->uint_bld; in umul_hi_emit_cpu() local
802 assert(uint_bld->type.width == 32); in umul_hi_emit_cpu()
805 lp_build_mul_32_lohi_cpu(uint_bld, emit_data->args[0], in umul_hi_emit_cpu()
1274 emit_data->output[emit_data->chan] = lp_build_and(&bld_base->uint_bld, in and_emit_cpu()
1289 bld_base->uint_bld.vec_type, ""); in arl_emit_cpu()
[all …]
Dlp_bld_nir_soa.c153 get_soa_array_offsets(struct lp_build_context *uint_bld, in get_soa_array_offsets() argument
159 struct gallivm_state *gallivm = uint_bld->gallivm; in get_soa_array_offsets()
161 lp_build_const_int_vec(uint_bld->gallivm, uint_bld->type, chan_index); in get_soa_array_offsets()
163 lp_build_const_int_vec(gallivm, uint_bld->type, uint_bld->type.length); in get_soa_array_offsets()
167 …index_vec = lp_build_mul(uint_bld, indirect_index, lp_build_const_int_vec(uint_bld->gallivm, uint_… in get_soa_array_offsets()
168 index_vec = lp_build_add(uint_bld, index_vec, chan_vec); in get_soa_array_offsets()
169 index_vec = lp_build_mul(uint_bld, index_vec, length_vec); in get_soa_array_offsets()
175 pixel_offsets = uint_bld->undef; in get_soa_array_offsets()
176 for (i = 0; i < uint_bld->type.length; i++) { in get_soa_array_offsets()
181 index_vec = lp_build_add(uint_bld, index_vec, pixel_offsets); in get_soa_array_offsets()
[all …]
Dlp_bld_tgsi_soa.c546 struct lp_build_context *uint_bld = &bld_base->uint_bld; in build_gather() local
574 indexes = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes); in build_gather()
576 indexes2 = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes2); in build_gather()
678 struct lp_build_context *uint_bld = &bld->bld_base.uint_bld; in get_indirect_index() local
688 base = lp_build_const_int_vec(bld->bld_base.base.gallivm, uint_bld->type, reg_index); in get_indirect_index()
703 rel = LLVMBuildBitCast(builder, rel, uint_bld->vec_type, ""); in get_indirect_index()
707 rel = uint_bld->zero; in get_indirect_index()
710 index = lp_build_add(uint_bld, base, rel); in get_indirect_index()
724 uint_bld->type, index_limit); in get_indirect_index()
726 assert(!uint_bld->type.sign); in get_indirect_index()
[all …]
Dlp_bld_nir.c86 return LLVMBuildBitCast(builder, val, bld_base->uint_bld.vec_type, ""); in cast_type()
95 return LLVMBuildBitCast(builder, val, bld_base->uint_bld.vec_type, ""); in cast_type()
562 …LLVMBuildBitCast(builder, lp_build_const_int_vec(gallivm, bld_base->uint_bld.type, 0x38800000), bl… in do_quantize_to_f16()
612 …ult = lp_build_xor(&bld_base->uint_bld, src[2], lp_build_and(&bld_base->uint_bld, src[0], lp_build… in do_alu_action()
729 result = LLVMBuildZExt(builder, result, bld_base->uint_bld.vec_type, ""); in do_alu_action()
731 result = LLVMBuildTrunc(builder, result, bld_base->uint_bld.vec_type, ""); in do_alu_action()
917 struct lp_build_context *uint_bld = get_int_bld(bld_base, true, src_bit_size[0]); in do_alu_action() local
920 src[1] = LLVMBuildZExt(builder, src[1], uint_bld->vec_type, ""); in do_alu_action()
922 src[1] = LLVMBuildTrunc(builder, src[1], uint_bld->vec_type, ""); in do_alu_action()
923 …src[1] = lp_build_and(uint_bld, src[1], lp_build_const_int_vec(gallivm, uint_bld->type, (src_bit_s… in do_alu_action()
[all …]
Dlp_bld_nir.h46 struct lp_build_context uint_bld; member
311 return &bld_base->uint_bld; in get_int_bld()
Dlp_bld_tgsi.h348 struct lp_build_context uint_bld; member
Dlp_bld_tgsi_aos.c877 lp_build_context_init(&bld.bld_base.uint_bld, gallivm, lp_uint_type(type)); in lp_build_tgsi_aos()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp971 struct lp_build_context *uint_bld = &bld->bld_base.uint_bld; in swr_tcs_llvm_emit_epilogue() local
978 LLVMValueRef tmp = lp_build_cmp(uint_bld, PIPE_FUNC_GEQUAL, wrap(LOAD(unwrap(iface->loop_var))), in swr_tcs_llvm_emit_epilogue()
1317 struct lp_build_context *uint_bld = &bld->bld_base.uint_bld; in swr_tcs_llvm_emit_barrier() local
1321 LLVMValueRef tmp = lp_build_cmp(uint_bld, PIPE_FUNC_GEQUAL, wrap(LOAD(unwrap(iface->loop_var))), in swr_tcs_llvm_emit_barrier()