/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | constant_manager_test.cpp | 44 StructConstant struct_const_1(struct_type_1->AsStruct()); in TEST_F() 50 StructConstant struct_const_2(struct_type_2->AsStruct()); in TEST_F() 71 NullConstant struct_const_1(struct_type_1->AsStruct()); in TEST_F() 78 NullConstant struct_const_2(struct_type_2->AsStruct()); in TEST_F()
|
D | type_manager_test.cpp | 310 EXPECT_TRUE(s150->AsStruct()); in TEST() 311 EXPECT_EQ(s150->AsStruct()->element_types()[0], p100); in TEST() 359 EXPECT_TRUE(s150->AsStruct()); in TEST() 360 EXPECT_EQ(s150->AsStruct()->element_types()[0], p200); in TEST() 362 EXPECT_TRUE(s250->AsStruct()); in TEST() 363 EXPECT_EQ(s250->AsStruct()->element_types()[0], p100); in TEST()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | constant_manager_test.cpp | 44 StructConstant struct_const_1(struct_type_1->AsStruct()); in TEST_F() 50 StructConstant struct_const_2(struct_type_2->AsStruct()); in TEST_F() 71 NullConstant struct_const_1(struct_type_1->AsStruct()); in TEST_F() 78 NullConstant struct_const_2(struct_type_2->AsStruct()); in TEST_F()
|
D | type_manager_test.cpp | 310 EXPECT_TRUE(s150->AsStruct()); in TEST() 311 EXPECT_EQ(s150->AsStruct()->element_types()[0], p100); in TEST() 359 EXPECT_TRUE(s150->AsStruct()); in TEST() 360 EXPECT_EQ(s150->AsStruct()->element_types()[0], p200); in TEST() 362 EXPECT_TRUE(s250->AsStruct()); in TEST() 363 EXPECT_EQ(s250->AsStruct()->element_types()[0], p100); in TEST()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-sizeof-expression.cpp | 24 S AsStruct() { return {}; } in AsStruct() function 29 S AsStruct() { return {}; } in AsStruct() function 263 struct S A = AsStruct(), B = AsStruct(); in Test6() 301 sum += sizeof(AsStruct()); in ValidExpressions() 302 sum += sizeof(M{}.AsStruct()); in ValidExpressions()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_add_composite_inserts.cpp | 205 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer() 206 type.AsStruct()->element_types().end(), in ContainsPointer() 223 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray() 224 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
|
D | transformation_add_copy_memory.cpp | 195 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory() 196 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
|
D | transformation_add_type_struct.cpp | 51 if (type->AsStruct() && in IsApplicable()
|
D | transformation_composite_construct.cpp | 77 if (composite_type->AsStruct() && in IsApplicable() 79 *composite_type->AsStruct())) { in IsApplicable()
|
D | transformation_propagate_instruction_up.cpp | 42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers() 43 type.AsStruct()->element_types().end(), in ContainsPointers()
|
D | transformation_add_opphi_synonym.cpp | 180 type->AsStruct()) { in CheckTypeIsAllowed()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_add_composite_inserts.cpp | 205 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer() 206 type.AsStruct()->element_types().end(), in ContainsPointer() 223 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray() 224 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
|
D | transformation_add_copy_memory.cpp | 195 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory() 196 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
|
D | transformation_add_type_struct.cpp | 51 if (type->AsStruct() && in IsApplicable()
|
D | transformation_composite_construct.cpp | 77 if (composite_type->AsStruct() && in IsApplicable() 79 *composite_type->AsStruct())) { in IsApplicable()
|
D | transformation_propagate_instruction_up.cpp | 42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers() 43 type.AsStruct()->element_types().end(), in ContainsPointers()
|
D | transformation_add_opphi_synonym.cpp | 180 type->AsStruct()) { in CheckTypeIsAllowed()
|
/external/deqp-deps/amber/src/ |
D | type.cc | 37 Struct* Type::AsStruct() { in AsStruct() function in amber::type::Type 49 const Struct* Type::AsStruct() const { in AsStruct() function in amber::type::Type
|
D | type.h | 104 Struct* AsStruct(); 108 const Struct* AsStruct() const; 254 auto s = b->AsStruct(); in Equal()
|
D | format.cc | 165 align = CalcStructBaseAlignmentInBytes(t->AsStruct()); in CalcArrayBaseAlignmentInBytes() 227 uint32_t base = CalcStructBaseAlignmentInBytes(t->AsStruct()); in CalcTypeBaseAlignmentInBytes() 258 auto s = type->AsStruct(); in AddSegmentsForType()
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_struct_test.cc | 41 auto s = type->AsStruct(); in TEST_F() 101 auto s = type->AsStruct(); in TEST_F() 271 auto s = type->AsStruct(); in TEST_F() 309 auto s = type->AsStruct(); in TEST_F() 359 auto s = type->AsStruct(); in TEST_F() 421 auto s = type->AsStruct(); in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | pass.cpp | 128 original_type->AsStruct()) { in GenerateCopy() 129 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
|
D | type_manager.cpp | 338 const Struct* structTy = type->AsStruct(); in GetTypeInstruction() 476 if (const Struct* structTy = type->AsStruct()) { in AttachDecorations() 576 const Struct* struct_ty = type.AsStruct(); in RebuildType() 583 Struct* rebuilt_struct = rebuilt_ty->AsStruct(); in RebuildType() 909 if (Struct* st = type->AsStruct()) { in AttachDecoration() 924 if (const Struct* struct_type = parent_type->AsStruct()) { in GetMemberType() 960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() 1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | pass.cpp | 128 original_type->AsStruct()) { in GenerateCopy() 129 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
|
D | type_manager.cpp | 338 const Struct* structTy = type->AsStruct(); in GetTypeInstruction() 476 if (const Struct* structTy = type->AsStruct()) { in AttachDecorations() 576 const Struct* struct_ty = type.AsStruct(); in RebuildType() 583 Struct* rebuilt_struct = rebuilt_ty->AsStruct(); in RebuildType() 909 if (Struct* st = type->AsStruct()) { in AttachDecoration() 924 if (const Struct* struct_type = parent_type->AsStruct()) { in GetMemberType() 960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() 1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
|