Searched refs:new_bit_size (Results 1 - 5 of 5) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_opt_load_store_vectorize.c | 640 /* Return true if "new_bit_size" is a usable bit size for a vectorized load/store 643 new_bitsize_acceptable(struct vectorize_ctx *ctx, unsigned new_bit_size, argument 646 if (size % new_bit_size != 0) 649 unsigned new_num_components = size / new_bit_size; 657 common_bit_size = MIN2(common_bit_size, new_bit_size); 660 if (new_bit_size / common_bit_size > NIR_MAX_VEC_COMPONENTS) 665 new_bit_size, new_num_components, 674 if (low_size % new_bit_size != 0) 676 if (high_size % new_bit_size != 0) 680 if (!nir_component_mask_can_reinterpret(write_mask, get_bit_size(low), new_bit_size)) 720 vectorize_loads(nir_builder * b,struct vectorize_ctx * ctx,struct entry * low,struct entry * high,struct entry * first,struct entry * second,unsigned new_bit_size,unsigned new_num_components,unsigned high_start) argument 811 vectorize_stores(nir_builder * b,struct vectorize_ctx * ctx,struct entry * low,struct entry * high,struct entry * first,struct entry * second,unsigned new_bit_size,unsigned new_num_components,unsigned high_start) argument 1131 unsigned new_bit_size = 0; local in function:try_vectorize [all...] |
| H A D | nir_deref.c | 1244 const unsigned new_bit_size = glsl_get_bit_size(parent->type); local in function:opt_load_vec_deref 1250 load->dest.ssa.bit_size = new_bit_size; 1256 if (old_bit_size != new_bit_size) 1286 const unsigned new_bit_size = glsl_get_bit_size(parent->type); local in function:opt_store_vec_deref 1293 if (old_bit_size != new_bit_size) 1294 data = nir_bitcast_vector(b, data, new_bit_size); 1302 new_bit_size);
|
| H A D | nir.c | 43 * be re-interpreted to be used with "new_bit_size". 48 unsigned new_bit_size) 51 assert(util_is_power_of_two_nonzero(new_bit_size)); 53 if (old_bit_size == new_bit_size) 56 if (old_bit_size == 1 || new_bit_size == 1) 59 if (old_bit_size > new_bit_size) { 60 unsigned ratio = old_bit_size / new_bit_size; 70 if (start % new_bit_size != 0) 72 if (count % new_bit_size != 0) 79 * it can be used can be used with "new_bit_size" 46 nir_component_mask_can_reinterpret(nir_component_mask_t mask,unsigned old_bit_size,unsigned new_bit_size) argument 82 nir_component_mask_reinterpret(nir_component_mask_t mask,unsigned old_bit_size,unsigned new_bit_size) argument [all...] |
| H A D | nir.h | 83 unsigned new_bit_size); 87 unsigned new_bit_size);
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir.c | 1052 cast_phi(nir_builder *b, nir_phi_instr *phi, unsigned new_bit_size) argument 1059 nir_type_uint | new_bit_size, 1061 nir_op downcast_op = nir_type_conversion_op(nir_type_uint | new_bit_size, 1076 num_components, new_bit_size, NULL);
|
Completed in 17 milliseconds