/third_party/mesa3d/src/compiler/nir/tests/ |
D | negative_equal_tests.cpp | 28 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 …]
|
D | serialize_tests.cpp | 106 #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/ |
D | lp_bld_nir.h | 82 … 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]);
|
D | lp_bld_nir.c | 195 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 …]
|
D | lp_bld_nir_aos.c | 128 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/ |
D | nir_opt_shrink_vectors.c | 102 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()
|
D | nir_opt_constant_folding.c | 46 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()
|
D | nir_lower_array_deref_of_vec.c | 33 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()
|
D | nir_format_convert.h | 65 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()
|
D | nir_builder.h | 409 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 …]
|
D | nir_lower_vars_to_ssa.c | 591 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()
|
D | nir_search.c | 60 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()
|
D | nir_lower_regs_to_ssa.c | 134 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()
|
D | nir_lower_load_const_to_scalar.c | 49 nir_ssa_def *loads[NIR_MAX_VEC_COMPONENTS]; in lower_load_const_instr_scalar()
|
D | nir_lower_image.c | 48 nir_ssa_scalar comps[NIR_MAX_VEC_COMPONENTS] = { 0 }; in lower_cube_size()
|
D | nir_lower_io_to_scalar.c | 50 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()
|
D | nir_opt_combine_stores.c | 64 nir_intrinsic_instr *stores[NIR_MAX_VEC_COMPONENTS]; 127 nir_ssa_scalar comps[NIR_MAX_VEC_COMPONENTS] = {0}; in combine_stores()
|
D | nir_instr_set.c | 431 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()
|
D | nir_search.h | 101 uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
|
D | nir_lower_interpolation.c | 103 nir_ssa_def *comps[NIR_MAX_VEC_COMPONENTS]; in nir_lower_interpolation_block()
|
/third_party/mesa3d/src/panfrost/util/ |
D | nir_mod_helpers.c | 66 for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; ++i) { in pan_has_source_mod()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.h | 64 std::unordered_map<unsigned, std::array<Temp, NIR_MAX_VEC_COMPONENTS>> allocated_vec;
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir.c | 134 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/ |
D | v3d_nir_lower_scratch.c | 60 nir_ssa_def *chans[NIR_MAX_VEC_COMPONENTS]; in v3d_nir_lower_load_scratch()
|
/third_party/mesa3d/src/imagination/rogue/nir/ |
D | rogue_nir_lower_io.c | 67 nir_ssa_def *loads[NIR_MAX_VEC_COMPONENTS]; in lower_load_ubo_to_scalar()
|