/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 476 Instruction* pointee_type = GetDef(base_type->GetSingleWordInOperand(1)); in ClampIndicesForAccessChain() local 488 switch (pointee_type->opcode()) { in ClampIndicesForAccessChain() 492 const uint32_t count = pointee_type->GetSingleWordOperand(2); in ClampIndicesForAccessChain() 494 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() 500 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() 502 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() 520 const auto num_members = pointee_type->NumInOperands(); in ClampIndicesForAccessChain() 529 << pointee_type->PrettyPrint( in ClampIndicesForAccessChain() 535 pointee_type = GetDef(pointee_type->GetSingleWordInOperand( in ClampIndicesForAccessChain() 547 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() [all …]
|
D | copy_prop_arrays.cpp | 480 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType() 481 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType() 512 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses() 521 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses() local 537 type_mgr->GetMemberType(pointee_type, access_chain); in CanUpdateUses() 799 type = type->AsPointer()->pointee_type(); in GetNumberOfMembers()
|
D | type_manager.cpp | 365 uint32_t subtype = GetTypeInstruction(pointer->pointee_type()); in GetTypeInstruction() 596 const Type* ele_ty = pointer_ty->pointee_type(); in RebuildType() 969 const ForwardPointer* pointee_type = in ReplaceForwardPointers() local 970 type->AsPointer()->pointee_type()->AsForwardPointer(); in ReplaceForwardPointers() 971 if (pointee_type) { in ReplaceForwardPointers() 972 type->AsPointer()->SetPointeeType(pointee_type->target_pointer()); in ReplaceForwardPointers() 1026 const Type* pointee_type = type->AsPointer()->pointee_type(); in ReplaceType() local 1027 if (pointee_type == original_type) { in ReplaceType()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 476 Instruction* pointee_type = GetDef(base_type->GetSingleWordInOperand(1)); in ClampIndicesForAccessChain() local 488 switch (pointee_type->opcode()) { in ClampIndicesForAccessChain() 492 const uint32_t count = pointee_type->GetSingleWordOperand(2); in ClampIndicesForAccessChain() 494 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() 500 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() 502 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() 520 const auto num_members = pointee_type->NumInOperands(); in ClampIndicesForAccessChain() 529 << pointee_type->PrettyPrint( in ClampIndicesForAccessChain() 535 pointee_type = GetDef(pointee_type->GetSingleWordInOperand( in ClampIndicesForAccessChain() 547 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() [all …]
|
D | copy_prop_arrays.cpp | 480 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType() 481 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType() 512 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses() 521 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses() local 537 type_mgr->GetMemberType(pointee_type, access_chain); in CanUpdateUses() 799 type = type->AsPointer()->pointee_type(); in GetNumberOfMembers()
|
D | type_manager.cpp | 365 uint32_t subtype = GetTypeInstruction(pointer->pointee_type()); in GetTypeInstruction() 596 const Type* ele_ty = pointer_ty->pointee_type(); in RebuildType() 969 const ForwardPointer* pointee_type = in ReplaceForwardPointers() local 970 type->AsPointer()->pointee_type()->AsForwardPointer(); in ReplaceForwardPointers() 971 if (pointee_type) { in ReplaceForwardPointers() 972 type->AsPointer()->SetPointeeType(pointee_type->target_pointer()); in ReplaceForwardPointers() 1026 const Type* pointee_type = type->AsPointer()->pointee_type(); in ReplaceType() local 1027 if (pointee_type == original_type) { in ReplaceType()
|
/third_party/spirv-tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 476 Instruction* pointee_type = GetDef(base_type->GetSingleWordInOperand(1)); in ClampIndicesForAccessChain() local 488 switch (pointee_type->opcode()) { in ClampIndicesForAccessChain() 492 const uint32_t count = pointee_type->GetSingleWordOperand(2); in ClampIndicesForAccessChain() 494 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() 500 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain() 502 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() 520 const auto num_members = pointee_type->NumInOperands(); in ClampIndicesForAccessChain() 529 << pointee_type->PrettyPrint( in ClampIndicesForAccessChain() 535 pointee_type = GetDef(pointee_type->GetSingleWordInOperand( in ClampIndicesForAccessChain() 547 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain() [all …]
|
D | eliminate_dead_input_components_pass.cpp | 58 const analysis::Array* arr_type = ptr_type->pointee_type()->AsArray(); in Process() 76 const analysis::Struct* struct_type = ptr_type->pointee_type()->AsStruct(); in Process() 135 const analysis::Array* arr_ty = ptr_type->pointee_type()->AsArray(); in ChangeArrayLength() 160 const analysis::Struct* struct_ty = ptr_type->pointee_type()->AsStruct(); in ChangeStructLength()
|
D | copy_prop_arrays.cpp | 473 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType() 474 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType() 505 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses() 514 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses() local 529 if (pointee_type->kind() == analysis::Type::kStruct) { in CanUpdateUses() 536 type_mgr->GetMemberType(pointee_type, access_chain); in CanUpdateUses() 798 type = type->AsPointer()->pointee_type(); in GetNumberOfMembers()
|
D | type_manager.cpp | 364 uint32_t subtype = GetTypeInstruction(pointer->pointee_type()); in GetTypeInstruction() 596 const Type* ele_ty = pointer_ty->pointee_type(); in RebuildType() 968 const ForwardPointer* pointee_type = in ReplaceForwardPointers() local 969 type->AsPointer()->pointee_type()->AsForwardPointer(); in ReplaceForwardPointers() 970 if (pointee_type) { in ReplaceForwardPointers() 971 type->AsPointer()->SetPointeeType(pointee_type->target_pointer()); in ReplaceForwardPointers() 1025 const Type* pointee_type = type->AsPointer()->pointee_type(); in ReplaceType() local 1026 if (pointee_type == original_type) { in ReplaceType()
|
/third_party/spirv-tools/source/val/ |
D | validate_function.cpp | 189 const auto pointee_type = _.FindDef(pointee_type_id); in ValidateFunctionParameter() local 190 if (SpvOpTypePointer == pointee_type->opcode() && in ValidateFunctionParameter() 191 pointee_type->GetOperandAs<uint32_t>(1u) == in ValidateFunctionParameter()
|
D | validate_type.cpp | 526 const auto pointee_type = _.FindDef(pointee_type_id); in ValidateTypeForwardPointer() local 527 if (!pointee_type || pointee_type->opcode() != SpvOpTypeStruct) { in ValidateTypeForwardPointer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_function.cpp | 189 const auto pointee_type = _.FindDef(pointee_type_id); in ValidateFunctionParameter() local 190 if (SpvOpTypePointer == pointee_type->opcode() && in ValidateFunctionParameter() 191 pointee_type->GetOperandAs<uint32_t>(1u) == in ValidateFunctionParameter()
|
D | validate_type.cpp | 541 const auto pointee_type = _.FindDef(pointee_type_id); in ValidateTypeForwardPointer() local 542 if (!pointee_type || pointee_type->opcode() != SpvOpTypeStruct) { in ValidateTypeForwardPointer()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_function.cpp | 189 const auto pointee_type = _.FindDef(pointee_type_id); in ValidateFunctionParameter() local 190 if (SpvOpTypePointer == pointee_type->opcode() && in ValidateFunctionParameter() 191 pointee_type->GetOperandAs<uint32_t>(1u) == in ValidateFunctionParameter()
|
D | validate_type.cpp | 541 const auto pointee_type = _.FindDef(pointee_type_id); in ValidateTypeForwardPointer() local 542 if (!pointee_type || pointee_type->opcode() != SpvOpTypeStruct) { in ValidateTypeForwardPointer()
|
/third_party/spirv-tools/test/opt/ |
D | type_manager_test.cpp | 323 EXPECT_EQ(p100->AsPointer()->pointee_type(), s150); in TEST() 369 EXPECT_EQ(p100->AsPointer()->pointee_type(), s150); in TEST() 372 EXPECT_EQ(p200->AsPointer()->pointee_type(), s250); in TEST() 507 EXPECT_EQ(p100->AsPointer()->pointee_type(), in TEST() 508 p200->AsPointer()->pointee_type()); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | type_manager_test.cpp | 308 EXPECT_EQ(p100->AsPointer()->pointee_type(), s150); in TEST() 354 EXPECT_EQ(p100->AsPointer()->pointee_type(), s150); in TEST() 357 EXPECT_EQ(p200->AsPointer()->pointee_type(), s250); in TEST() 492 EXPECT_EQ(p100->AsPointer()->pointee_type(), in TEST() 493 p200->AsPointer()->pointee_type()); in TEST()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | ty.rs | 1044 let mut pointee = ty.pointee_type().unwrap(); in from_clang_ty() 1047 canonical_ty.pointee_type().unwrap(); in from_clang_ty() 1059 let pointee = ty.pointee_type().expect("Not valid Type?"); in from_clang_ty() 1068 ty.pointee_type().unwrap(), in from_clang_ty() 1119 let pointee = inner.pointee_type().unwrap(); in from_clang_ty()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | type_manager_test.cpp | 308 EXPECT_EQ(p100->AsPointer()->pointee_type(), s150); in TEST() 354 EXPECT_EQ(p100->AsPointer()->pointee_type(), s150); in TEST() 357 EXPECT_EQ(p200->AsPointer()->pointee_type(), s250); in TEST() 492 EXPECT_EQ(p100->AsPointer()->pointee_type(), in TEST() 493 p200->AsPointer()->pointee_type()); in TEST()
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
D | common.cpp | 217 const auto pointee_type = cast< in make_kernel_args() local 221 dl.getABITypeAlignment(pointee_type), in make_kernel_args()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_add_global_variable.cpp | 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_add_global_variable.cpp | 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_global_variable.cpp | 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
D | fuzzer_pass.cpp | 521 auto pointee_type = inst.GetSingleWordInOperand(1); in GetAvailableBasicTypesAndPointers() local 523 basic_types.count(pointee_type)) { in GetAvailableBasicTypesAndPointers() 527 basic_type_to_pointers.at(pointee_type).push_back(inst.result_id()); in GetAvailableBasicTypesAndPointers()
|