/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_conversion_builder.h | 77 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 D | nir_lower_alu.c | 144 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 D | nir_opt_comparison_pre.c | 165 ? 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 D | nir_opt_uniform_atomics.c | 200 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 D | nir_opt_phi_precision.c | 240 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 D | nir_lower_bool_to_bitsize.c | 70 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 D | nir_builder.c | 128 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 D | nir_lower_alu_width.c | 123 last = nir_build_alu(builder, merge_op, in lower_reduction()
|
H A D | nir_lower_int64.c | 659 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 D | nir_builder.h | 112 /* 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 D | brw_nir_lower_conversions.c | 59 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 D | algebraic_tests.cpp | 73 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 D | ssa_def_bits_used_tests.cpp | 61 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 D | sfn_nir_lower_tess_io.cpp | 106 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 D | sfn_nir_lower_64bit.cpp | 661 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 D | vtn_alu.c | 800 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 D | vtn_glsl450.c | 489 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 D | vtn_opencl.c | 288 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 D | gl_nir_lower_packed_varyings.c | 361 nir_build_alu(&state->b, in i2u() 372 nir_build_alu(&state->b, in u2i()
|
H A D | glsl_to_nir.cpp | 2046 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 D | d3d12_gs_variant.cpp | 251 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 D | dxil_nir.c | 1094 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 D | zink_compiler.c | 260 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 D | blorp_blit.c | 695 nir_build_alu(b, combine_op, in blorp_nir_combine_samples()
|