Home
last modified time | relevance | path

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

1234

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_add_local_variables.cpp52 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()
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_store.cpp45 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()
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_load.cpp48 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()
Dfuzzer_pass.cpp687 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateLocalVariable() local
689 (void)pointer_type; in FindOrCreateLocalVariable()
690 assert(pointer_type && pointer_type->AsPointer() && in FindOrCreateLocalVariable()
691 pointer_type->AsPointer()->storage_class() == in FindOrCreateLocalVariable()
730 auto pointer_type = GetIRContext()->get_type_mgr()->GetType(pointer_type_id); in FindOrCreateGlobalVariable() local
732 (void)pointer_type; in FindOrCreateGlobalVariable()
734 pointer_type && pointer_type->AsPointer() && in FindOrCreateGlobalVariable()
735 (pointer_type->AsPointer()->storage_class() == SpvStorageClassPrivate || in FindOrCreateGlobalVariable()
736 pointer_type->AsPointer()->storage_class() == in FindOrCreateGlobalVariable()
Dfuzzer_pass_add_access_chains.cpp98 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()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_local_variables.cpp54 uint32_t pointer_type; in Apply() local
62 pointer_type = GetFuzzerContext()->GetFreshId(); in Apply()
64 pointer_type, SpvStorageClassFunction, basic_type)); in Apply()
65 available_pointers_to_basic_type.push_back(pointer_type); in Apply()
68 pointer_type = in Apply()
73 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_store.cpp46 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local
47 assert(pointer_type && "Type id must be defined."); in IsApplicable()
48 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable()
96 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { 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()
324 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
Dtransformation_load.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()
Dfuzzer_pass.cpp660 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()
Dfuzzer_pass_add_access_chains.cpp100 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
102 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
183 pointer_type->GetSingleWordInOperand(0))); in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_local_variables.cpp54 uint32_t pointer_type; in Apply() local
62 pointer_type = GetFuzzerContext()->GetFreshId(); in Apply()
64 pointer_type, SpvStorageClassFunction, basic_type)); in Apply()
65 available_pointers_to_basic_type.push_back(pointer_type); in Apply()
68 pointer_type = in Apply()
73 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_store.cpp46 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local
47 assert(pointer_type && "Type id must be defined."); in IsApplicable()
48 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable()
96 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { 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()
324 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
Dtransformation_load.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()
Dfuzzer_pass.cpp660 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()
Dfuzzer_pass_add_access_chains.cpp100 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
102 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
183 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/llvm-project/mlir/utils/gdb-scripts/
Dprettyprinters.py39 pointer_type = gdb.lookup_type('mlir::Type').pointer()
40 elements = (self.val.address + 1).cast(pointer_type)
68 pointer_type = gdb.lookup_type('mlir::Location').pointer()
69 elements = (self.val.address + 1).cast(pointer_type)
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dcopy_prop_arrays.cpp474 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 …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp474 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 …]

1234