Home
last modified time | relevance | path

Searched refs:nir_build_alu (Results 1 - 24 of 24) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A 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()
H A 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()
H A 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()
H A Dnir_opt_uniform_atomics.c200 nir_ssa_def *res = nir_build_alu(b, op, *scan, data, NULL, NULL); in reduce_data()
244 return nir_build_alu(b, op, result, scan, NULL, NULL); in optimize_atomic()
H A 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()
429 nir_ssa_def *def = nir_build_alu(b, op, &new_phi->dest.ssa, NULL, NULL, NULL); in try_move_widening_src()
H A 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()
H A Dnir_builder.c128 nir_build_alu(nir_builder *build, nir_op op, nir_ssa_def *src0, in nir_build_alu() function
246 * nir_build_alu()-based builder calls.
449 return nir_build_alu(b, opcode, src, NULL, NULL, NULL); in nir_type_convert()
H A Dnir_lower_alu_width.c123 last = nir_build_alu(builder, merge_op, in lower_reduction()
H A 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()
H A Dnir_builder.h112 /* General nir_build_alu() taking a variable arg count with NULLs for the rest. */
114 nir_build_alu(nir_builder *build, nir_op op, nir_ssa_def *src0,
/third_party/mesa3d/src/intel/compiler/
H A 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/compiler/nir/tests/
H A 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()
H A 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/gallium/drivers/r600/sfn/
H A Dsfn_nir_lower_tess_io.cpp106 return nir_build_alu(b, nir_op_umad24, op1, op2, op3, NULL); in r600_umad_24()
121 nir_ssa_def *addr = nir_build_alu(b, nir_op_umul24, in emil_lsd_in_addr()
385 nir_build_alu(b, nir_op_umul24, in r600_lower_tess_io_impl()
527 auto out_addr0 = nir_build_alu(b, nir_op_umad24, in r600_append_tcs_TF_emission()
H A Dsfn_nir_lower_64bit.cpp661 auto cmp0 = nir_build_alu(b, op1, src[0][0], src[0][1], nullptr, nullptr); in split_reduction()
662 auto cmp1 = nir_build_alu(b, op2, src[1][0], src[1][1], nullptr, nullptr); in split_reduction()
663 return nir_build_alu(b, reduction, cmp0, cmp1, nullptr, nullptr); in split_reduction()
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_alu.c800 nir_build_alu(&b->nb, op, src[0], src[1], NULL, NULL)); in vtn_handle_alu()
861 dest->def = nir_build_alu(&b->nb, op, src[0], NULL, NULL, NULL); in vtn_handle_alu()
874 dest->def = nir_build_alu(&b->nb, op, src[0], NULL, NULL, NULL); in vtn_handle_alu()
913 dest->def = nir_build_alu(&b->nb, op, src[0], src[1], src[2], src[3]); in vtn_handle_alu()
975 dest->def = nir_build_alu(&b->nb, op, src[0], src[1], src[2], src[3]); in vtn_handle_alu()
1156 nir_build_alu(&b->nb, src0_conversion_op, in vtn_handle_integer_dot()
1160 nir_build_alu(&b->nb, src1_conversion_op, in vtn_handle_integer_dot()
H A Dvtn_glsl450.c489 eta = nir_build_alu(nb, conversion_op, eta, NULL, NULL, NULL); in handle_glsl450_alu()
626 dest->def = nir_build_alu(&b->nb, op, src[0], src[1], src[2], NULL); in handle_glsl450_alu()
H A Dvtn_opencl.c288 nir_ssa_def *ret = nir_build_alu(&b->nb, nir_alu_op_for_opencl_opcode(b, (enum OpenCLstd_Entrypoints)opcode), in handle_alu()
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_lower_packed_varyings.c361 nir_build_alu(&state->b, in i2u()
372 nir_build_alu(&state->b, in u2i()
H A Dglsl_to_nir.cpp2046 result = nir_build_alu(&b, nir_type_conversion_op(src_type, dst_type, in visit()
2057 result = nir_build_alu(&b, nir_op_f2fmp, srcs[0], NULL, NULL, NULL); in visit()
2062 result = nir_build_alu(&b, nir_op_i2imp, srcs[0], NULL, NULL, NULL); in visit()
2067 result = nir_build_alu(&b, nir_op_i2imp, srcs[0], NULL, NULL, NULL); in visit()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_gs_variant.cpp251 nir_ssa_def *odd = nir_build_alu(b, nir_op_imod, in d3d12_begin_emit_primitives_gs()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir.c1094 nir_ssa_def *cast = nir_build_alu(b, upcast_op, src->src.ssa, NULL, NULL, NULL); in cast_phi()
1105 nir_ssa_def *result = nir_build_alu(b, downcast_op, &lowered->dest.ssa, NULL, NULL, NULL); in cast_phi()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_compiler.c260 nir_ssa_def *composite = nir_build_alu(b, nir_op_bcsel, in lower_basevertex_instr()
261 nir_build_alu(b, nir_op_ieq, &load->dest.ssa, nir_imm_int(b, 1), NULL, NULL), in lower_basevertex_instr()
/third_party/mesa3d/src/intel/blorp/
H A Dblorp_blit.c695 nir_build_alu(b, combine_op, in blorp_nir_combine_samples()

Completed in 37 milliseconds