Home
last modified time | relevance | path

Searched defs:bit_size (Results 1 – 25 of 219) sorted by relevance

123456789

/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/
H A Dnir_opt_varyings_test.h111 nir_variable *get_uniform(nir_builder *b, unsigned bit_size) in get_uniform()
121 nir_variable *get_ubo(nir_builder *b, unsigned bit_size) in get_ubo()
131 nir_def *load_uniform(nir_builder *b, unsigned bit_size, unsigned index) in load_uniform()
144 nir_def *load_ubo(nir_builder *b, unsigned bit_size, unsigned index) in load_ubo()
159 nir_def *build_uniform_expr(nir_builder *b, unsigned bit_size, unsigned index) in build_uniform_expr()
166 bool shader_contains_uniform(nir_builder *target_b, unsigned bit_size, in shader_contains_uniform()
181 bool shader_contains_ubo(nir_builder *target_b, unsigned bit_size, in shader_contains_ubo()
216 shader_contains_const_float(nir_builder *b, float f, unsigned bit_size) in shader_contains_const_float()
238 shader_contains_alu_op(nir_builder *b, nir_op op, unsigned bit_size) in shader_contains_alu_op()
251 bool shader_contains_uniform_expr(nir_builder *b, unsigned bit_size, in shader_contains_uniform_expr()
[all …]
H A Dload_store_vectorizer_tests.cpp180 unsigned bit_size, unsigned components, unsigned access) in create_indirect_load()
240 unsigned bit_size, unsigned components, unsigned wrmask, unsigned access) in create_indirect_store()
280 unsigned bit_size, unsigned components, unsigned access) in create_load()
288 unsigned bit_size, unsigned components, unsigned wrmask, unsigned access) in create_store()
294 nir_deref_instr *deref, uint32_t id, unsigned bit_size, unsigned components) in create_shared_load()
304 unsigned bit_size, unsigned components, unsigned wrmask) in create_shared_store()
338 unsigned align_mul, unsigned align_offset, unsigned bit_size, in mem_vectorize_callback()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c349 get_atomic_op(struct ntv_context *ctx, unsigned bit_size, nir_atomic_op op) in get_atomic_op()
406 emit_float_const(struct ntv_context *ctx, int bit_size, double value) in emit_float_const()
413 emit_uint_const(struct ntv_context *ctx, int bit_size, uint64_t value) in emit_uint_const()
420 emit_int_const(struct ntv_context *ctx, int bit_size, int64_t value) in emit_int_const()
427 get_fvec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_fvec_type()
441 get_ivec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_ivec_type()
455 get_uvec_type(struct ntv_context *ctx, unsigned bit_size, unsigned num_components) in get_uvec_type()
469 get_alu_type(struct ntv_context *ctx, nir_alu_type type, unsigned num_components, unsigned bit_size) in get_alu_type()
521 unsigned bit_size = def->bit_size; in get_def_uvec_type() local
640 create_scratch_block(struct ntv_context *ctx, unsigned scratch_size, unsigned bit_size) in create_scratch_block()
[all …]
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_builder.h285 nir_undef(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_undef()
299 unsigned bit_size, const nir_const_value *value) in nir_build_imm()
314 nir_imm_zero(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_imm_zero()
327 nir_imm_boolN_t(nir_builder *build, bool x, unsigned bit_size) in nir_imm_boolN_t()
352 nir_imm_floatN_t(nir_builder *build, double x, unsigned bit_size) in nir_imm_floatN_t()
424 nir_imm_intN_t(nir_builder *build, uint64_t x, unsigned bit_size) in nir_imm_intN_t()
454 nir_imm_ivec3_intN(nir_builder *build, int x, int y, int z, unsigned bit_size) in nir_imm_ivec3_intN()
467 unsigned bit_size) in nir_imm_uvec2_intN()
479 unsigned bit_size) in nir_imm_uvec3_intN()
498 unsigned bit_size) in nir_imm_ivec4_intN()
[all …]
H A Dnir_opt_large_constants.c32 unsigned num_components, unsigned bit_size) in read_const_values()
75 unsigned bit_size) in write_const_values()
115 uint32_t bit_size; member
168 const unsigned bit_size = glsl_get_bit_size(deref->type); in build_constant_load() local
205 const unsigned bit_size = glsl_get_bit_size(deref->type); in handle_constant_store() local
235 uint32_t bit_size = glsl_get_bit_size(elem_type); in get_small_constant() local
322 const unsigned bit_size = glsl_get_bit_size(deref->type); in build_small_constant_load() local
H A Dnir_lower_system_values.c45 const unsigned bit_size = intrin->def.bit_size; in sanitize_32bit_sysval() local
54 build_global_group_size(nir_builder *b, unsigned bit_size) in build_global_group_size()
77 const unsigned bit_size = intrin->def.bit_size; in lower_system_value_instr() local
376 unsigned bit_size) in id_to_index_no_umod_slow()
401 nir_def *size, unsigned bit_size, in lower_id_to_index_no_umod()
448 unsigned bit_size) in lower_id_to_index()
512 const unsigned bit_size = intrin->def.bit_size; in lower_compute_system_value_instr() local
H A Dnir_lower_bit_size.c35 nir_alu_type type, unsigned bit_size) in convert_to_bit_size()
52 lower_alu_instr(nir_builder *bld, nir_alu_instr *alu, unsigned bit_size) in lower_alu_instr()
131 unsigned bit_size) in lower_intrinsic_instr()
226 lower_phi_instr(nir_builder *b, nir_phi_instr *phi, unsigned bit_size, in lower_phi_instr()
H A Dnir_opt_phi_precision.c163 widening_conversion_op(nir_instr *instr, unsigned *bit_size) in widening_conversion_op()
304 find_widening_op(nir_phi_instr *phi, unsigned *bit_size) in find_widening_op()
369 unsigned bit_size; in try_move_widening_src() local
H A Dnir_loop_analyze.c677 eval_const_unop(nir_op op, unsigned bit_size, nir_const_value src0, in eval_const_unop()
688 eval_const_binop(nir_op op, unsigned bit_size, in eval_const_binop()
751 unsigned bit_size = 0; in try_eval_const_alu() local
826 nir_const_value limit, bool invert_cond, unsigned bit_size, in get_iteration()
955 nir_const_value limit, nir_op cond_op, unsigned bit_size, in test_iterations()
1043 unsigned bit_size = nir_src_bit_size(alu->src[0].src); in calculate_iterations() local
H A Dnir_search.c189 nir_op_for_search_op(uint16_t sop, unsigned bit_size) in nir_op_for_search_op()
344 unsigned bit_size = nir_src_bit_size(instr->src[src].src); in match_value() local
516 unsigned bit_size = replace_bitsize(value, search_bitsize, state); in construct_value() local
854 unsigned bit_size = alu->def.bit_size; in nir_algebraic_instr() local
H A Dnir_validate.c481 unsigned bit_size, in validate_register_handle()
588 int bit_size = instr->def.bit_size; in validate_intrinsic_instr() local
958 unsigned bit_size = nir_alu_type_get_type_size(instr->dest_type); in validate_tex_instr() local
977 validate_const_value(nir_const_value *val, unsigned bit_size, in validate_const_value()
1488 unsigned bit_size = glsl_get_bit_size(type); in validate_constant() local
H A Dnir_lower_mem_access_bit_sizes.c34 unsigned num_components, unsigned bit_size) in dup_mem_intrinsic()
76 const unsigned bit_size = intrin->def.bit_size; in lower_mem_load() local
237 const unsigned bit_size = value->bit_size; in lower_mem_store() local
H A Dnir.c725 unsigned bit_size) in nir_load_const_instr_create()
906 unsigned bit_size) in nir_undef_instr_create()
917 const_value_float(double d, unsigned bit_size) in const_value_float()
936 const_value_int(int64_t i, unsigned bit_size) in const_value_int()
957 nir_alu_binop_identity(nir_op binop, unsigned bit_size) in nir_alu_binop_identity()
1384 nir_const_value_for_float(double f, unsigned bit_size) in nir_const_value_for_float()
1402 nir_const_value_as_float(nir_const_value value, unsigned bit_size) in nir_const_value_as_float()
1549 unsigned bit_size) in nir_def_init()
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir_soa.c42 static int bit_size_to_shift_size(int bit_size) in bit_size_to_shift_size()
135 lp_build_zero_bits(struct gallivm_state *gallivm, int bit_size, bool is_float) in lp_build_zero_bits()
391 unsigned bit_size, in emit_load_var()
588 unsigned bit_size, in emit_store_chan()
615 unsigned bit_size, in emit_store_tcs_chan()
710 unsigned bit_size, in emit_store_mesh_chan()
779 unsigned bit_size, in emit_store_var()
931 unsigned bit_size, in emit_load_kernel_arg()
964 …alueRef global_addr_to_ptr(struct gallivm_state *gallivm, LLVMValueRef addr_ptr, unsigned bit_size) in global_addr_to_ptr()
985 …o_ptr_vec(struct gallivm_state *gallivm, LLVMValueRef addr_ptr, unsigned length, unsigned bit_size) in global_addr_to_ptr_vec()
[all …]
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/
H A Delk_fs_combine_constants.cpp62 uint8_t bit_size; member
157 uint8_t bit_size; member
206 void append_value(const nir_const_value &value, unsigned bit_size) in append_value()
231 negation_exists(nir_const_value v, unsigned bit_size, in negation_exists()
268 negate(nir_const_value v, unsigned bit_size, enum interpreted_type base_type) in negate()
310 absolute(nir_const_value v, unsigned bit_size, enum interpreted_type base_type) in absolute()
359 unsigned bit_size, uint8_t *reachable_mask, in calculate_masks()
393 unsigned bit_size, in calculate_reachable_values()
415 value_equal(nir_const_value a, nir_const_value b, unsigned bit_size) in value_equal()
435 unsigned bit_size) in value_can_equal()
/aosp_15_r20/external/mesa3d/src/intel/compiler/
H A Dbrw_fs_combine_constants.cpp54 uint8_t bit_size; member
149 uint8_t bit_size; member
194 void append_value(const nir_const_value &value, unsigned bit_size) in append_value()
219 negation_exists(nir_const_value v, unsigned bit_size, in negation_exists()
256 negate(nir_const_value v, unsigned bit_size, enum interpreted_type base_type) in negate()
298 absolute(nir_const_value v, unsigned bit_size, enum interpreted_type base_type) in absolute()
347 unsigned bit_size, uint8_t *reachable_mask, in calculate_masks()
381 unsigned bit_size, in calculate_reachable_values()
403 value_equal(nir_const_value a, nir_const_value b, unsigned bit_size) in value_equal()
423 unsigned bit_size) in value_can_equal()
H A Dbrw_nir_rt.c31 unsigned num_components, unsigned bit_size) in resize_deref()
400 unsigned num_components, unsigned bit_size) in build_load_uniform()
407 #define load_trampoline_param(b, name, num_components, bit_size) \ argument
/aosp_15_r20/external/stg/
H A Ddwarf_processor.cc90 } else if (auto bit_size = entry.MaybeGetUnsignedConstant(DW_AT_bit_size)) { in GetBitSize() local
99 } else if (auto bit_size = entry.MaybeGetUnsignedConstant(DW_AT_bit_size)) { in GetByteSize() local
171 size_t CalculateBitfieldAdjustment(Entry& entry, size_t bit_size, in CalculateBitfieldAdjustment()
233 size_t GetDataBitOffset(Entry& entry, size_t bit_size, in GetDataBitOffset()
426 const size_t bit_size = GetBitSize(entry); in ProcessBaseType() local
632 auto bit_size = optional_bit_size ? *optional_bit_size : 0; in ProcessMember() local
/aosp_15_r20/external/mesa3d/src/broadcom/compiler/
H A Dv3d_nir_lower_load_store_bitsize.c41 uint32_t bit_size, in init_scalar_intrinsic()
67 uint32_t bit_size = intr->def.bit_size; in lower_load_bitsize() local
150 unsigned bit_size = MIN2(32, input_bit_size); in v3d_size_align_cb() local
H A Dnir_to_vir.c1431 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
1443 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
1466 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
1479 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
1509 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
1526 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
1554 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
1567 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in ntq_emit_alu() local
2073 unsigned bit_size, in mem_vectorize_callback()
3186 uint32_t bit_size = instr->def.bit_size; in ntq_emit_load_unifa() local
/aosp_15_r20/external/mesa3d/src/amd/vulkan/nir/
H A Dradv_nir_lower_vs_inputs.c33 const unsigned bit_size = intrin->def.bit_size; in lower_load_vs_input_from_prolog() local
87 can_use_untyped_load(const struct util_format_description *f, const unsigned bit_size) in can_use_untyped_load()
98 oob_input_load_value(nir_builder *b, const unsigned channel_idx, const unsigned bit_size, const boo… in oob_input_load_value()
195 const unsigned bit_size = intrin->def.bit_size; in lower_load_vs_input() local
/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dglsl_to_nir.cpp802 unsigned bit_size = glsl_type_is_boolean(type) ? 32 : glsl_get_bit_size(type); in intrinsic_set_std430_align() local
1524 unsigned bit_size = glsl_type_is_boolean(type) ? 32 : glsl_get_bit_size(type); in visit() local
1839 unsigned bit_size) in add_instr()
1940 unsigned bit_size = glsl_get_bit_size(deref->type); in visit() local
2205 unsigned bit_size = glsl_get_bit_size(ir->type); in visit() local
2655 unsigned bit_size = glsl_get_bit_size(dest_type); in visit() local
/aosp_15_r20/external/mesa3d/src/nouveau/compiler/
H A Dnak_nir.c66 const unsigned bit_size = nir_alu_instr_is_comparison(alu) in vectorize_filter_cb() local
193 const unsigned bit_size = nir_alu_instr_is_comparison(alu) in lower_bit_size_cb() local
777 unsigned bit_size, unsigned num_components, in nak_mem_vectorize_cb()
799 uint8_t bytes, uint8_t bit_size, in nak_mem_access_size_align()
/aosp_15_r20/external/mesa3d/src/compiler/spirv/
H A Dspirv_to_nir.c481 unsigned bit_size = glsl_get_bit_size(val->type); in vtn_undef_ssa_value() local
1768 int bit_size = w[2]; in vtn_handle_type() local
1781 int bit_size = w[2]; in vtn_handle_type() local
2126 unsigned bit_size = nir_address_format_bit_size(addr_format); in vtn_handle_type() local
2337 int bit_size = glsl_get_bit_size(val->type->type); in vtn_handle_constant() local
2457 unsigned bit_size = glsl_get_bit_size(val->type->type); in vtn_handle_constant() local
2576 unsigned bit_size; in vtn_handle_constant() local
3608 unsigned bit_size = glsl_get_bit_size(vec_type->type); in vtn_handle_texture() local
3671 unsigned bit_size = glsl_get_bit_size(type); in fill_common_atomic_sources() local
4062 unsigned bit_size = glsl_get_bit_size(type->type); in vtn_handle_image() local
[all …]
/aosp_15_r20/external/mesa3d/src/asahi/lib/
H A Dagx_nir_lower_tilebuffer.c118 uint8_t load_comps, uint8_t bit_size, unsigned rt, in load_tilebuffer()
248 uint8_t comps, uint8_t bit_size, unsigned rt, in load_memory()
338 uint8_t bit_size = intr->def.bit_size; in tib_impl() local

123456789