Home
last modified time | relevance | path

Searched refs:pointer_type (Results 1 – 25 of 72) sorted by relevance

123

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_local_variables.cpp57 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()
Dtransformation_add_global_variable.cpp59 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()
Dtransformation_access_chain.cpp65 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()
Dtransformation_store.cpp49 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()
Dfuzzer_pass.cpp704 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()
Dtransformation_load.cpp53 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()
Dfuzzer_pass_add_access_chains.cpp99 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
101 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
182 pointer_type->GetSingleWordInOperand(0))); in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_add_local_variables.cpp57 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()
Dtransformation_add_global_variable.cpp59 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()
Dtransformation_access_chain.cpp65 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()
Dtransformation_store.cpp49 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()
Dfuzzer_pass.cpp704 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()
Dtransformation_load.cpp53 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()
Dfuzzer_pass_add_access_chains.cpp99 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
101 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
182 pointer_type->GetSingleWordInOperand(0))); in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_local_variables.cpp57 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()
Dtransformation_add_global_variable.cpp59 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()
Dtransformation_access_chain.cpp65 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()
Dtransformation_store.cpp49 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()
Dfuzzer_pass.cpp704 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()
Dtransformation_load.cpp53 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()
Dfuzzer_pass_add_access_chains.cpp99 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
101 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
182 pointer_type->GetSingleWordInOperand(0))); in Apply()
/external/elfutils/tests/
Drun-peel-type.sh28 v raw type pointer_type
40 v raw type pointer_type
52 v raw type pointer_type
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp478 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 …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp478 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 …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dcopy_prop_arrays.cpp478 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 …]

123