Home
last modified time | relevance | path

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

/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/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp421 const glsl_type *struct_type = deref_record->record->type; in setup_buffer_access() local
424 for (unsigned int i = 0; i < struct_type->length; i++) { in setup_buffer_access()
425 const glsl_type *type = struct_type->fields.structure[i].type; in setup_buffer_access()
429 struct_type->fields.structure[i].name); in setup_buffer_access()
442 if (struct_type->fields.structure[i].offset != -1) { in setup_buffer_access()
443 intra_struct_offset = struct_type->fields.structure[i].offset; in setup_buffer_access()
448 if (strcmp(struct_type->fields.structure[i].name, in setup_buffer_access()
451 *struct_field = &struct_type->fields.structure[i]; in setup_buffer_access()
/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/vulkan-validation-layers/
Dvk_helper.py287 def _add_struct(self, line_txt, struct_type, num): argument
289 if '{' == struct_type:
291 if not struct_type in self.struct_dict:
292 self.struct_dict[struct_type] = {}
300 self.struct_dict[struct_type][num] = {}
301 self.struct_dict[struct_type][num]['full_type'] = member_type
302 self.struct_dict[struct_type][num]['dyn_array'] = False
304 self.struct_dict[struct_type][num]['ptr'] = True
309 self.struct_dict[struct_type][num]['ptr'] = False
311 self.struct_dict[struct_type][num]['const'] = True
[all …]
/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/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/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dtarget.ml37 let sty = struct_type context [| i32_type; i64_type |] in
Dvmcore.ml173 insist ((struct_type context [| i16_type; i16_type; i32_type; i32_type |])
840 let sty = struct_type context [| i8_type; i64_type |] in
870 let rt = struct_type context [| pointer_type i8_type; i32_type |] in
1070 let sty = struct_type context [| i32_type; i8_type |] in
1202 let sty = struct_type context [| i32_type; i8_type |] in
/external/libmojo/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py233 struct_type = JavaScriptType(field.kind)
234 return "%s, %s" % (struct_type, nullable)
/external/llvm/test/Bindings/OCaml/
Dtarget.ml46 let sty = struct_type context [| i32_type; i64_type |] in
Dcore.ml224 insist ((struct_type context [| i16_type; i16_type; i32_type; i32_type |])
941 let sty = struct_type context [| i8_type; i64_type |] in
1094 let sty = struct_type context [| i32_type; i8_type |] in
1155 let rt = struct_type context [| pointer_type i8_type; i32_type |] in
1369 let sty = struct_type context [| i32_type; i8_type |] in
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp1555 const glsl_type *struct_type = ir->record->type; in visit() local
1560 for (i = 0; i < struct_type->length; i++) { in visit()
1561 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0) in visit()
1563 offset += type_size(struct_type->fields.structure[i].type); in visit()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2734 const glsl_type *struct_type = ir->record->type; in visit() local
2739 for (i = 0; i < struct_type->length; i++) { in visit()
2740 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0) in visit()
2742 offset += type_size(struct_type->fields.structure[i].type); in visit()
3844 const glsl_type *struct_type = deref_record->record->type; in calc_deref_offsets() local
3850 *location += struct_type->record_location_offset(field_index); in calc_deref_offsets()
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm.mli471 (** [struct_type context tys] returns the structure type in the context
474 val struct_type : llcontext -> lltype array -> lltype val
761 [struct_type (Array.map type_of elts)] and containing the values [elts]
Dllvm.ml297 external struct_type : llcontext -> lltype array -> lltype = "llvm_struct_type"
/external/llvm/bindings/ocaml/llvm/
Dllvm.ml386 external struct_type : llcontext -> lltype array -> lltype = "llvm_struct_type"
Dllvm.mli603 (** [struct_type context tys] returns the structure type in the context
606 val struct_type : llcontext -> lltype array -> lltype val
926 [struct_type (Array.map type_of elts)] and containing the values [elts]