Home
last modified time | relevance | path

Searched refs:deref_array (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/tests/
Darray_refcount_test.cpp127 deref_array(operand array, operand index) in deref_array() function
425 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
460 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
501 deref_array( in TEST_F()
532 deref_array( in TEST_F()
533 deref_array( in TEST_F()
534 deref_array(var_b, body->constant(int(2))), in TEST_F()
567 deref_array( in TEST_F()
568 deref_array( in TEST_F()
569 deref_array(var_b, body->constant(int(2))), in TEST_F()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dlower_named_interface_blocks.cpp87 ir_dereference_array *deref_array = in process_array_ir() local
90 if (deref_array == NULL) { in process_array_ir()
94 deref_array = (ir_dereference_array *) process_array_ir(mem_ctx, in process_array_ir()
95 deref_array, in process_array_ir()
97 return new(mem_ctx) ir_dereference_array(deref_array, in process_array_ir()
306 ir_dereference_array *deref_array = in handle_rvalue() local
308 if (deref_array != NULL) { in handle_rvalue()
309 *rvalue = process_array_ir(mem_ctx, deref_array, in handle_rvalue()
Dast_array_index.cpp78 ir_dereference_array *deref_array = in update_max_array_access() local
81 while (deref_array != NULL) { in update_max_array_access()
82 deref_array_prev = deref_array; in update_max_array_access()
83 deref_array = deref_array->array->as_dereference_array(); in update_max_array_access()
Dopt_array_splitting.cpp347 ir_dereference_array *deref_array = (*deref)->as_dereference_array(); in split_deref() local
348 if (!deref_array) in split_deref()
351 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); in split_deref()
360 ir_constant *constant = deref_array->array_index->as_constant(); in split_deref()
373 ir_variable *temp = new(entry->mem_ctx) ir_variable(deref_array->type, in split_deref()
Dlower_precision.cpp1082 for (ir_dereference_array *deref_array = ir->as_dereference_array(); in fix_types_in_deref_chain() local
1083 deref_array; in fix_types_in_deref_chain()
1084 deref_array = deref_array->array->as_dereference_array()) { in fix_types_in_deref_chain()
1085 assert(deref_array->array->type->without_array()->is_32bit()); in fix_types_in_deref_chain()
1086 deref_array->array->type = lower_glsl_type(deref_array->array->type); in fix_types_in_deref_chain()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_64bit.cpp954 auto deref_array = nir_instr_as_deref(deref->parent.ssa->parent_instr); in load_deref_64_to_vec2() local
955 deref_array->type = var->type; in load_deref_64_to_vec2()
956 deref->type = deref_array->type->without_array(); in load_deref_64_to_vec2()
987 auto deref_array = nir_instr_as_deref(deref->parent.ssa->parent_instr); in store_64_to_vec2() local
988 deref_array->type = var->type; in store_64_to_vec2()
989 deref->type = deref_array->type->without_array(); in store_64_to_vec2()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1262 nir_deref_instr *deref_array = nir_build_deref_array(b, deref_var, idx); in rewrite_atomic_ssbo_instr() local
1263 nir_deref_instr *deref_struct = nir_build_deref_struct(b, deref_array, 0); in rewrite_atomic_ssbo_instr()
1341 nir_deref_instr *deref_array = nir_build_deref_array(b, deref_var, idx); in remove_bo_access_instr() local
1342 nir_deref_instr *deref_struct = nir_build_deref_struct(b, deref_array, 0); in remove_bo_access_instr()