Home
last modified time | relevance | path

Searched refs:is_struct (Results 1 – 25 of 49) sorted by relevance

12

/external/mesa3d/src/compiler/
Dglsl_types.cpp219 } else if (this->is_struct() || this->is_interface()) { in contains_sampler()
233 if (this->is_struct() || this->is_interface()) { in contains_array()
249 } else if (this->is_struct() || this->is_interface()) { in contains_integer()
265 } else if (this->is_struct() || this->is_interface()) { in contains_double()
281 } else if (this->is_struct() || this->is_interface()) { in contains_64bit()
318 } else if (this->is_struct() || this->is_interface()) { in contains_subroutine()
364 } else if (this->is_struct() || this->is_interface()) { in contains_image()
1168 if (this->is_struct()) { in compare_no_precision()
1169 if (!b->is_struct()) in compare_no_precision()
1643 if (t->is_struct()) { in struct_location_offset()
[all …]
Dnir_types.cpp90 assert(type->is_struct() || type->is_interface()); in glsl_get_struct_field_data()
322 return type->is_struct(); in glsl_type_is_struct()
334 return type->is_struct() || type->is_interface(); in glsl_type_is_struct_or_ifc()
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddesc_sroa.cpp218 const bool is_struct = pointee_type_inst->opcode() == SpvOpTypeStruct; in GetReplacementVariable() local
219 assert((is_array || is_struct) && in GetReplacementVariable()
237 if (is_struct) { in GetReplacementVariable()
268 const bool is_struct = pointee_type_inst->opcode() == SpvOpTypeStruct; in CreateReplacementVariable() local
269 assert((is_array || is_struct) && in CreateReplacementVariable()
303 if (is_struct) { in CreateReplacementVariable()
324 if (is_struct) { in CreateReplacementVariable()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa.cpp218 const bool is_struct = pointee_type_inst->opcode() == SpvOpTypeStruct; in GetReplacementVariable() local
219 assert((is_array || is_struct) && in GetReplacementVariable()
237 if (is_struct) { in GetReplacementVariable()
268 const bool is_struct = pointee_type_inst->opcode() == SpvOpTypeStruct; in CreateReplacementVariable() local
269 assert((is_array || is_struct) && in CreateReplacementVariable()
303 if (is_struct) { in CreateReplacementVariable()
324 if (is_struct) { in CreateReplacementVariable()
/external/flatbuffers/src/
Dreflection.cpp88 if (objectdef.is_struct()) { in GetAnyValueS()
251 if (subobjectdef && subobjectdef->is_struct()) continue; in ResizeTable()
272 if (elemobjectdef && elemobjectdef->is_struct()) break; in ResizeTable()
400 if (!subobjectdef.is_struct()) { in CopyTable()
434 if (!elemobjectdef->is_struct()) { in CopyTable()
447 if (elemobjectdef && elemobjectdef->is_struct()) in CopyTable()
463 auto start = objectdef.is_struct() ? fbb.StartStruct(objectdef.minalign()) in CopyTable()
473 if (subobjectdef.is_struct()) { in CopyTable()
493 if (objectdef.is_struct()) { in CopyTable()
537 if (elem_obj->is_struct()) { in VerifyUnion()
[all …]
Didl_gen_text.cpp125 const auto is_struct = IsStruct(type); in PrintContainer() local
135 auto ptr = is_struct ? reinterpret_cast<const void *>( in PrintContainer()
/external/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp181 if (array_type->is_struct() || array_type->is_array()) in get_array_stride()
264 assert(type->without_array()->is_struct() in process()
306 if (t_without_array->is_struct() || in process()
347 } else if (t->is_struct() || t->is_interface()) { in recursion()
348 if (record_type == NULL && t->is_struct()) in recursion()
351 if (t->is_struct()) in recursion()
395 if (t->is_struct()) { in recursion()
399 } else if (t->without_array()->is_struct() || in recursion()
402 if (record_type == NULL && t->fields.array->is_struct()) in recursion()
552 assert(!type->without_array()->is_struct()); in visit_field()
[all …]
Dlower_buffer_access.cpp66 if (deref->type->is_struct()) { in emit_access()
217 return matrix || deref->type->without_array()->is_struct(); in is_dereferenced_thing_row_major()
244 return matrix || deref->type->without_array()->is_struct(); in is_dereferenced_thing_row_major()
417 if (type->without_array()->is_struct()) { in setup_buffer_access()
Dlink_varyings.cpp82 } else if (t->is_struct()) { in create_xfb_varying_names()
93 } else if (t->without_array()->is_struct() || in create_xfb_varying_names()
217 if (output->type->is_struct()) { in cross_validate_types_and_qualifiers()
474 const bool is_struct = type_without_array->is_struct(); in check_location_aliasing() local
475 if (is_struct) { in check_location_aliasing()
496 if (info->var->type->without_array()->is_struct() || is_struct) { in check_location_aliasing()
507 is_struct ? var->name : info->var->name, in check_location_aliasing()
1802 return xfb_enabled && (type->is_array() || type->is_struct() || in is_varying_packing_safe()
2127 if (type->is_array() || type->is_matrix() || type->is_struct() || in store_locations()
2385 assert(!type->without_array()->is_struct()); in visit_field()
Dhir_field_selection.cpp49 } else if (op->type->is_struct() || op->type->is_interface()) { in _mesa_ast_field_selection_to_hir()
Dopt_structure_splitting.cpp106 if (!var->type->is_struct() || in get_variable_entry()
209 if (!var->type->is_struct()) in get_splitting_entry()
Dlink_uniform_initializers.cpp193 if (type->is_struct()) { in set_uniform_initializer()
203 } else if (t_without_array->is_struct() || in set_uniform_initializer()
Dlower_packed_varyings.cpp527 if (rvalue->type->is_struct()) { in lower_rvalue()
782 !(type->is_array() || type->is_struct() || type->is_matrix()) && in needs_lowering()
792 !((type->is_array() || type->is_struct() || type->is_matrix()) && in needs_lowering()
Dir.cpp904 || type->is_struct() || type->is_array()); in ir_constant()
911 if (type->is_array() || type->is_struct()) { in ir_constant()
1086 || type->is_struct() || type->is_array()); in zero()
1099 if (type->is_struct()) { in zero()
1371 assert(this->type->is_struct()); in get_record_field()
1454 assert (!type->is_array() && !type->is_struct()); in copy_masked_offset()
1511 if (this->type->is_array() || this->type->is_struct()) { in has_value()
2274 (constant->type->is_array() || constant->type->is_struct())) { in steal_memory()
Dlink_uniform_blocks.cpp71 assert(type->is_struct()); in enter_record()
84 assert(type->is_struct()); in leave_record()
Dlower_xfb_varying.cpp186 assert(*type != NULL && (*type)->is_struct() && field != NULL); in get_deref()
Dlower_ubo_reference.cpp889 if (!ir->lhs->type->is_struct() || !ir->rhs->type->is_struct()) in check_for_buffer_struct_copy()
Dast_to_hir.cpp2396 !t->is_struct(); in precision_qualifier_allowed()
2816 if (t_without_array->is_struct() || t_without_array->is_interface()) in validate_xfb_offset_qualifier()
3718 if (type->is_matrix() || type->is_struct()) { in apply_layout_qualifier_to_variable()
5434 var->type->fields.array->is_struct()) { in hir()
5439 if (var->type->is_struct()) { in hir()
5442 var->type->fields.structure[i].type->is_struct()) in hir()
5469 if (check_type->is_struct() || check_type->is_matrix()) in hir()
5540 if (type->is_array() && type->fields.array->is_struct()) { in hir()
5546 if (type->is_struct()) { in hir()
5549 type->fields.structure[i].type->is_struct()) in hir()
[all …]
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h712 bool is_struct() const { in is_struct() function
757 void add_is_struct(bool is_struct) { in add_is_struct()
758 fbb_.AddElement<uint8_t>(Object::VT_IS_STRUCT, static_cast<uint8_t>(is_struct), 0); in add_is_struct()
790 bool is_struct = false,
802 builder_.add_is_struct(is_struct);
810 bool is_struct = false,
823 is_struct,
/external/flatbuffers/reflection/
Dreflection.fbs79 is_struct:bool = false;
/external/libabigail/src/
Dabg-reader.cc2599 read_is_struct(xmlNodePtr node, bool& is_struct) in read_is_struct() argument
2605 is_struct = true; in read_is_struct()
2607 is_struct = false; in read_is_struct()
4415 bool is_struct = false; in build_class_decl() local
4416 read_is_struct(node, is_struct); in build_class_decl()
4476 decl.reset(new class_decl(env, name, is_struct)); in build_class_decl()
4484 is_struct, loc, vis, bases, mbrs, in build_class_decl()
4564 is_struct in build_class_decl()
4600 is_struct in build_class_decl()
4632 is_struct in build_class_decl()
[all …]
/external/libabigail/include/
Dabg-ir.h4042 bool is_struct, const location& locus,
4049 bool is_struct, const location& locus,
4056 bool is_struct, const location& locus, visibility vis);
4060 bool is_struct, const location& locus,
4063 class_decl(const environment* env, const string& name, bool is_struct,
4071 is_struct(bool f);
4074 is_struct() const;
/external/bcc/src/cc/frontends/b/
Dtype_check.cc98 } else if (n->decl_->is_struct()) { in visit_ident_expr_node()
534 if (var->is_struct()) { in visit_func_decl_stmt_node()
Dcodegen_llvm.cc296 if (n->decl_->is_struct()) in visit_ident_expr_node()
304 if (n->is_lhs() || n->decl_->is_struct()) in visit_ident_expr_node()
1133 if (!n->is_struct()) in lookup_struct_type()
1160 if (formal->is_struct()) { in visit_func_decl_stmt_node()
/external/flatbuffers/tests/
Dtest.cpp1403 bool is_struct = definition < num_struct_definitions; in FuzzTest2() local
1406 ((is_struct ? "struct " : "table ") + definition_name + " {\n").c_str(), in FuzzTest2()
1416 !is_struct && !is_last_field && (lcg_rand() % deprecation_rate == 0); in FuzzTest2()
1426 if (is_struct) { in FuzzTest2()
1433 if (is_struct) { in FuzzTest2()
1464 if (!is_struct) { in FuzzTest2()

12