Home
last modified time | relevance | path

Searched refs:int_bld (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_action.c747 struct lp_build_context *int_bld = &bld_base->int_bld; in imul_hi_emit() local
750 assert(int_bld->type.width == 32); in imul_hi_emit()
753 lp_build_mul_32_lohi(int_bld, emit_data->args[0], in imul_hi_emit()
764 struct lp_build_context *int_bld = &bld_base->int_bld; in imul_hi_emit_cpu() local
767 assert(int_bld->type.width == 32); in imul_hi_emit_cpu()
770 lp_build_mul_32_lohi_cpu(int_bld, emit_data->args[0], in imul_hi_emit_cpu()
1483 emit_data->output[emit_data->chan] = lp_build_abs(&bld_base->int_bld, in iabs_emit_cpu()
1504 LLVMValueRef result = lp_build_div(&bld_base->int_bld, in idiv_emit_cpu()
1521 emit_data->output[emit_data->chan] = lp_build_sub(&bld_base->int_bld, in ineg_emit_cpu()
1522 bld_base->int_bld.zero, in ineg_emit_cpu()
[all …]
Dlp_bld_nir.c67 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, ""); in cast_type()
213 struct lp_build_context *int_bld = get_int_bld(bld_base, is_unsigned, src_bit_size); in int_to_bool32() local
214 …ef result = lp_build_compare(bld_base->base.gallivm, int_bld->type, PIPE_FUNC_NOTEQUAL, val, int_b… in int_to_bool32()
216 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32()
228 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32()
246 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in fcmp32()
260 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in icmp32()
262 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in icmp32()
309 … 1.0), bld_base->int_bld.vec_type, ""), in emit_b2f()
350 …build_compare(bld_base->base.gallivm, bld_base->int_bld.type, PIPE_FUNC_NOTEQUAL, sel, bld_base->i… in emit_b32csel()
[all …]
Dlp_bld_nir.h47 struct lp_build_context int_bld; member
296 return &bld_base->int_bld; in get_int_bld()
Dlp_bld_tgsi_soa.c748 bld_fetch = &bld_base->int_bld; in stype_to_fetch()
1196 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_gs_input()
1299 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_tcs_input()
1393 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_tes_input()
1597 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_system_value()
1843 struct lp_build_context *int_bld = &bld_base->int_bld; in emit_store_address() local
1846 assert(LLVMTypeOf(value) == int_bld->vec_type); in emit_store_address()
1847 value = LLVMBuildBitCast(builder, value, int_bld->vec_type, ""); in emit_store_address()
1848 lp_exec_mask_store(&bld->exec_mask, int_bld, value, in emit_store_address()
2630 sizes_out[i] = bld->bld_base.int_bld.undef; in emit_size_query()
[all …]
Dlp_bld_tgsi.h344 struct lp_build_context int_bld; member
617 struct lp_build_context int_bld; member
Dlp_bld_nir_soa.c1325 params->int_type = bld_base->int_bld.type; in emit_image_size()
1447 params->int_type = bld_base->int_bld.type; in emit_tex_size()
1670 struct lp_build_context *int_bld = &bld->bld_base.int_bld; in clamp_mask_to_max_output_vertices() local
1671 LLVMValueRef max_mask = lp_build_cmp(int_bld, PIPE_FUNC_LESS, in clamp_mask_to_max_output_vertices()
1782 LLVMValueRef res_store = lp_build_alloca(gallivm, bld_base->int_bld.elem_type, ""); in emit_vote()
1997 lp_build_context_init(&bld.bld_base.int_bld, gallivm, lp_int_type(type)); in lp_build_nir_soa()
2106 bld.max_output_vertices_vec = lp_build_const_int_vec(gallivm, bld.bld_base.int_bld.type, in lp_build_nir_soa()
2117 lp_exec_mask_init(&bld.exec_mask, &bld.bld_base.int_bld); in lp_build_nir_soa()
Dlp_bld_sample.h386 struct lp_build_context int_bld; member
Dlp_bld_tgsi_aos.c878 lp_build_context_init(&bld.bld_base.int_bld, gallivm, lp_int_type(type)); in lp_build_tgsi_aos()
879 lp_build_context_init(&bld.int_bld, gallivm, lp_int_type(type)); in lp_build_tgsi_aos()
Dlp_bld_tgsi.c410 res = lp_build_negate( &bld_base->int_bld, res ); in lp_build_emit_fetch_src()
Dlp_bld_sample_soa.c2052 bld->int_bld.one; in lp_build_layer_coord()
2053 maxlayer = lp_build_sub(&bld->int_bld, num_layers, s); in lp_build_layer_coord()
2165 last_level = lp_build_sub(&bld->int_bld, last_level, first_level); in lp_build_sample_common()
3057 lp_build_context_init(&bld.int_bld, gallivm, bld.int_type); in lp_build_sample_soa_code()
3342 lp_build_context_init(&bld4.int_bld, gallivm, bld4.int_type); in lp_build_sample_soa_code()
4146 struct lp_build_context int_bld, int_coord_bld; in lp_build_img_op_soa() local
4153 lp_build_context_init(&int_bld, gallivm, int_type); in lp_build_img_op_soa()