Home
last modified time | relevance | path

Searched refs:struct_type (Results 1 – 25 of 41) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/AArch64/
Dlarge-offset-gep.ll3 %struct_type = type { [10000 x i32], i32, i32 }
5 define void @test1(%struct_type** %s, i32 %n) {
8 %struct = load %struct_type*, %struct_type** %s
15 %gep0 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 1
16 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2
31 define void @test2(%struct_type* %struct, i32 %n) {
34 %cmp = icmp eq %struct_type* %struct, null
41 %gep0 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 1
42 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2
57 define void @test3(%struct_type* %s1, %struct_type* %s2, i1 %cond, i32 %n) {
[all …]
/external/llvm/test/Transforms/InstCombine/
Dalloca.ll134 %struct_type = type { i32, i32 }
135 declare void @test9_aux(<{ %struct_type }>* inalloca)
139 define void @test9(%struct_type* %a) {
143 %argmem = alloca inalloca <{ %struct_type }>
145 %0 = getelementptr inbounds <{ %struct_type }>, <{ %struct_type }>* %argmem, i32 0, i32 0
146 %1 = bitcast %struct_type* %0 to i8*
147 %2 = bitcast %struct_type* %a to i8*
149 call void @test9_aux(<{ %struct_type }>* inalloca %argmem)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dalloca.ll137 %struct_type = type { i32, i32 }
138 declare void @test9_aux(<{ %struct_type }>* inalloca)
142 define void @test9(%struct_type* %a) {
146 %argmem = alloca inalloca <{ %struct_type }>
148 %0 = getelementptr inbounds <{ %struct_type }>, <{ %struct_type }>* %argmem, i32 0, i32 0
149 %1 = bitcast %struct_type* %0 to i8*
150 %2 = bitcast %struct_type* %a to i8*
152 call void @test9_aux(<{ %struct_type }>* inalloca %argmem)
/external/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp371 const glsl_type *struct_type = deref_record->record->type; in setup_buffer_access() local
374 for (unsigned int i = 0; i < struct_type->length; i++) { in setup_buffer_access()
375 const glsl_type *type = struct_type->fields.structure[i].type; in setup_buffer_access()
379 struct_type->fields.structure[i].name); in setup_buffer_access()
392 if (struct_type->fields.structure[i].offset != -1) { in setup_buffer_access()
393 intra_struct_offset = struct_type->fields.structure[i].offset; in setup_buffer_access()
401 *struct_field = &struct_type->fields.structure[i]; in setup_buffer_access()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_annotation.cpp45 const auto struct_type = _.FindDef(struct_type_id); in ValidateMemberDecorate() local
46 if (!struct_type || SpvOpTypeStruct != struct_type->opcode()) { in ValidateMemberDecorate()
53 static_cast<uint32_t>(struct_type->words().size() - 2); in ValidateMemberDecorate()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_annotation.cpp45 const auto struct_type = _.FindDef(struct_type_id); in ValidateMemberDecorate() local
46 if (!struct_type || SpvOpTypeStruct != struct_type->opcode()) { in ValidateMemberDecorate()
53 static_cast<uint32_t>(struct_type->words().size() - 2); in ValidateMemberDecorate()
/external/vulkan-validation-layers/scripts/
Dhelper_file_generator.py514 struct_type = '%sExtensions' % type
518 struct_decl = 'struct %s {' % struct_type
519 instance_struct_type = struct_type
523 struct_decl = 'struct %s : public %s {' % (struct_type, instance_struct_type)
556 ' const bool %s::* enabled;' % struct_type,
561 …st %s requires_): state(state_), requires(requires_) {}' % ( info_type, struct_type, req_vec_type),
562 ' bool %s::* state;' % struct_type,
570 field_format = '&' + struct_type + '::%s'
602 ' %s() = default;' % struct_type,
603 …' %s(const %s& instance_ext) : %s(instance_ext) {}' % (struct_type, instance_struct_type, insta…
[all …]
Dobject_tracker_generator.py660 def StructWithExtensions(self, struct_type): argument
661 if struct_type in self.struct_member_dict:
662 param_info = self.struct_member_dict[struct_type]
/external/llvm/test/CodeGen/X86/
Dpr17631.ll3 %struct_type = type { [64 x <8 x float>], <8 x float> }
12 %second_alloc = alloca %struct_type
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dpr17631.ll3 %struct_type = type { [64 x <8 x float>], <8 x float> }
12 %second_alloc = alloca %struct_type
/external/v8/src/torque/
Dimplementation-visitor.cc190 const StructType* struct_type = in Visit() local
192 for (auto& field : struct_type->fields()) { in Visit()
1114 if (const StructType* struct_type = in GenerateFunctionDeclaration() local
1116 o << GetDSLAssemblerName(struct_type->module()) << "::"; in GenerateFunctionDeclaration()
1288 const StructType* struct_type = StructType::cast(type); in GetFlattenedStructsVars() local
1289 for (auto& field : struct_type->fields()) { in GetFlattenedStructsVars()
1349 const StructType* struct_type = StructType::cast(raw_type); in Visit() local
1350 if (struct_type->fields().size() != decl->expressions.size()) { in Visit()
1353 << struct_type->fields().size() << ", found " << decl->expressions.size() in Visit()
1358 for (auto& field : struct_type->fields()) { in Visit()
[all …]
Ddeclaration-visitor.cc98 if (const StructType* struct_type = in BuiltinDeclarationCommon() local
102 << ") cannot return structs (in this case " << struct_type->name() in BuiltinDeclarationCommon()
277 const StructType* struct_type = StructType::cast(type); in DeclareVariable() local
278 for (auto& field : struct_type->fields()) { in DeclareVariable()
291 const StructType* struct_type = StructType::cast(type); in DeclareParameter() local
292 for (auto& field : struct_type->fields()) { in DeclareParameter()
/external/swiftshader/third_party/LLVM/lib/Object/
DMachOObject.cpp36 typedef T struct_type; in ReadInMemoryStruct() typedef
37 uint64_t Size = sizeof(struct_type); in ReadInMemoryStruct()
46 struct_type *Ptr = (struct_type *) (Buffer.data() + Base); in ReadInMemoryStruct()
/external/u-boot/fs/yaffs2/
Dyaffs_yaffs2.c257 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_validity_marker()
273 ok = (cp.struct_type == sizeof(cp)) && in yaffs2_rd_checkpt_validity_marker()
318 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_dev()
349 if (cp.struct_type != sizeof(cp)) in yaffs2_rd_checkpt_dev()
558 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_objs()
578 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_objs()
597 if (cp.struct_type != sizeof(cp)) { in yaffs2_rd_checkpt_objs()
600 cp.struct_type, (int)sizeof(cp), ok); in yaffs2_rd_checkpt_objs()
Dyaffs_guts.h487 int struct_type; member
789 int struct_type; member
806 int struct_type; member
/external/syzkaller/tools/syz-headerparser/headerlib/
Dcontainer.py187 def _get_struct_name(struct_type): argument
188 return struct_type.split()[-1]
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc1265 StructType struct_type; in TEST_P() local
1266 google::protobuf::Struct* s = struct_type.mutable_object(); in TEST_P()
1276 CheckOutput(struct_type); in TEST_P()
1280 StructType struct_type; in TEST_P() local
1286 CheckOutput(struct_type); in TEST_P()
1290 StructType struct_type; in TEST_P() local
1298 CheckOutput(struct_type); in TEST_P()
1347 StructType struct_type; in TEST_P() local
1348 google::protobuf::Struct* s = struct_type.mutable_object(); in TEST_P()
1365 CheckOutput(struct_type); in TEST_P()
/external/mesa3d/src/intel/tools/
Dgen_batch_decoder.c582 const char *struct_type, const uint32_t *p, in decode_dynamic_state_pointers() argument
586 fprintf(ctx->fp, " dynamic %s state unavailable\n", struct_type); in decode_dynamic_state_pointers()
591 struct gen_group *state = gen_spec_find_struct(ctx->spec, struct_type); in decode_dynamic_state_pointers()
607 fprintf(ctx->fp, "%s %d\n", struct_type, i); in decode_dynamic_state_pointers()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp365 if (const analysis::Struct* struct_type = result_type->AsStruct()) { in BuildMemoryObjectFromInsert() local
367 static_cast<uint32_t>(struct_type->element_types().size()); in BuildMemoryObjectFromInsert()
813 if (const analysis::Struct* struct_type = type->AsStruct()) { in GetNumberOfMembers() local
814 return static_cast<uint32_t>(struct_type->element_types().size()); in GetNumberOfMembers()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp365 if (const analysis::Struct* struct_type = result_type->AsStruct()) { in BuildMemoryObjectFromInsert() local
367 static_cast<uint32_t>(struct_type->element_types().size()); in BuildMemoryObjectFromInsert()
813 if (const analysis::Struct* struct_type = type->AsStruct()) { in GetNumberOfMembers() local
814 return static_cast<uint32_t>(struct_type->element_types().size()); in GetNumberOfMembers()
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dtarget.ml37 let sty = struct_type context [| i32_type; i64_type |] in
/external/bcc/src/cc/frontends/b/
Dtype_check.cc158 StructDeclStmtNode *struct_type = proto_scopes_->top_struct()->lookup(n->id_->name_, true); in visit_packet_expr_node() local
159 if (!struct_type) in visit_packet_expr_node()
163 n->struct_type_ = struct_type; in visit_packet_expr_node()
165 VariableDeclStmtNode *sub_decl = struct_type->field(n->id_->sub_name_); in visit_packet_expr_node()
/external/llvm/test/Bindings/OCaml/
Dtarget.ml46 let sty = struct_type context [| i32_type; i64_type |] in
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/
Dtarget.ml46 let sty = struct_type context [| i32_type; i64_type |] in
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py520 struct_type = self._JavaScriptType(field.kind)
521 return "%s, %s" % (struct_type, nullable)

12