Home
last modified time | relevance | path

Searched refs:NIR_MAX_VEC_COMPONENTS (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/mesa3d/src/compiler/nir/tests/
Dnegative_equal_tests.cpp28 static void count_sequence(nir_const_value c[NIR_MAX_VEC_COMPONENTS],
30 static void negate(nir_const_value dst[NIR_MAX_VEC_COMPONENTS],
31 const nir_const_value src[NIR_MAX_VEC_COMPONENTS],
49 nir_const_value c1[NIR_MAX_VEC_COMPONENTS];
50 nir_const_value c2[NIR_MAX_VEC_COMPONENTS];
73 nir_const_value c1[NIR_MAX_VEC_COMPONENTS];
74 nir_const_value c2[NIR_MAX_VEC_COMPONENTS];
211 NIR_MAX_VEC_COMPONENTS, \
245 negate(c2, c1, full_type, NIR_MAX_VEC_COMPONENTS); \ in compare_with_self()
247 NIR_MAX_VEC_COMPONENTS, \ in compare_with_self()
[all …]
Dserialize_tests.cpp106 #if NIR_MAX_VEC_COMPONENTS == 16
132 memset(fmax_alu->src[0].swizzle, GetParam() - 1, NIR_MAX_VEC_COMPONENTS); in TEST_P()
133 memset(fmax_alu->src[1].swizzle, GetParam() - 1, NIR_MAX_VEC_COMPONENTS); in TEST_P()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.h82 … LLVMValueRef index, LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
89 LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
95 LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
115 … LLVMValueRef index, LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
139 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
149 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
172 LLVMValueRef dst[NIR_MAX_VEC_COMPONENTS]);
177 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
194 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
Dlp_bld_nir.c195 LLVMValueRef vals[NIR_MAX_VEC_COMPONENTS]) in assign_ssa_dest() argument
210 LLVMValueRef vals[NIR_MAX_VEC_COMPONENTS]) in assign_reg() argument
225 LLVMValueRef vals[NIR_MAX_VEC_COMPONENTS]) in assign_dest() argument
237 LLVMValueRef vals[NIR_MAX_VEC_COMPONENTS]) in assign_alu_dest() argument
287 LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) in fcmp32() argument
310 LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) in icmp32() argument
436 unsigned src_bit_size[NIR_MAX_VEC_COMPONENTS], in emit_b32csel() argument
437 LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) in emit_b32csel() argument
671 unsigned src_bit_size[NIR_MAX_VEC_COMPONENTS], in do_alu_action() argument
672 LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) in do_alu_action() argument
[all …]
Dlp_bld_nir_aos.c128 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) in emit_load_var() argument
186 LLVMValueRef vals[NIR_MAX_VEC_COMPONENTS]) in emit_store_reg() argument
223 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]) in emit_load_ubo() argument
299 LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) in emit_load_const() argument
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_shrink_vectors.c102 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) in reswizzle_alu_uses()
132 uint8_t reswizzle[NIR_MAX_VEC_COMPONENTS] = { 0 }; in opt_shrink_vector()
133 nir_ssa_scalar srcs[NIR_MAX_VEC_COMPONENTS] = { 0 }; in opt_shrink_vector()
214 uint8_t reswizzle[NIR_MAX_VEC_COMPONENTS] = { 0 }; in opt_shrink_vectors_alu()
294 uint8_t reswizzle[NIR_MAX_VEC_COMPONENTS] = { 0 }; in opt_shrink_vectors_load_const()
Dnir_opt_constant_folding.c46 nir_const_value src[NIR_MAX_VEC_COMPONENTS][NIR_MAX_VEC_COMPONENTS]; in try_fold_alu()
93 nir_const_value dest[NIR_MAX_VEC_COMPONENTS]; in try_fold_alu()
94 nir_const_value *srcs[NIR_MAX_VEC_COMPONENTS]; in try_fold_alu()
152 if (idx >= NIR_MAX_VEC_COMPONENTS) in const_value_for_deref()
248 nir_const_value imm[NIR_MAX_VEC_COMPONENTS]; in try_fold_intrinsic()
Dnir_lower_array_deref_of_vec.c33 assert(num_components > 1 && num_components <= NIR_MAX_VEC_COMPONENTS); in build_write_masked_store()
36 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in build_write_masked_store()
105 assert(num_components > 1 && num_components <= NIR_MAX_VEC_COMPONENTS); in nir_lower_array_deref_of_vec_impl()
Dnir_format_convert.h65 nir_const_value mask[NIR_MAX_VEC_COMPONENTS]; in nir_format_mask_uvec()
236 nir_const_value factor[NIR_MAX_VEC_COMPONENTS]; in _nir_format_norm_factor()
336 nir_const_value max[NIR_MAX_VEC_COMPONENTS]; in nir_format_clamp_uint()
354 nir_const_value min[NIR_MAX_VEC_COMPONENTS], max[NIR_MAX_VEC_COMPONENTS]; in nir_format_clamp_sint()
Dnir_builder.h409 assert(num_components <= NIR_MAX_VEC_COMPONENTS); in nir_swizzle()
414 for (unsigned i = 0; i < num_components && i < NIR_MAX_VEC_COMPONENTS; i++) { in nir_swizzle()
499 unsigned num_channels = 0, swizzle[NIR_MAX_VEC_COMPONENTS] = { 0 }; in nir_channels()
501 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) { in nir_channels()
543 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in nir_vector_extract()
590 nir_const_value per_comp_idx_const[NIR_MAX_VEC_COMPONENTS]; in nir_vector_insert()
591 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) in nir_vector_insert()
912 assert(dest_num_components <= NIR_MAX_VEC_COMPONENTS); in nir_unpack_bits()
933 nir_ssa_def *dest_comps[NIR_MAX_VEC_COMPONENTS]; in nir_unpack_bits()
971 nir_ssa_def *common_comps[NIR_MAX_VEC_COMPONENTS * sizeof(uint64_t)]; in nir_extract_bits()
[all …]
Dnir_lower_vars_to_ssa.c591 for (unsigned i = intrin->num_components; i < NIR_MAX_VEC_COMPONENTS; i++) in rename_variables()
643 unsigned swiz[NIR_MAX_VEC_COMPONENTS]; in rename_variables()
644 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) in rename_variables()
656 nir_ssa_scalar srcs[NIR_MAX_VEC_COMPONENTS]; in rename_variables()
Dnir_search.c60 static const uint8_t identity_swizzle[NIR_MAX_VEC_COMPONENTS] =
261 uint8_t new_swizzle[NIR_MAX_VEC_COMPONENTS]; in match_value()
331 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; ++i) { in match_value()
532 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) in construct_value()
697 uint8_t swizzle[NIR_MAX_VEC_COMPONENTS] = { 0 }; in nir_replace_instr()
Dnir_lower_regs_to_ssa.c134 uint8_t vec_swizzle[NIR_MAX_VEC_COMPONENTS]; in rewrite_alu_instr()
135 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) in rewrite_alu_instr()
Dnir_lower_load_const_to_scalar.c49 nir_ssa_def *loads[NIR_MAX_VEC_COMPONENTS]; in lower_load_const_instr_scalar()
Dnir_lower_image.c48 nir_ssa_scalar comps[NIR_MAX_VEC_COMPONENTS] = { 0 }; in lower_cube_size()
Dnir_lower_io_to_scalar.c50 nir_ssa_def *loads[NIR_MAX_VEC_COMPONENTS]; in lower_load_input_to_scalar()
84 nir_ssa_def *loads[NIR_MAX_VEC_COMPONENTS]; in lower_load_to_scalar()
329 nir_ssa_def *loads[NIR_MAX_VEC_COMPONENTS]; in lower_load_to_scalar_early()
Dnir_opt_combine_stores.c64 nir_intrinsic_instr *stores[NIR_MAX_VEC_COMPONENTS];
127 nir_ssa_scalar comps[NIR_MAX_VEC_COMPONENTS] = {0}; in combine_stores()
Dnir_instr_set.c431 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) { in nir_alu_srcs_negative_equal()
474 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) { in nir_alu_srcs_negative_equal()
485 uint8_t alu1_swizzle[NIR_MAX_VEC_COMPONENTS] = {0}; in nir_alu_srcs_negative_equal()
502 uint8_t alu2_swizzle[NIR_MAX_VEC_COMPONENTS] = {0}; in nir_alu_srcs_negative_equal()
Dnir_search.h101 uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
Dnir_lower_interpolation.c103 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in nir_lower_interpolation_block()
/third_party/mesa3d/src/panfrost/util/
Dnir_mod_helpers.c66 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; ++i) { in pan_has_source_mod()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.h64 std::unordered_map<unsigned, std::array<Temp, NIR_MAX_VEC_COMPONENTS>> allocated_vec;
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c134 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in lower_load_deref()
223 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in build_load_ubo_dxil()
277 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in lower_load_ssbo()
337 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS] = { 0 }; in lower_store_ssbo()
457 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in lower_32b_offset_load()
458 nir_ssa_def *comps_32bit[NIR_MAX_VEC_COMPONENTS * 2]; in lower_32b_offset_load()
562 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in lower_32b_offset_store()
1317 nir_ssa_def *components[NIR_MAX_VEC_COMPONENTS]; in dxil_nir_lower_double_math_instr()
1332 nir_ssa_def *components[NIR_MAX_VEC_COMPONENTS]; in dxil_nir_lower_double_math_instr()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_scratch.c60 nir_ssa_def *chans[NIR_MAX_VEC_COMPONENTS]; in v3d_nir_lower_load_scratch()
/third_party/mesa3d/src/imagination/rogue/nir/
Drogue_nir_lower_io.c67 nir_ssa_def *loads[NIR_MAX_VEC_COMPONENTS]; in lower_load_ubo_to_scalar()

1234