/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_action.c | 747 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 …]
|
D | lp_bld_nir.c | 70 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, ""); in cast_type() 210 struct lp_build_context *int_bld = get_int_bld(bld_base, is_unsigned, src_bit_size); in int_to_bool32() local 211 …ef result = lp_build_compare(bld_base->base.gallivm, int_bld->type, PIPE_FUNC_NOTEQUAL, val, int_b… in int_to_bool32() 213 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32() 215 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32() 227 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32() 229 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32() 247 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in fcmp32() 249 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in fcmp32() 263 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in icmp32() [all …]
|
D | lp_bld_nir_soa.c | 1386 params->int_type = bld_base->int_bld.type; in emit_image_size() 1510 params->int_type = bld_base->int_bld.type; in emit_tex_size() 1766 struct lp_build_context *int_bld = &bld->bld_base.int_bld; in clamp_mask_to_max_output_vertices() local 1767 LLVMValueRef max_mask = lp_build_cmp(int_bld, PIPE_FUNC_LESS, in clamp_mask_to_max_output_vertices() 1941 LLVMValueRef res_store = lp_build_alloca(gallivm, bld_base->int_bld.elem_type, ""); in emit_ballot() 1964 LLVMValueRef idx_store = lp_build_alloca(gallivm, bld_base->int_bld.elem_type, ""); in emit_elect() 1965 LLVMValueRef found_store = lp_build_alloca(gallivm, bld_base->int_bld.elem_type, ""); in emit_elect() 2006 struct lp_build_context *int_bld = get_int_bld(bld_base, true, bit_size); in emit_reduce() local 2009 res_store = lp_build_alloca(gallivm, int_bld->vec_type, ""); in emit_reduce() 2011 scan_store = lp_build_alloca(gallivm, int_bld->elem_type, ""); in emit_reduce() [all …]
|
D | lp_bld_nir.h | 47 struct lp_build_context int_bld; member 323 return &bld_base->int_bld; in get_int_bld()
|
D | lp_bld_tgsi_soa.c | 748 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 …]
|
D | lp_bld_tgsi.h | 349 struct lp_build_context int_bld; member 622 struct lp_build_context int_bld; member
|
D | lp_bld_format_soa.c | 924 struct lp_build_context int_bld; in lp_build_insert_soa_chan() local 925 lp_build_context_init(&int_bld, gallivm, lp_int_type(bld->type)); in lp_build_insert_soa_chan() 926 chan = lp_build_clamp(&int_bld, chan, in lp_build_insert_soa_chan()
|
D | lp_bld_tgsi_aos.c | 878 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()
|
D | lp_bld_tgsi.c | 410 res = lp_build_negate( &bld_base->int_bld, res ); in lp_build_emit_fetch_src()
|
D | lp_bld_sample.h | 392 struct lp_build_context int_bld; member
|
D | lp_bld_sample_soa.c | 2063 bld->int_bld.one; in lp_build_layer_coord() 2064 maxlayer = lp_build_sub(&bld->int_bld, num_layers, s); in lp_build_layer_coord() 2608 last_level = lp_build_sub(&bld->int_bld, last_level, first_level); in lp_build_sample_common() 3515 lp_build_context_init(&bld.int_bld, gallivm, bld.int_type); in lp_build_sample_soa_code() 3802 lp_build_context_init(&bld4.int_bld, gallivm, bld4.int_type); in lp_build_sample_soa_code()
|