Home
last modified time | relevance | path

Searched refs:pointee_type (Results 1 – 25 of 59) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgraphics_robust_access_pass.cpp476 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 …]
Dcopy_prop_arrays.cpp480 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()
Dtype_manager.cpp365 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/
Dgraphics_robust_access_pass.cpp476 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 …]
Dcopy_prop_arrays.cpp480 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()
Dtype_manager.cpp365 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/
Dgraphics_robust_access_pass.cpp476 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 …]
Deliminate_dead_input_components_pass.cpp58 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()
Dcopy_prop_arrays.cpp473 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()
Dtype_manager.cpp364 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/
Dvalidate_function.cpp189 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()
Dvalidate_type.cpp526 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/
Dvalidate_function.cpp189 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()
Dvalidate_type.cpp541 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/
Dvalidate_function.cpp189 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()
Dvalidate_type.cpp541 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/
Dtype_manager_test.cpp323 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/
Dtype_manager_test.cpp308 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/
Dty.rs1044 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/
Dtype_manager_test.cpp308 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/
Dcommon.cpp217 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/
Dtransformation_add_global_variable.cpp86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_global_variable.cpp86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_global_variable.cpp86 if (pointer_type->pointee_type() != constant_id[0]->type()) { in IsApplicable()
Dfuzzer_pass.cpp521 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()

123