/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/AArch64/ |
D | large-offset-gep.ll | 3 %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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | alloca.ll | 137 %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/llvm/test/Transforms/InstCombine/ |
D | alloca.ll | 134 %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/ |
D | lower_buffer_access.cpp | 371 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/v8/src/torque/ |
D | class-debug-reader-generator.cc | 47 if (auto struct_type = type_->StructSupertype()) { in operator *() local 48 const auto& field = (*struct_type)->fields()[index_]; in operator *() 90 base::Optional<const StructType*> struct_type = type_->StructSupertype(); in end() local 91 if (struct_type && *struct_type != TypeOracle::GetFloat64OrHoleType()) { in end() 92 index = (*struct_type)->fields().size(); in end()
|
D | csa-generator.cc | 878 const Type* struct_type = instruction.bit_field_struct_type; in EmitInstruction() local 881 Type::MatchUnaryGeneric(struct_type, TypeOracle::GetSmiTaggedGeneric()); in EmitInstruction() 883 IsPointerSizeIntegralType(struct_type) || smi_tagged_type; in EmitInstruction() 884 DCHECK_IMPLIES(!struct_is_pointer_size, Is32BitIntegralType(struct_type)); in EmitInstruction() 906 << GetBitFieldSpecialization(struct_type, instruction.bit_field) in EmitInstruction() 920 const Type* struct_type = instruction.bit_field_struct_type; in EmitInstruction() local 923 Type::MatchUnaryGeneric(struct_type, TypeOracle::GetSmiTaggedGeneric()); in EmitInstruction() 925 IsPointerSizeIntegralType(struct_type) || smi_tagged_type; in EmitInstruction() 926 DCHECK_IMPLIES(!struct_is_pointer_size, Is32BitIntegralType(struct_type)); in EmitInstruction() 936 decls() << " " << struct_type->GetGeneratedTypeName() << " " << result_name in EmitInstruction() [all …]
|
D | type-visitor.cc | 195 StructType* struct_type = TypeOracle::GetStructType(decl, specialized_from); in ComputeType() local 196 CurrentScope::Scope struct_namespace_scope(struct_type->nspace()); in ComputeType() 209 struct_type, in ComputeType() 217 struct_type->RegisterField(f); in ComputeType() 234 return struct_type; in ComputeType() 469 StructType* struct_type, const StructDeclaration* struct_declaration) { in VisitStructMethods() argument 470 DeclareMethods(struct_type, struct_declaration->methods); in VisitStructMethods()
|
D | cc-generator.cc | 405 const Type* struct_type = instruction.bit_field_struct_type; in EmitInstruction() local 411 Type::MatchUnaryGeneric(struct_type, TypeOracle::GetSmiTaggedGeneric()); in EmitInstruction() 415 struct_type = *smi_tagged_type; in EmitInstruction() 419 << GetBitFieldSpecialization(struct_type, instruction.bit_field) in EmitInstruction() 434 } else if (auto struct_type = result.type()->StructSupertype()) { in EmitCCValue() local 437 for (auto& field : (*struct_type)->fields()) { in EmitCCValue()
|
D | types.cc | 124 if (auto* struct_type = StructType::DynamicCast(t)) { in StructSupertype() local 125 return struct_type; in StructSupertype() 595 if (auto struct_type = type->StructSupertype()) { in ComputeSlotKindsHelper() local 596 ComputeSlotKindsHelper(slots, offset, (*struct_type)->fields()); in ComputeSlotKindsHelper() 1174 base::Optional<const StructType*> struct_type = type->StructSupertype(); in ValidateAlignment() local 1175 if (struct_type && struct_type != TypeOracle::GetFloat64OrHoleType()) { in ValidateAlignment() 1176 for (const Field& field : (*struct_type)->fields()) { in ValidateAlignment() 1233 } else if (auto struct_type = type->StructSupertype()) { in SizeOf() local 1238 size = (*struct_type)->PackedSize(); in SizeOf() 1294 if (base::Optional<const StructType*> struct_type = StructSupertype()) { in GetRuntimeType() local [all …]
|
/external/python/cffi/testing/cffi0/ |
D | test_model.py | 101 struct_type = StructType("foo_s", None, None, None) 102 assert struct_type.get_c_name() == "struct foo_s" 103 assert struct_type.get_c_name("*x") == "struct foo_s *x"
|
/external/angle/third_party/spirv-tools/src/source/fuzz/ |
D | transformation_composite_construct.cpp | 229 const opt::analysis::Struct& struct_type) const { in ComponentsForStructConstructionAreOK() 231 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK() 238 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK() 248 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_composite_construct.cpp | 222 opt::IRContext* context, const opt::analysis::Struct& struct_type) const { in ComponentsForStructConstructionAreOK() 224 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK() 231 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK() 241 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
|
D | fuzzer_pass_construct_composites.cpp | 115 } else if (auto struct_type = composite_type->AsStruct()) { in Apply() local 117 *struct_type, type_id_to_available_instructions); in Apply() 230 const opt::analysis::Struct& struct_type, in TryConstructingStructComposite() argument 234 for (auto element_type : struct_type.element_types()) { in TryConstructingStructComposite()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_composite_construct.cpp | 229 const opt::analysis::Struct& struct_type) const { in ComponentsForStructConstructionAreOK() 231 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK() 238 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK() 248 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
|
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/ |
D | mlir_compiler.cc | 308 auto struct_type = target_type.getPointerElementTy(); in InsertBufferLoadPreduleIntoKernel() local 313 loc, struct_type.getStructElementType(0), llvm::ArrayRef<Value>{ptr}); in InsertBufferLoadPreduleIntoKernel() 315 loc, struct_type.getStructElementType(0), descPtr, in InsertBufferLoadPreduleIntoKernel() 319 loc, struct_type.getStructElementType(1), llvm::ArrayRef<Value>{ptr}); in InsertBufferLoadPreduleIntoKernel() 321 loc, struct_type.getStructElementType(1), descPtr, in InsertBufferLoadPreduleIntoKernel() 326 loc, struct_type.getStructElementType(1), descPtr, in InsertBufferLoadPreduleIntoKernel() 334 struct_type.getStructElementType(3).getArrayElementType(); in InsertBufferLoadPreduleIntoKernel() 349 entry_type = struct_type.getStructElementType(4).getArrayElementType(); in InsertBufferLoadPreduleIntoKernel()
|
/external/llvm/test/CodeGen/X86/ |
D | pr17631.ll | 3 %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/ |
D | pr17631.ll | 3 %struct_type = type { [64 x <8 x float>], <8 x float> } 12 %second_alloc = alloca %struct_type
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/ |
D | gen_llvm.hpp | 85 def needs_ctx(struct_type): 86 for m in struct_type.get('members', []):
|
/external/angle/third_party/spirv-tools/src/source/val/ |
D | validate_annotation.cpp | 246 const auto struct_type = _.FindDef(struct_type_id); in ValidateMemberDecorate() local 247 if (!struct_type || SpvOpTypeStruct != struct_type->opcode()) { in ValidateMemberDecorate() 254 static_cast<uint32_t>(struct_type->words().size() - 2); in ValidateMemberDecorate()
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_annotation.cpp | 246 const auto struct_type = _.FindDef(struct_type_id); in ValidateMemberDecorate() local 247 if (!struct_type || SpvOpTypeStruct != struct_type->opcode()) { in ValidateMemberDecorate() 254 static_cast<uint32_t>(struct_type->words().size() - 2); in ValidateMemberDecorate()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_annotation.cpp | 246 const auto struct_type = _.FindDef(struct_type_id); in ValidateMemberDecorate() local 247 if (!struct_type || SpvOpTypeStruct != struct_type->opcode()) { in ValidateMemberDecorate() 254 static_cast<uint32_t>(struct_type->words().size() - 2); in ValidateMemberDecorate()
|
/external/vulkan-validation-layers/scripts/ |
D | helper_file_generator.py | 559 struct_type = '%sExtensions' % type 563 struct_decl = 'struct %s {' % struct_type 564 instance_struct_type = struct_type 568 struct_decl = 'struct %s : public %s {' % (struct_type, instance_struct_type) 597 ' const bool %s::* enabled;' % struct_type, 602 …st %s requires_): state(state_), requires(requires_) {}' % ( info_type, struct_type, req_vec_type), 603 ' bool %s::* state;' % struct_type, 613 field_format = '&' + struct_type + '::%s' 645 ' %s() = default;' % struct_type, 646 …' %s(const %s& instance_ext) : %s(instance_ext) {}' % (struct_type, instance_struct_type, insta… [all …]
|
/external/v8/src/wasm/ |
D | wasm-module-builder.h | 291 explicit Type(StructType* struct_type) in Type() 292 : kind(kStructType), struct_type(struct_type) {} in Type() 298 StructType* struct_type; member
|
/external/mesa3d/src/vulkan/util/ |
D | gen_enum_to_str.py | 373 for struct_type in xml.findall('./types/type[@category="struct"]'): 374 name = struct_type.attrib['name'] 375 stype = struct_get_stype(struct_type)
|
/external/mesa3d/src/intel/tools/ |
D | aubinator_viewer_decoder.cpp | 639 const char *struct_type, int count) in decode_dynamic_state_pointers() argument 659 struct_type, state_addr); in decode_dynamic_state_pointers() 663 struct gen_group *state = gen_spec_find_struct(ctx->spec, struct_type); in decode_dynamic_state_pointers() 664 if (strcmp(struct_type, "BLEND_STATE") == 0) { in decode_dynamic_state_pointers() 669 ImGui::Text("%s", struct_type); in decode_dynamic_state_pointers() 675 struct_type = "BLEND_STATE_ENTRY"; in decode_dynamic_state_pointers() 676 state = gen_spec_find_struct(ctx->spec, struct_type); in decode_dynamic_state_pointers() 680 ImGui::Text("%s %d", struct_type, i); in decode_dynamic_state_pointers()
|