/external/angle/third_party/spirv-tools/src/source/fuzz/ |
D | transformation_composite_construct.cpp | 57 auto composite_type = in IsApplicable() local 60 if (!fuzzerutil::IsCompositeType(composite_type)) { in IsApplicable() 67 if (composite_type->AsArray() && in IsApplicable() 69 *composite_type->AsArray())) { in IsApplicable() 72 if (composite_type->AsMatrix() && in IsApplicable() 74 *composite_type->AsMatrix())) { in IsApplicable() 77 if (composite_type->AsStruct() && in IsApplicable() 79 *composite_type->AsStruct())) { in IsApplicable() 82 if (composite_type->AsVector() && in IsApplicable() 84 *composite_type->AsVector())) { in IsApplicable() [all …]
|
D | fuzzer_pass.cpp | 455 opt::analysis::Type* composite_type = GetIRContext()->get_type_mgr()->GetType( in FindOrCreateCompositeConstant() local 458 if (composite_type->AsArray()) { in FindOrCreateCompositeConstant() 460 composite_type->AsArray(), constants); in FindOrCreateCompositeConstant() 461 } else if (composite_type->AsMatrix()) { in FindOrCreateCompositeConstant() 463 composite_type->AsMatrix(), constants); in FindOrCreateCompositeConstant() 464 } else if (composite_type->AsStruct()) { in FindOrCreateCompositeConstant() 466 composite_type->AsStruct(), constants); in FindOrCreateCompositeConstant() 467 } else if (composite_type->AsVector()) { in FindOrCreateCompositeConstant() 469 composite_type->AsVector(), constants); in FindOrCreateCompositeConstant()
|
D | transformation_composite_extract.cpp | 67 auto composite_type = in IsApplicable() local 69 if (!composite_type) { in IsApplicable()
|
D | fact_manager.cpp | 308 auto composite_type = in AddFact() local 312 context, composite_type, in AddFact() 975 auto composite_type = in ComputeClosureOfFacts() local 979 if (composite_type->AsArray()) { in ComputeClosureOfFacts() 988 } else if (composite_type->AsMatrix()) { in ComputeClosureOfFacts() 990 composite_type->AsMatrix()->element_count(); in ComputeClosureOfFacts() 991 } else if (composite_type->AsStruct()) { in ComputeClosureOfFacts() 995 assert(composite_type->AsVector()); in ComputeClosureOfFacts() 997 composite_type->AsVector()->element_count(); in ComputeClosureOfFacts()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_composite_construct.cpp | 57 auto composite_type = in IsApplicable() local 60 if (!fuzzerutil::IsCompositeType(composite_type)) { in IsApplicable() 67 if (composite_type->AsArray() && !ComponentsForArrayConstructionAreOK( in IsApplicable() 68 context, *composite_type->AsArray())) { in IsApplicable() 71 if (composite_type->AsMatrix() && !ComponentsForMatrixConstructionAreOK( in IsApplicable() 72 context, *composite_type->AsMatrix())) { in IsApplicable() 75 if (composite_type->AsStruct() && !ComponentsForStructConstructionAreOK( in IsApplicable() 76 context, *composite_type->AsStruct())) { in IsApplicable() 79 if (composite_type->AsVector() && !ComponentsForVectorConstructionAreOK( in IsApplicable() 80 context, *composite_type->AsVector())) { in IsApplicable() [all …]
|
D | fuzzer_pass.cpp | 403 opt::analysis::Type* composite_type = GetIRContext()->get_type_mgr()->GetType( in FindOrCreateCompositeConstant() local 406 if (composite_type->AsArray()) { in FindOrCreateCompositeConstant() 408 composite_type->AsArray(), constants); in FindOrCreateCompositeConstant() 409 } else if (composite_type->AsMatrix()) { in FindOrCreateCompositeConstant() 411 composite_type->AsMatrix(), constants); in FindOrCreateCompositeConstant() 412 } else if (composite_type->AsStruct()) { in FindOrCreateCompositeConstant() 414 composite_type->AsStruct(), constants); in FindOrCreateCompositeConstant() 415 } else if (composite_type->AsVector()) { in FindOrCreateCompositeConstant() 417 composite_type->AsVector(), constants); in FindOrCreateCompositeConstant()
|
D | fuzzer_pass_construct_composites.cpp | 107 auto composite_type = GetIRContext()->get_type_mgr()->GetType( in Apply() local 109 if (auto array_type = composite_type->AsArray()) { in Apply() 112 } else if (auto matrix_type = composite_type->AsMatrix()) { in Apply() 115 } else if (auto struct_type = composite_type->AsStruct()) { in Apply() 119 auto vector_type = composite_type->AsVector(); in Apply()
|
D | fact_manager.cpp | 289 auto composite_type = in AddFact() local 293 context, composite_type, in AddFact() 666 auto composite_type = in ComputeClosureOfFacts() local 670 if (composite_type->AsArray()) { in ComputeClosureOfFacts() 679 } else if (composite_type->AsMatrix()) { in ComputeClosureOfFacts() 681 composite_type->AsMatrix()->element_count(); in ComputeClosureOfFacts() 682 } else if (composite_type->AsStruct()) { in ComputeClosureOfFacts() 686 assert(composite_type->AsVector()); in ComputeClosureOfFacts() 688 composite_type->AsVector()->element_count(); in ComputeClosureOfFacts()
|
D | transformation_composite_extract.cpp | 68 auto composite_type = in IsApplicable() local 70 if (!composite_type) { in IsApplicable()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_composite_construct.cpp | 57 auto composite_type = in IsApplicable() local 60 if (!fuzzerutil::IsCompositeType(composite_type)) { in IsApplicable() 67 if (composite_type->AsArray() && in IsApplicable() 69 *composite_type->AsArray())) { in IsApplicable() 72 if (composite_type->AsMatrix() && in IsApplicable() 74 *composite_type->AsMatrix())) { in IsApplicable() 77 if (composite_type->AsStruct() && in IsApplicable() 79 *composite_type->AsStruct())) { in IsApplicable() 82 if (composite_type->AsVector() && in IsApplicable() 84 *composite_type->AsVector())) { in IsApplicable() [all …]
|
D | fuzzer_pass.cpp | 455 opt::analysis::Type* composite_type = GetIRContext()->get_type_mgr()->GetType( in FindOrCreateCompositeConstant() local 458 if (composite_type->AsArray()) { in FindOrCreateCompositeConstant() 460 composite_type->AsArray(), constants); in FindOrCreateCompositeConstant() 461 } else if (composite_type->AsMatrix()) { in FindOrCreateCompositeConstant() 463 composite_type->AsMatrix(), constants); in FindOrCreateCompositeConstant() 464 } else if (composite_type->AsStruct()) { in FindOrCreateCompositeConstant() 466 composite_type->AsStruct(), constants); in FindOrCreateCompositeConstant() 467 } else if (composite_type->AsVector()) { in FindOrCreateCompositeConstant() 469 composite_type->AsVector(), constants); in FindOrCreateCompositeConstant()
|
D | transformation_composite_extract.cpp | 67 auto composite_type = in IsApplicable() local 69 if (!composite_type) { in IsApplicable()
|
D | fact_manager.cpp | 308 auto composite_type = in AddFact() local 312 context, composite_type, in AddFact() 976 auto composite_type = in ComputeClosureOfFacts() local 980 if (composite_type->AsArray()) { in ComputeClosureOfFacts() 989 } else if (composite_type->AsMatrix()) { in ComputeClosureOfFacts() 991 composite_type->AsMatrix()->element_count(); in ComputeClosureOfFacts() 992 } else if (composite_type->AsStruct()) { in ComputeClosureOfFacts() 996 assert(composite_type->AsVector()); in ComputeClosureOfFacts() 998 composite_type->AsVector()->element_count(); in ComputeClosureOfFacts()
|
/external/angle/third_party/spirv-tools/src/source/opt/ |
D | reduce_load_size.cpp | 68 analysis::Type* composite_type = type_mgr->GetType(composite_inst->type_id()); in ReplaceExtract() local 69 if (composite_type->kind() == analysis::Type::kVector || in ReplaceExtract() 70 composite_type->kind() == analysis::Type::kMatrix) { in ReplaceExtract()
|
D | folding_rules.cpp | 1441 analysis::Type* composite_type = type_mgr->GetType(cinst->type_id()); in CompositeConstructFeedingExtract() local 1442 if (composite_type->AsVector() == nullptr) { in CompositeConstructFeedingExtract()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | reduce_load_size.cpp | 68 analysis::Type* composite_type = type_mgr->GetType(composite_inst->type_id()); in ReplaceExtract() local 69 if (composite_type->kind() == analysis::Type::kVector || in ReplaceExtract() 70 composite_type->kind() == analysis::Type::kMatrix) { in ReplaceExtract()
|
D | folding_rules.cpp | 1441 analysis::Type* composite_type = type_mgr->GetType(cinst->type_id()); in CompositeConstructFeedingExtract() local 1442 if (composite_type->AsVector() == nullptr) { in CompositeConstructFeedingExtract()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | reduce_load_size.cpp | 68 analysis::Type* composite_type = type_mgr->GetType(composite_inst->type_id()); in ReplaceExtract() local 69 if (composite_type->kind() == analysis::Type::kVector || in ReplaceExtract() 70 composite_type->kind() == analysis::Type::kMatrix) { in ReplaceExtract()
|
D | folding_rules.cpp | 1441 analysis::Type* composite_type = type_mgr->GetType(cinst->type_id()); in CompositeConstructFeedingExtract() local 1442 if (composite_type->AsVector() == nullptr) { in CompositeConstructFeedingExtract()
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_composites.cpp | 401 const uint32_t composite_type = _.GetOperandTypeId(inst, 3); in ValidateCompositeInsert() local 403 if (result_type != composite_type) { in ValidateCompositeInsert()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_composites.cpp | 401 const uint32_t composite_type = _.GetOperandTypeId(inst, 3); in ValidateCompositeInsert() local 403 if (result_type != composite_type) { in ValidateCompositeInsert()
|
D | validate_extensions.cpp | 2337 auto composite_type = in ValidateExtInst() local 2339 if (composite_type != OpenCLDebugInfo100Class && in ValidateExtInst() 2340 composite_type != OpenCLDebugInfo100Structure) { in ValidateExtInst() 2347 composite_type = in ValidateExtInst() 2349 if (composite_type != OpenCLDebugInfo100Class && in ValidateExtInst() 2350 composite_type != OpenCLDebugInfo100Structure) { in ValidateExtInst()
|
/external/angle/third_party/spirv-tools/src/source/val/ |
D | validate_composites.cpp | 401 const uint32_t composite_type = _.GetOperandTypeId(inst, 3); in ValidateCompositeInsert() local 403 if (result_type != composite_type) { in ValidateCompositeInsert()
|
D | validate_extensions.cpp | 2337 auto composite_type = in ValidateExtInst() local 2339 if (composite_type != OpenCLDebugInfo100Class && in ValidateExtInst() 2340 composite_type != OpenCLDebugInfo100Structure) { in ValidateExtInst() 2347 composite_type = in ValidateExtInst() 2349 if (composite_type != OpenCLDebugInfo100Class && in ValidateExtInst() 2350 composite_type != OpenCLDebugInfo100Structure) { in ValidateExtInst()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 18465 const string composite_type = "${customType}vec" + widthStr; in createVectorCompositeCases() local 18470 params["compositeDecl"] = composite_type + " = OpTypeVector ${customType} " + widthStr +"\n"; in createVectorCompositeCases() 18471 params["compositeType"] = composite_type; in createVectorCompositeCases() 18473 …params["compositeConstruct"] = "%instance = OpCompositeConstruct " + composite_type + repeatStrin… in createVectorCompositeCases()
|