Home
last modified time | relevance | path

Searched refs:nir_build_alu (Results 1 – 23 of 23) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_conversion_builder.h77 nir_build_alu(b, low_conv, src, NULL, NULL, NULL); in nir_round_float_to_float()
79 nir_build_alu(b, high_conv, lower_prec, NULL, NULL, NULL); in nir_round_float_to_float()
88 nir_build_alu(b, low_conv, src, NULL, NULL, NULL); in nir_round_float_to_float()
90 nir_build_alu(b, high_conv, lower_prec, NULL, NULL, NULL); in nir_round_float_to_float()
485 return nir_build_alu(b, op, src, NULL, NULL, NULL); in nir_convert_with_rounding()
511 dest = nir_build_alu(b, op, dest, NULL, NULL, NULL); in nir_convert_with_rounding()
Dnir_lower_alu.c144 nir_ssa_def *src0_32 = nir_build_alu(b, upcast_op, src0, NULL, NULL, NULL); in lower_alu_instr()
145 nir_ssa_def *src1_32 = nir_build_alu(b, upcast_op, src1, NULL, NULL, NULL); in lower_alu_instr()
148 lowered = nir_build_alu(b, downscast_op, dest_shifted, NULL, NULL, NULL); in lower_alu_instr()
Dnir_opt_comparison_pre.c165 ? nir_build_alu(bld, orig_cmp->op, zero, fadd, NULL, NULL) in rewrite_compare_instruction()
166 : nir_build_alu(bld, orig_cmp->op, fadd, zero, NULL, NULL); in rewrite_compare_instruction()
Dnir_opt_phi_precision.c240 nir_ssa_def *new_src = nir_build_alu(b, op, old_src, NULL, NULL, NULL); in try_move_narrowing_dst()
431 nir_ssa_def *def = nir_build_alu(b, op, &new_phi->dest.ssa, NULL, NULL, NULL); in try_move_widening_src()
Dnir_lower_bool_to_bitsize.c70 nir_build_alu(b, convert_op, alu->src[i].src.ssa, NULL, NULL, NULL); in make_sources_canonical()
381 nir_build_alu(b, convert_op, phi_src->src.ssa, NULL, NULL, NULL); in lower_phi_instr()
Dnir_opt_uniform_atomics.c186 nir_ssa_def *res = nir_build_alu(b, op, *scan, data, NULL, NULL); in reduce_data()
228 return nir_build_alu(b, op, result, scan, NULL, NULL); in optimize_atomic()
Dnir_lower_alu_to_scalar.c88 last = nir_build_alu(builder, merge_op, in lower_reduction()
Dnir_lower_int64.c659 extract32 = nir_build_alu(b, op, nir_unpack_64_2x32_split_x(b, x), in lower_extract()
663 extract32 = nir_build_alu(b, op, nir_unpack_64_2x32_split_y(b, x), in lower_extract()
Dnir_builder.h504 nir_build_alu(nir_builder *build, nir_op op, nir_ssa_def *src0, in nir_build_alu() function
1820 return nir_build_alu(b, opcode, src, NULL, NULL, NULL); in nir_type_convert()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_conversions.c59 nir_ssa_def *tmp = nir_build_alu(b, op1, src, NULL, NULL, NULL); in split_conversion()
60 nir_ssa_def *res = nir_build_alu(b, op2, tmp, NULL, NULL, NULL); in split_conversion()
/third_party/mesa3d/src/gallium/drivers/zink/
Dnir_lower_dynamic_bo_access.c68 …return nir_build_alu(b, nir_op_bcsel, nir_build_alu(b, nir_op_ilt, index, nir_imm_int(b, mid), NUL… in recursive_generate_bo_ssa_def()
Dzink_compiler.c284 nir_ssa_def *composite = nir_build_alu(b, nir_op_bcsel, in lower_basevertex_instr()
285nir_build_alu(b, nir_op_ieq, &load->dest.ssa, nir_imm_int(b, 1), NULL, NULL), in lower_basevertex_instr()
/third_party/mesa3d/src/compiler/nir/tests/
Dalgebraic_tests.cpp73 b, res_deref, nir_build_alu(b, op, src0, src1, src2, src3), 0x1); in test_op()
80 b, res_deref, nir_build_alu(b, op, src0, src1, src2, src3), 0x1); in test_op()
Dssa_def_bits_used_tests.cpp61 nir_ssa_def *def = nir_build_alu(&bld, op, src0, src1, NULL, NULL); in build_alu_instr()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_alu.c657 nir_build_alu(&b->nb, op, src[0], src[1], NULL, NULL)); in vtn_handle_alu()
718 dest->def = nir_build_alu(&b->nb, op, src[0], NULL, NULL, NULL); in vtn_handle_alu()
731 dest->def = nir_build_alu(&b->nb, op, src[0], NULL, NULL, NULL); in vtn_handle_alu()
770 dest->def = nir_build_alu(&b->nb, op, src[0], src[1], src[2], src[3]); in vtn_handle_alu()
832 dest->def = nir_build_alu(&b->nb, op, src[0], src[1], src[2], src[3]); in vtn_handle_alu()
1011 nir_build_alu(&b->nb, src0_conversion_op, in vtn_handle_integer_dot()
1015 nir_build_alu(&b->nb, src1_conversion_op, in vtn_handle_integer_dot()
Dvtn_glsl450.c437 eta = nir_build_alu(nb, conversion_op, eta, NULL, NULL, NULL); in handle_glsl450_alu()
550 dest->def = nir_build_alu(&b->nb, op, src[0], src[1], src[2], NULL); in handle_glsl450_alu()
Dvtn_opencl.c287 …nir_ssa_def *ret = nir_build_alu(&b->nb, nir_alu_op_for_opencl_opcode(b, (enum OpenCLstd_Entrypoin… in handle_alu()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp70 return nir_build_alu(b, nir_op_umad24, op1, op2, op3, NULL); in r600_umad_24()
85 nir_ssa_def *addr = nir_build_alu(b, nir_op_umul24, in emil_lsd_in_addr()
347 nir_build_alu(b, nir_op_umul24, in r600_lower_tess_io_impl()
489 auto out_addr0 = nir_build_alu(b, nir_op_umad24, in r600_append_tcs_TF_emission()
Dsfn_nir_lower_64bit.cpp474 auto cmp0 = nir_build_alu(b, op1, src[0][0], src[0][1], nullptr, nullptr); in split_reduction()
475 auto cmp1 = nir_build_alu(b, op2, src[1][0], src[1][1], nullptr, nullptr); in split_reduction()
476 return nir_build_alu(b, reduction, cmp0, cmp1, nullptr, nullptr); in split_reduction()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1973 result = nir_build_alu(&b, nir_type_conversion_op(src_type, dst_type, in visit()
1984 result = nir_build_alu(&b, nir_op_f2fmp, srcs[0], NULL, NULL, NULL); in visit()
1989 result = nir_build_alu(&b, nir_op_i2imp, srcs[0], NULL, NULL, NULL); in visit()
1994 result = nir_build_alu(&b, nir_op_i2imp, srcs[0], NULL, NULL, NULL); in visit()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp220 nir_ssa_def *odd = nir_build_alu(b, nir_op_imod, in d3d12_begin_emit_primitives_gs()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c1071 nir_ssa_def *cast = nir_build_alu(b, upcast_op, src->src.ssa, NULL, NULL, NULL); in cast_phi()
1082 nir_ssa_def *result = nir_build_alu(b, downcast_op, &lowered->dest.ssa, NULL, NULL, NULL); in cast_phi()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c695 nir_build_alu(b, combine_op, in blorp_nir_combine_samples()