Home
last modified time | relevance | path

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

/third_party/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.c83 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, ""); in cast_type()
253 struct lp_build_context *int_bld = in int_to_bool32() local
256 int_bld->type, PIPE_FUNC_NOTEQUAL, in int_to_bool32()
257 val, int_bld->zero); in int_to_bool32()
259 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32()
261 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32()
276 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32()
278 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32()
298 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in fcmp32()
300 result = LLVMBuildSExt(builder, result, bld_base->int_bld.vec_type, ""); in fcmp32()
[all …]
Dlp_bld_nir_soa.c1134 struct lp_build_context *int_bld = get_int_bld(bld_base, true, instr->def.bit_size); in emit_load_const() local
1138 outval[i] = lp_build_const_int_vec(bld_base->base.gallivm, int_bld->type, in emit_load_const()
1575 params->int_type = bld_base->int_bld.type; in emit_image_size()
1715 params->int_type = bld_base->int_bld.type; in emit_tex_size()
1971 struct lp_build_context *int_bld = &bld->bld_base.int_bld; in clamp_mask_to_max_output_vertices() local
1972 LLVMValueRef max_mask = lp_build_cmp(int_bld, PIPE_FUNC_LESS, in clamp_mask_to_max_output_vertices()
2146 LLVMValueRef res_store = lp_build_alloca(gallivm, bld_base->int_bld.elem_type, ""); in emit_ballot()
2151 res = LLVMBuildLoad2(builder, bld_base->int_bld.elem_type, res_store, ""); in emit_ballot()
2160 … LLVMBuildLoad2(builder, bld_base->int_bld.elem_type, res_store, "")); in emit_ballot()
2170 LLVMValueRef idx_store = lp_build_alloca(gallivm, bld_base->int_bld.elem_type, ""); in emit_elect()
[all …]
Dlp_bld_nir.h57 struct lp_build_context int_bld; member
294 struct lp_build_context int_bld; member
376 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()
1602 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_system_value()
1848 struct lp_build_context *int_bld = &bld_base->int_bld; in emit_store_address() local
1851 assert(LLVMTypeOf(value) == int_bld->vec_type); in emit_store_address()
1852 value = LLVMBuildBitCast(builder, value, int_bld->vec_type, ""); in emit_store_address()
1853 lp_exec_mask_store(&bld->exec_mask, int_bld, value, in emit_store_address()
2636 sizes_out[i] = bld->bld_base.int_bld.undef; in emit_size_query()
[all …]
Dlp_bld_tgsi.h347 struct lp_build_context int_bld; member
620 struct lp_build_context int_bld; member
Dlp_bld_format_soa.c924 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()
Dlp_bld_nir_aos.c336 lp_build_context_init(&bld.bld_base.int_bld, gallivm, lp_int_type(type)); in lp_build_nir_aos()
Dlp_bld_tgsi_aos.c879 lp_build_context_init(&bld.bld_base.int_bld, gallivm, lp_int_type(type)); in lp_build_tgsi_aos()
880 lp_build_context_init(&bld.int_bld, gallivm, lp_int_type(type)); in lp_build_tgsi_aos()
Dlp_bld_tgsi.c414 res = lp_build_negate(&bld_base->int_bld, res); in lp_build_emit_fetch_src()
Dlp_bld_sample.h397 struct lp_build_context int_bld; member
Dlp_bld_sample_soa.c2064 bld->int_bld.one; in lp_build_layer_coord()
2065 maxlayer = lp_build_sub(&bld->int_bld, num_layers, s); in lp_build_layer_coord()
2634 last_level = lp_build_sub(&bld->int_bld, last_level, first_level); in lp_build_sample_common()
3547 lp_build_context_init(&bld.int_bld, gallivm, bld.int_type); in lp_build_sample_soa_code()
3830 lp_build_context_init(&bld4.int_bld, gallivm, bld4.int_type); in lp_build_sample_soa_code()