Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp204 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
205 type.AsStruct()->element_types().end(), in ContainsPointer()
222 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
223 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_add_type_struct.cpp53 if (type->AsStruct() && in IsApplicable()
71 if (type->AsStruct()) { in Apply()
Dtransformation_add_copy_memory.cpp200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
Dtransformation_composite_construct.cpp77 if (composite_type->AsStruct() && in IsApplicable()
79 *composite_type->AsStruct())) { in IsApplicable()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp203 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
204 type.AsStruct()->element_types().end(), in ContainsPointer()
221 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
222 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_add_type_struct.cpp53 if (type->AsStruct() && in IsApplicable()
71 if (type->AsStruct()) { in Apply()
Dtransformation_add_copy_memory.cpp200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
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()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp204 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
205 type.AsStruct()->element_types().end(), in ContainsPointer()
222 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
223 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_add_type_struct.cpp53 if (type->AsStruct() && in IsApplicable()
71 if (type->AsStruct()) { in Apply()
Dtransformation_add_copy_memory.cpp200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
Dtransformation_composite_construct.cpp77 if (composite_type->AsStruct() && in IsApplicable()
79 *composite_type->AsStruct())) { in IsApplicable()
/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()

1234