Home
last modified time | relevance | path

Searched refs:AsStruct (Results 1 – 25 of 47) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dconstant_manager_test.cpp44 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()
Dtype_manager_test.cpp310 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/
Dconstant_manager_test.cpp44 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()
Dtype_manager_test.cpp310 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/
Dbugprone-sizeof-expression.cpp24 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/
Dfuzzer_pass_add_composite_inserts.cpp205 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()
Dtransformation_add_copy_memory.cpp195 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
196 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
Dtransformation_add_type_struct.cpp51 if (type->AsStruct() && in IsApplicable()
Dtransformation_composite_construct.cpp77 if (composite_type->AsStruct() && in IsApplicable()
79 *composite_type->AsStruct())) { in IsApplicable()
Dtransformation_propagate_instruction_up.cpp42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers()
43 type.AsStruct()->element_types().end(), in ContainsPointers()
Dtransformation_add_opphi_synonym.cpp180 type->AsStruct()) { in CheckTypeIsAllowed()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp205 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()
Dtransformation_add_copy_memory.cpp195 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
196 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
Dtransformation_add_type_struct.cpp51 if (type->AsStruct() && in IsApplicable()
Dtransformation_composite_construct.cpp77 if (composite_type->AsStruct() && in IsApplicable()
79 *composite_type->AsStruct())) { in IsApplicable()
Dtransformation_propagate_instruction_up.cpp42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers()
43 type.AsStruct()->element_types().end(), in ContainsPointers()
Dtransformation_add_opphi_synonym.cpp180 type->AsStruct()) { in CheckTypeIsAllowed()
/external/deqp-deps/amber/src/
Dtype.cc37 Struct* Type::AsStruct() { in AsStruct() function in amber::type::Type
49 const Struct* Type::AsStruct() const { in AsStruct() function in amber::type::Type
Dtype.h104 Struct* AsStruct();
108 const Struct* AsStruct() const;
254 auto s = b->AsStruct(); in Equal()
Dformat.cc165 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/
Dparser_struct_test.cc41 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/
Dpass.cpp128 original_type->AsStruct()) { in GenerateCopy()
129 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
Dtype_manager.cpp338 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/
Dpass.cpp128 original_type->AsStruct()) { in GenerateCopy()
129 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
Dtype_manager.cpp338 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()

12