Home
last modified time | relevance | path

Searched refs:nir_ior (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/compiler/nir/
Dnir_lower_alu.c72 lowered = nir_ior(b, in lower_alu_instr()
77 lowered = nir_ior(b, in lower_alu_instr()
82 lowered = nir_ior(b, in lower_alu_instr()
87 lowered = nir_ior(b, in lower_alu_instr()
91 lowered = nir_ior(b, in lower_alu_instr()
Dnir_lower_int64.c53 return nir_ine(b, nir_ior(b, nir_unpack_64_2x32_split_x(b, x), in lower_i2b()
150 return nir_pack_64_2x32_split(b, nir_ior(b, x_lo, y_lo), in lower_ior64()
151 nir_ior(b, x_hi, y_hi)); in lower_ior64()
198 nir_ior(b, hi_shifted, lo_shifted_hi)); in lower_ishl64()
241 nir_pack_64_2x32_split(b, nir_ior(b, lo_shifted, hi_shifted_lo), in lower_ishr64()
284 nir_pack_64_2x32_split(b, nir_ior(b, lo_shifted, hi_shifted_lo), in lower_ushr64()
355 return nir_ior(b, nir_ine(b, x_hi, y_hi), nir_ine(b, x_lo, y_lo)); in lower_int64_compare()
357 return nir_ior(b, nir_ult(b, x_hi, y_hi), in lower_int64_compare()
361 return nir_ior(b, nir_ilt(b, x_hi, y_hi), in lower_int64_compare()
490 nir_ssa_def *is_non_zero = nir_i2b(b, nir_ior(b, x_lo, x_hi)); in lower_isign64()
[all …]
Dnir_lower_double_ops.c82 nir_ssa_def *inf_hi = nir_ior(b, nir_imm_int(b, 0x7ff00000), zero_hi); in get_signed_inf()
101 res = nir_bcsel(b, nir_ior(b, nir_ige(b, nir_imm_int(b, 0), exp), in fix_inv_result()
307 res = nir_bcsel(b, nir_ior(b, nir_feq(b, src_flushed, nir_imm_double(b, 0.0)), in lower_sqrt_rsq()
381 nir_ior(b, positive, nir_feq(b, src, tr)), in lower_floor()
396 nir_ior(b, negative, nir_feq(b, src, tr)), in lower_ceil()
421nir_ior(b, nir_unpack_64_2x32_split_y(b, res), sign)), src); in lower_round_even()
Dnir_lower_alu_to_scalar.c177 return nir_ior(b, nir_ishl(b, nir_channel(b, word, 1), in lower_alu_instr_scalar()
188 return nir_ior(b, nir_ior(b, nir_ishl(b, nir_channel(b, byte, 3), in lower_alu_instr_scalar()
192 nir_ior(b, nir_ishl(b, nir_channel(b, byte, 1), in lower_alu_instr_scalar()
Dnir_lower_frexp.c95 nir_ior(b, nir_iand(b, upper_x, sign_mantissa_mask), in lower_frexp_sig()
102 return nir_ior(b, nir_iand(b, x, sign_mantissa_mask), in lower_frexp_sig()
Dnir_format_convert.h50 return nir_ior(b, nir_mask_shift(b, src, src_mask, src_left_shift), dst); in nir_mask_shift_or()
138 packed = nir_ior(b, packed, nir_shift(b, nir_channel(b, color, i), in nir_format_pack_uint_unmasked()
180 dst_chan[dst_idx] = nir_ior(b, dst_chan[dst_idx], shifted); in nir_format_bitcast_uvec_unmasked()
Dnir_builtin_builder.h125 return nir_ior(b, nir_iand(b, nir_inot(b, s), x), nir_iand(b, s, y)); in nir_bitselect()
158 return nir_ior(b, nir_iand(b, x, v), nir_iand(b, y, s)); in nir_copysign()
Dnir_lower_idiv.c199 cond = nir_ior(bld, nir_ieq(bld, lh_sign, rh_sign), cond); in emit_idiv()
Dnir_lower_subgroups.c286 index = nir_ior(b, nir_iand(b, index, nir_imm_int(b, ~0x3)), in lower_shuffle()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c142 return nir_ior(b, in vc4_nir_set_packed_chan()
296 nir_ssa_def *or1 = nir_ior(b, src, nir_ishl(b, src, nir_imm_int(b, 8))); in vc4_nir_splat()
297 return nir_ior(b, or1, nir_ishl(b, or1, nir_imm_int(b, 16))); in vc4_nir_splat()
387 return nir_inot(b, nir_ior(b, src, dst)); in vc4_logicop()
407 return nir_ior(b, nir_inot(b, src), dst); in vc4_logicop()
409 return nir_ior(b, src, nir_inot(b, dst)); in vc4_logicop()
411 return nir_ior(b, src, dst); in vc4_logicop()
508 return nir_ior(b, in vc4_nir_blend_pipeline()
Dvc4_nir_lower_txf_ms.c103 nir_ssa_def *pixel_addr = nir_ior(b, in vc4_nir_lower_txf_ms_instr()
116 nir_ior(b, sample_addr, pixel_addr), in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c388 nir_ior(b, in pan_pack_unorm_1010102()
389 nir_ior(b, in pan_pack_unorm_1010102()
392 nir_ior(b, in pan_pack_unorm_1010102()
396 nir_ssa_def *p = nir_ior(b, top, top8_rgb); in pan_pack_unorm_1010102()
413 top_rgb = nir_ior(b, nir_channels(b, precision, 0x7), top_rgb); in pan_unpack_unorm_1010102()
434 nir_ssa_def *p = nir_ior(b, in pan_pack_uint_1010102()
435 nir_ior(b, nir_channel(b, shift, 0), nir_channel(b, shift, 1)), in pan_pack_uint_1010102()
436 nir_ior(b, nir_channel(b, shift, 2), nir_channel(b, shift, 3))); in pan_pack_uint_1010102()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_logic_ops.c64 return nir_inot(b, nir_ior(b, src, dst)); in v3d_logicop()
84 return nir_ior(b, nir_inot(b, src), dst); in v3d_logicop()
86 return nir_ior(b, src, nir_inot(b, dst)); in v3d_logicop()
88 return nir_ior(b, src, dst); in v3d_logicop()
162 result = nir_ior(b, result, shifted_chan); in pack_unorm_rgb10a2()
Dv3d_nir_lower_image_load_store.c77 nir_ior(b, results[offset / 32], in pack_bits()
Dv3d_nir_lower_io.c230 header = nir_ior(b, header, layer_id); in v3d_nir_lower_vpm_output()
650 nir_ior(b, nir_imm_int(b, state->gs.output_header_size), in emit_gs_vpm_output_header_prolog()
/external/mesa3d/src/gallium/drivers/panfrost/nir/
Dnir_lower_blend.c179 return nir_inot(b, nir_ior(b, src, dst)); in nir_logicop_func()
199 return nir_ior(b, nir_inot(b, src), dst); in nir_logicop_func()
203 return nir_ior(b, src, nir_inot(b, dst)); in nir_logicop_func()
205 return nir_ior(b, src, dst); in nir_logicop_func()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_alpha_to_coverage.c75 return nir_ior(b, nir_imul_imm(b, part_a, 0x1111), in build_dither_mask()
76 nir_ior(b, nir_imul_imm(b, part_b, 0x0808), in build_dither_mask()
Dbrw_nir_lower_cs_intrinsics.c136 nir_ior(b, in lower_cs_intrinsics_convert_block()
141 nir_ior(b, in lower_cs_intrinsics_convert_block()
Dbrw_nir_clamp_image_1d_2d_array_sizes.c132 or_components = nir_ior(&b, components[i], or_components); in brw_nir_clamp_image_1d_2d_array_sizes()
Dbrw_nir_tcs_workarounds.c100 nir_ior(b, nir_bany(b, nir_flt(b, nir_imm_float(b, 1.0f), outer)), in emit_quads_workaround()
/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c582 dest->def = nir_ior(&b->nb, nir_fneu(&b->nb, src[0], src[0]), in vtn_handle_alu()
619 nir_ior(&b->nb, in vtn_handle_alu()
621 nir_ior(&b->nb, in vtn_handle_alu()
Dvtn_cfg.c982 any = nir_ior(&b->nb, any, in vtn_switch_case_condition()
989 cond = nir_ior(&b->nb, cond, nir_ieq_imm(&b->nb, sel, *val)); in vtn_switch_case_condition()
1192 cond = nir_ior(&b->nb, cond, nir_load_var(&b->nb, fall_var)); in vtn_emit_cf_list_structured()
1306 cond = nir_ior(&b->nb, cond, nir_ieq_imm(&b->nb, sel, *val)); in vtn_emit_cf_func_unstructured()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c127 nir_ssa_def *oob = nir_ior(b, nir_ior(b, c0, c1), nir_ior(b, c2, c3)); in blorp_nir_discard_if_outside_rect()
682 nir_push_if(b, nir_ior(b, mcs_zero, mcs_clear)); in blorp_nir_combine_samples()
900 packed = nir_ior(b, packed, nir_shift(b, chan, chan_start_bit)); in bit_cast_color()
/external/mesa3d/src/amd/vulkan/
Dradv_query.c243 nir_ior(&b, in build_occlusion_query_shader()
628 nir_ior(&b, in build_tfb_query_shader()
772 nir_push_if(&b, nir_ior(&b, nir_test_flag(&b, flags, VK_QUERY_RESULT_PARTIAL_BIT), in build_timestamp_query_shader()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c860 nir_ior(b, nir_load_var(b, state->vertex_flags_out), in lower_gs_block()

12