Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_local_variables.cpp53 uint32_t pointer_type; in Apply() local
61 pointer_type = GetFuzzerContext()->GetFreshId(); in Apply()
63 pointer_type, SpvStorageClassFunction, base_type)); in Apply()
64 available_pointers_to_base_type.push_back(pointer_type); in Apply()
67 pointer_type = in Apply()
72 GetFuzzerContext()->GetFreshId(), pointer_type, function.result_id(), in Apply()
Dtransformation_access_chain.cpp55 auto pointer_type = context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local
56 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable()
98 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in IsApplicable()
133 pointer_type->GetSingleWordInOperand(0))) != 0; in IsApplicable()
151 auto pointer_type = context->get_def_use_mgr()->GetDef( in Apply() local
153 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
170 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
Dtransformation_store.cpp46 auto pointer_type = 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()
53 if (pointer_type->GetSingleWordInOperand(0) == SpvStorageClassInput) { in IsApplicable()
95 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { in IsApplicable()
Dtransformation_add_global_variable.cpp48 auto pointer_type = type->AsPointer(); in IsApplicable() local
49 if (!pointer_type) { in IsApplicable()
53 if (pointer_type->storage_class() != SpvStorageClassPrivate) { in IsApplicable()
67 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
Dtransformation_load.cpp50 auto pointer_type = context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local
51 assert(pointer_type && "Type id must be defined."); in IsApplicable()
52 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable()
Dfuzzer_pass_add_access_chains.cpp94 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
96 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
160 pointer_type->GetSingleWordInOperand(0))); in Apply()
Dtransformation_replace_id_with_synonym.cpp103 auto pointer_type = in UseCanBeReplacedWithSynonym() local
105 assert(pointer_type->AsPointer()); in UseCanBeReplacedWithSynonym()
107 pointer_type->AsPointer()->pointee_type(); in UseCanBeReplacedWithSynonym()
/external/angle/third_party/spirv-tools/src/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_access_chain.cpp54 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local
55 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable()
97 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in IsApplicable()
132 pointer_type->GetSingleWordInOperand(0))) != 0; in IsApplicable()
151 auto pointer_type = ir_context->get_def_use_mgr()->GetDef( in Apply() local
153 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
170 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
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()
53 if (pointer_type->GetSingleWordInOperand(0) == SpvStorageClassInput) { in IsApplicable()
96 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { in IsApplicable()
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_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_add_access_chains.cpp95 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
97 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
161 pointer_type->GetSingleWordInOperand(0))); in Apply()
Dtransformation_replace_id_with_synonym.cpp106 auto pointer_type = in UseCanBeReplacedWithSynonym() local
108 assert(pointer_type->AsPointer()); in UseCanBeReplacedWithSynonym()
110 pointer_type->AsPointer()->pointee_type(); in UseCanBeReplacedWithSynonym()
/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_access_chain.cpp54 auto pointer_type = ir_context->get_def_use_mgr()->GetDef(pointer->type_id()); in IsApplicable() local
55 if (pointer_type->opcode() != SpvOpTypePointer) { in IsApplicable()
97 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in IsApplicable()
132 pointer_type->GetSingleWordInOperand(0))) != 0; in IsApplicable()
151 auto pointer_type = ir_context->get_def_use_mgr()->GetDef( in Apply() local
153 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
170 static_cast<SpvStorageClass>(pointer_type->GetSingleWordInOperand(0))); in Apply()
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()
53 if (pointer_type->GetSingleWordInOperand(0) == SpvStorageClassInput) { in IsApplicable()
96 if (pointer_type->GetSingleWordInOperand(1) != value->type_id()) { in IsApplicable()
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_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_add_access_chains.cpp95 auto pointer_type = GetIRContext()->get_def_use_mgr()->GetDef( in Apply() local
97 uint32_t subobject_type_id = pointer_type->GetSingleWordInOperand(1); in Apply()
161 pointer_type->GetSingleWordInOperand(0))); in Apply()
Dtransformation_replace_id_with_synonym.cpp106 auto pointer_type = in UseCanBeReplacedWithSynonym() local
108 assert(pointer_type->AsPointer()); in UseCanBeReplacedWithSynonym()
110 pointer_type->AsPointer()->pointee_type(); in UseCanBeReplacedWithSynonym()
/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/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp466 analysis::Pointer* pointer_type = type_mgr->GetType(type_id)->AsPointer(); in IsPointerToArrayType() local
467 if (pointer_type) { in IsPointerToArrayType()
468 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType()
469 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType()
497 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local
498 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses()
506 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local
507 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses()
525 pointer_type->storage_class()); in CanUpdateUses()
677 Instruction* pointer_type = in UpdateUses() local
[all …]
/external/angle/third_party/spirv-tools/src/source/opt/
Dcopy_prop_arrays.cpp466 analysis::Pointer* pointer_type = type_mgr->GetType(type_id)->AsPointer(); in IsPointerToArrayType() local
467 if (pointer_type) { in IsPointerToArrayType()
468 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType()
469 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType()
497 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local
498 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses()
506 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local
507 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses()
525 pointer_type->storage_class()); in CanUpdateUses()
677 Instruction* pointer_type = in UpdateUses() local
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp466 analysis::Pointer* pointer_type = type_mgr->GetType(type_id)->AsPointer(); in IsPointerToArrayType() local
467 if (pointer_type) { in IsPointerToArrayType()
468 return pointer_type->pointee_type()->kind() == analysis::Type::kArray || in IsPointerToArrayType()
469 pointer_type->pointee_type()->kind() == analysis::Type::kImage; in IsPointerToArrayType()
497 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local
498 uint32_t new_type_id = type_mgr->GetId(pointer_type->pointee_type()); in CanUpdateUses()
506 analysis::Pointer* pointer_type = type->AsPointer(); in CanUpdateUses() local
507 const analysis::Type* pointee_type = pointer_type->pointee_type(); in CanUpdateUses()
525 pointer_type->storage_class()); in CanUpdateUses()
677 Instruction* pointer_type = in UpdateUses() local
[all …]

123