Home
last modified time | relevance | path

Searched refs:strct (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/test/CodeGen/
Dms-inline-asm.c550 C strct;
552 __asm { mov eax, 4[strct.c1] }
554 __asm { mov eax, 4[strct.c3 + 4] }
556 __asm { mov eax, 8[strct.c2.a + 4 + 32*2 - 4] }
558 __asm { mov eax, 12[4 + strct.c2.b] }
560 __asm { mov eax, 4[4 + strct.c4.b2.b + 4] }
562 __asm { mov eax, 4[64 + strct.c1 + (2*32)] }
564 __asm { mov eax, 4[64 + strct.c2.a - 2*32] }
566 __asm { mov eax, [strct.c4.b1 + 4] }
568 __asm { mov eax, [strct.c4.b2.a + 4 + 32*2 - 4] }
[all …]
Dexprs.c192 } strct; typedef
195 (strct)returns_int(); in f18()
/external/mesa3d/src/intel/common/
Dgen_batch_decoder.c249 struct gen_group *strct = in dump_binding_table() local
251 if (strct == NULL) { in dump_binding_table()
281 uint32_t size = strct->dw_length * 4; in dump_binding_table()
290 ctx_print_group(ctx, strct, addr, bo.map + (addr - bo.addr)); in dump_binding_table()
297 struct gen_group *strct = gen_spec_find_struct(ctx->spec, "SAMPLER_STATE"); in dump_samplers() local
302 strct->dw_length, 4); in dump_samplers()
320 ctx_print_group(ctx, strct, state_addr, state_map); in dump_samplers()
845 struct gen_group *strct = in decode_vs_state() local
847 if (strct == NULL) { in decode_vs_state()
860 ctx_print_group(ctx, strct, offset, bind_bo.map); in decode_vs_state()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_vars_to_ssa.c170 assert(deref->strct.index < glsl_get_length(parent->type)); in get_deref_node_recur()
172 if (parent->children[deref->strct.index] == NULL) { in get_deref_node_recur()
173 parent->children[deref->strct.index] = in get_deref_node_recur()
178 return parent->children[deref->strct.index]; in get_deref_node_recur()
264 if (node->children[(*path)->strct.index]) { in foreach_deref_node_worker()
265 foreach_deref_node_worker(node->children[(*path)->strct.index], in foreach_deref_node_worker()
327 if (node->children[(*path)->strct.index]) { in path_may_be_aliased_node()
328 return path_may_be_aliased_node(node->children[(*path)->strct.index], in path_may_be_aliased_node()
Dnir_lower_locals_to_regs.c60 hash = XXH32(&deref->strct.index, sizeof(deref->strct.index), hash); in hash_deref()
87 if (a->strct.index != b->strct.index) in derefs_equal()
Dnir_deref.c311 (*p)->strct.index); in nir_deref_instr_get_const_offset()
348 (*p)->strct.index); in nir_build_deref_offset()
455 glsl_get_struct_field_data(struct_type, (*p)->strct.index); in deref_path_contains_coherent_decoration()
596 if (a_tail->strct.index != b_tail->strct.index) in nir_compare_deref_paths()
700 new_deref->strct.index = deref->strct.index; in rematerialize_deref_in_block()
808 child->strct.index); in nir_deref_instr_fixup_child_types()
Dnir_opt_find_array_copies.c131 idx = instr->strct.index; in node_for_deref()
217 struct match_node *child = node->children[(*deref)->strct.index]; in _foreach_aliasing()
379 if (b->strct.index != d->strct.index) in try_match_deref()
Dnir_opt_constant_folding.c163 if (p->strct.index >= c->num_elements) in const_value_for_deref()
165 c = c->elements[p->strct.index]; in const_value_for_deref()
Dnir_lower_io_to_temporaries.c152 (*old_interp_deref)->strct.index); in emit_interp()
155 (*old_interp_deref)->strct.index); in emit_interp()
Dnir_split_per_member_structs.c140 nir_variable *member = find_var_member(base->var, deref->strct.index, in rewrite_deref_instr()
Dnir_instr_set.c165 hash = HASH(hash, instr->strct.index); in hash_deref()
617 if (deref1->strct.index != deref2->strct.index) in nir_instrs_equal()
Dnir_clone.c327 nderef->strct.index = deref->strct.index; in clone_deref_instr()
Dnir_lower_io.c224 for (unsigned i = 0; i < (*p)->strct.index; i++) { in get_io_offset()
1113 base += glsl_get_struct_field_offset(parent->type, deref->strct.index); in nir_get_explicit_deref_range()
1722 deref->strct.index); in nir_explicit_io_address_from_deref()
1917 deref->strct.index); in nir_get_explicit_deref_align()
Dnir_serialize.c1024 blob_write_uint32(ctx->blob, deref->strct.index); in write_deref()
1083 deref->strct.index = blob_read_uint32(ctx->blob); in read_deref()
1084 deref->type = glsl_get_struct_field(parent->type, deref->strct.index); in read_deref()
Dnir_validate.c467 instr->strct.index < glsl_get_length(parent->type)); in validate_deref_instr()
469 glsl_get_struct_field(parent->type, instr->strct.index)); in validate_deref_instr()
Dnir_builder.h1203 deref->strct.index = index; in nir_build_deref_struct()
1303 return nir_build_deref_struct(b, parent, leader->strct.index); in nir_build_deref_follower()
Dnir_print.c672 glsl_get_struct_elem_name(parent->type, instr->strct.index)); in print_deref_link()
Dnir_split_vars.c263 tail_field = &tail_field->fields[path.path[i]->strct.index]; in split_struct_derefs_impl()
Dnir_opt_load_store_vectorize.c423 int offset = glsl_get_struct_field_offset(parent->type, deref->strct.index); in create_entry_key_from_deref()
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_builtin.c94 assert(path->path[idx]->strct.index < desc->num_elements); in get_element()
96 return &desc->elements[path->path[idx]->strct.index ]; in get_element()
/external/mesa3d/src/intel/tools/
Daubinator_viewer_decoder.cpp200 struct gen_group *strct = in dump_binding_table() local
202 if (strct == NULL) { in dump_binding_table()
232 uint32_t size = strct->dw_length * 4; in dump_binding_table()
244 aub_viewer_print_group(ctx, strct, addr, state); in dump_binding_table()
253 struct gen_group *strct = gen_spec_find_struct(ctx->spec, "SAMPLER_STATE"); in dump_samplers() local
256 count = update_count(ctx, offset, strct->dw_length, 4); in dump_samplers()
276 aub_viewer_print_group(ctx, strct, state_addr, state_map); in dump_samplers()
/external/mesa3d/src/compiler/
Dglsl_types.cpp2869 } strct; member
2977 encoded.strct.length = MIN2(type->length, 0xfffff); in encode_type_to_blob()
2978 encoded.strct.explicit_alignment = in encode_type_to_blob()
2981 encoded.strct.interface_packing_or_packed = type->interface_packing; in encode_type_to_blob()
2982 encoded.strct.interface_row_major = type->interface_row_major; in encode_type_to_blob()
2984 encoded.strct.interface_packing_or_packed = type->packed; in encode_type_to_blob()
2990 if (encoded.strct.length == 0xfffff) in encode_type_to_blob()
2992 if (encoded.strct.explicit_alignment == 0xf) in encode_type_to_blob()
3080 unsigned num_fields = encoded.strct.length; in decode_type_from_blob()
3083 unsigned explicit_alignment = encoded.strct.explicit_alignment; in decode_type_from_blob()
[all …]
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c107 *location += glsl_get_struct_location_offset(cur->type, next->strct.index); in remove_struct_derefs_prep()
109 glsl_get_struct_elem_name(cur->type, next->strct.index)); in remove_struct_derefs_prep()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c90 unsigned index = deref->strct.index; in gather_usage_helper()
/external/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp1334 ASSERT_EQ(deref->strct.index, 0); in TEST_F()
1495 ASSERT_EQ(deref->strct.index, 0); in TEST_F()

12