| /third_party/spirv-tools/source/fuzz/ |
| D | fuzzer_pass_add_local_variables.cpp | 52 uint32_t pointer_type; in Apply() local 60 pointer_type = GetFuzzerContext()->GetFreshId(); in Apply() 62 pointer_type, SpvStorageClassFunction, basic_type)); in Apply() 63 available_pointers_to_basic_type.push_back(pointer_type); in Apply() 66 pointer_type = in Apply() 71 GetFuzzerContext()->GetFreshId(), pointer_type, function.result_id(), in Apply()
|
| D | transformation_add_global_variable.cpp | 59 auto pointer_type = type->AsPointer(); in IsApplicable() local 60 if (!pointer_type) { in IsApplicable() 64 if (pointer_type->storage_class() != storage_class) { in IsApplicable() 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
| D | transformation_store.cpp | 45 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 46 assert(pointer_type && "Type id must be defined."); in IsApplicable() 47 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 95 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { in IsApplicable()
|
| D | transformation_access_chain.cpp | 65 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 66 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 108 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in IsApplicable() 206 pointer_type->GetSingleWordInOperand(0))) != 0; in IsApplicable() 225 auto pointer_type = ir_context->get_def_use_mgr()->GetDef( in Apply() local 227 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply() 337 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
|
| D | fuzzer_pass.cpp | 660 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateLocalVariable() local 662 (void)pointer_type; in FindOrCreateLocalVariable() 663 assert(pointer_type && pointer_type->AsPointer() && in FindOrCreateLocalVariable() 664 pointer_type->AsPointer()->storage_class() == in FindOrCreateLocalVariable() 703 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateGlobalVariable() local 705 (void)pointer_type; in FindOrCreateGlobalVariable() 707 pointer_type && pointer_type->AsPointer() && in FindOrCreateGlobalVariable() 708 (pointer_type->AsPointer()->storage_class() == SpvStorageClassPrivate || in FindOrCreateGlobalVariable() 709 pointer_type->AsPointer()->storage_class() == in FindOrCreateGlobalVariable()
|
| D | transformation_load.cpp | 48 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 49 assert(pointer_type && "Type id must be defined."); in IsApplicable() 50 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable()
|
| D | fuzzer_pass_add_access_chains.cpp | 98 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local 100 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply() 181 pointer_type->GetSingleWordInOperand(0))); in Apply()
|
| /third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
| D | fuzzer_pass_add_local_variables.cpp | 57 uint32_t pointer_type; in Apply() local 65 pointer_type = GetFuzzerContext()->GetFreshId(); in Apply() 67 pointer_type, SpvStorageClassFunction, basic_type)); in Apply() 68 available_pointers_to_basic_type.push_back(pointer_type); in Apply() 71 pointer_type = in Apply() 76 GetFuzzerContext()->GetFreshId(), pointer_type, function.result_id(), in Apply()
|
| D | transformation_add_global_variable.cpp | 59 auto pointer_type = type->AsPointer(); in IsApplicable() local 60 if (!pointer_type) { in IsApplicable() 64 if (pointer_type->storage_class() != storage_class) { in IsApplicable() 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
| D | transformation_access_chain.cpp | 65 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 66 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 108 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in IsApplicable() 206 pointer_type->GetSingleWordInOperand(0))) != 0; in IsApplicable() 225 auto pointer_type = ir_context->get_def_use_mgr()->GetDef( in Apply() local 227 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply() 337 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
|
| D | transformation_store.cpp | 49 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 50 assert(pointer_type && "Type id must be defined."); in IsApplicable() 51 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 103 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { in IsApplicable() 189 pointer_type->GetSingleWordInOperand(0)))) { in IsApplicable()
|
| D | fuzzer_pass.cpp | 704 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateLocalVariable() local 706 (void)pointer_type; in FindOrCreateLocalVariable() 707 assert(pointer_type && pointer_type->AsPointer() && in FindOrCreateLocalVariable() 708 pointer_type->AsPointer()->storage_class() == in FindOrCreateLocalVariable() 747 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateGlobalVariable() local 749 (void)pointer_type; in FindOrCreateGlobalVariable() 751 pointer_type && pointer_type->AsPointer() && in FindOrCreateGlobalVariable() 752 (pointer_type->AsPointer()->storage_class() == SpvStorageClassPrivate || in FindOrCreateGlobalVariable() 753 pointer_type->AsPointer()->storage_class() == in FindOrCreateGlobalVariable()
|
| D | transformation_load.cpp | 53 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 54 assert(pointer_type && "Type id must be defined."); in IsApplicable() 55 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 163 pointer_type->GetSingleWordInOperand(0)))) { in IsApplicable()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
| D | fuzzer_pass_add_local_variables.cpp | 57 uint32_t pointer_type; in Apply() local 65 pointer_type = GetFuzzerContext()->GetFreshId(); in Apply() 67 pointer_type, SpvStorageClassFunction, basic_type)); in Apply() 68 available_pointers_to_basic_type.push_back(pointer_type); in Apply() 71 pointer_type = in Apply() 76 GetFuzzerContext()->GetFreshId(), pointer_type, function.result_id(), in Apply()
|
| D | transformation_add_global_variable.cpp | 59 auto pointer_type = type->AsPointer(); in IsApplicable() local 60 if (!pointer_type) { in IsApplicable() 64 if (pointer_type->storage_class() != storage_class) { in IsApplicable() 86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
|
| D | transformation_access_chain.cpp | 65 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 66 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 108 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in IsApplicable() 206 pointer_type->GetSingleWordInOperand(0))) != 0; in IsApplicable() 225 auto pointer_type = ir_context->get_def_use_mgr()->GetDef( in Apply() local 227 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply() 337 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
|
| D | transformation_store.cpp | 49 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 50 assert(pointer_type && "Type id must be defined."); in IsApplicable() 51 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 103 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { in IsApplicable() 189 pointer_type->GetSingleWordInOperand(0)))) { in IsApplicable()
|
| D | fuzzer_pass.cpp | 704 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateLocalVariable() local 706 (void)pointer_type; in FindOrCreateLocalVariable() 707 assert(pointer_type && pointer_type->AsPointer() && in FindOrCreateLocalVariable() 708 pointer_type->AsPointer()->storage_class() == in FindOrCreateLocalVariable() 747 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateGlobalVariable() local 749 (void)pointer_type; in FindOrCreateGlobalVariable() 751 pointer_type && pointer_type->AsPointer() && in FindOrCreateGlobalVariable() 752 (pointer_type->AsPointer()->storage_class() == SpvStorageClassPrivate || in FindOrCreateGlobalVariable() 753 pointer_type->AsPointer()->storage_class() == in FindOrCreateGlobalVariable()
|
| D | transformation_load.cpp | 53 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local 54 assert(pointer_type && "Type id must be defined."); in IsApplicable() 55 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable() 163 pointer_type->GetSingleWordInOperand(0)))) { in IsApplicable()
|
| /third_party/elfutils/tests/ |
| D | run-peel-type.sh | 28 v raw type pointer_type 40 v raw type pointer_type 52 v raw type pointer_type
|
| /third_party/skia/third_party/externals/spirv-tools/source/opt/ |
| D | copy_prop_arrays.cpp | 478 analysis::Pointer* pointer_type = type_mgr->GetType(type_id)->AsPointer(); in IsPointerToArrayType() local 479 if (pointer_type) { in IsPointerToArrayType() 480 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType() 481 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType() 511 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local 512 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses() 520 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local 521 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses() 539 pointer_type->storage_class()); in CanUpdateUses() 737 Instruction* pointer_type = in UpdateUses() local [all …]
|
| D | convert_to_sampled_image_pass.cpp | 121 auto* pointer_type = type->AsPointer(); in GetVariableType() local 122 if (!pointer_type) return nullptr; in GetVariableType() 124 return pointer_type->pointee_type(); in GetVariableType() 131 auto* pointer_type = type->AsPointer(); in GetStorageClass() local 132 if (!pointer_type) return SpvStorageClassMax; in GetStorageClass() 134 return pointer_type->storage_class(); in GetStorageClass()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| D | copy_prop_arrays.cpp | 478 analysis::Pointer* pointer_type = type_mgr->GetType(type_id)->AsPointer(); in IsPointerToArrayType() local 479 if (pointer_type) { in IsPointerToArrayType() 480 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType() 481 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType() 511 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local 512 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses() 520 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local 521 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses() 539 pointer_type->storage_class()); in CanUpdateUses() 737 Instruction* pointer_type = in UpdateUses() local [all …]
|
| D | convert_to_sampled_image_pass.cpp | 121 auto* pointer_type = type->AsPointer(); in GetVariableType() local 122 if (!pointer_type) return nullptr; in GetVariableType() 124 return pointer_type->pointee_type(); in GetVariableType() 131 auto* pointer_type = type->AsPointer(); in GetStorageClass() local 132 if (!pointer_type) return SpvStorageClassMax; in GetStorageClass() 134 return pointer_type->storage_class(); in GetStorageClass()
|
| /third_party/spirv-tools/source/opt/ |
| D | copy_prop_arrays.cpp | 474 analysis::Pointer* pointer_type = type_mgr->GetType(type_id)->AsPointer(); in IsPointerToArrayType() local 475 if (pointer_type) { in IsPointerToArrayType() 476 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType() 477 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType() 507 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local 508 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses() 516 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local 517 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses() 535 pointer_type->storage_class()); in CanUpdateUses() 734 Instruction* pointer_type = in UpdateUses() local [all …]
|