/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_linear_algebra_instruction.cpp | 31 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction() argument 33 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction() 51 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 57 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 301 uint32_t matrix_column_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 311 column_component_ids[j] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 326 result_column_ids[i] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 343 ir_context, message_.fresh_ids(message_.fresh_ids().size() - 1)); in ReplaceOpTranspose() 364 uint32_t vector_extract_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpVectorTimesScalar() 373 uint32_t float_multiplication_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpVectorTimesScalar() [all …]
|
D | transformation_access_chain.cpp | 139 protobufs::UInt32Pair fresh_ids = in IsApplicable() local 143 if (fresh_ids.first() == 0 || fresh_ids.second() == 0) { in IsApplicable() 150 fresh_ids.first(), ir_context, &fresh_ids_used) || in IsApplicable() 152 fresh_ids.second(), ir_context, &fresh_ids_used)) { in IsApplicable() 253 protobufs::UInt32Pair fresh_ids = in Apply() local 288 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply() 290 ir_context, SpvOpULessThanEqual, bool_type_id, fresh_ids.first(), in Apply() 298 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.second()); in Apply() 301 fresh_ids.second(), in Apply() 303 {{SPV_OPERAND_TYPE_ID, {fresh_ids.first()}}, in Apply() [all …]
|
D | transformation_expand_vector_reduction.cpp | 30 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction() argument 34 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction() 54 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 60 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 89 auto fresh_id = message_.fresh_ids().begin(); in Apply() 163 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | transformation_add_bit_instruction_synonym.cpp | 30 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym() argument 34 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym() 77 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 83 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 147 auto fresh_id = message_.fresh_ids().begin(); in AddOpBitwiseOrOpNotSynonym() 246 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | fuzzer_pass_propagate_instructions_up.cpp | 45 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 47 auto& fresh_id = fresh_ids[id]; in Apply() 56 TransformationPropagateInstructionUp(block.id(), fresh_ids)); in Apply()
|
D | fuzzer_pass_propagate_instructions_down.cpp | 53 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 57 fresh_ids[id] = GetFuzzerContext()->GetFreshId(); in Apply() 61 block->id(), GetFuzzerContext()->GetFreshId(), fresh_ids)); in Apply()
|
D | replayer.cpp | 99 auto fresh_ids = Transformation::FromMessage(transformation)->GetFreshIds(); in Run() local 100 if (!fresh_ids.empty()) { in Run() 103 *std::max_element(fresh_ids.begin(), fresh_ids.end()) + 1); in Run()
|
D | transformation_replace_params_with_struct.cpp | 117 std::vector<uint32_t> fresh_ids = {message_.fresh_function_type_id(), in IsApplicable() local 121 fresh_ids.push_back(entry.second); in IsApplicable() 124 return !fuzzerutil::HasDuplicates(fresh_ids) && in IsApplicable() 125 std::all_of(fresh_ids.begin(), fresh_ids.end(), in IsApplicable()
|
D | transformation_expand_vector_reduction.h | 76 const std::vector<uint32_t>& fresh_ids);
|
D | transformation_add_bit_instruction_synonym.h | 110 const std::vector<uint32_t>& fresh_ids);
|
D | fuzzer_context.cpp | 361 std::vector<uint32_t> fresh_ids(count); in GetFreshIds() local 363 for (uint32_t& fresh_id : fresh_ids) { in GetFreshIds() 367 return fresh_ids; in GetFreshIds()
|
D | transformation_replace_linear_algebra_instruction.h | 32 const std::vector<uint32_t>& fresh_ids,
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_linear_algebra_instruction.cpp | 31 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction() argument 33 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction() 51 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 57 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 301 uint32_t matrix_column_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 311 column_component_ids[j] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 326 result_column_ids[i] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 343 ir_context, message_.fresh_ids(message_.fresh_ids().size() - 1)); in ReplaceOpTranspose() 364 uint32_t vector_extract_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpVectorTimesScalar() 373 uint32_t float_multiplication_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpVectorTimesScalar() [all …]
|
D | transformation_access_chain.cpp | 139 protobufs::UInt32Pair fresh_ids = in IsApplicable() local 143 if (fresh_ids.first() == 0 || fresh_ids.second() == 0) { in IsApplicable() 150 fresh_ids.first(), ir_context, &fresh_ids_used) || in IsApplicable() 152 fresh_ids.second(), ir_context, &fresh_ids_used)) { in IsApplicable() 253 protobufs::UInt32Pair fresh_ids = in Apply() local 288 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply() 290 ir_context, SpvOpULessThanEqual, bool_type_id, fresh_ids.first(), in Apply() 298 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.second()); in Apply() 301 fresh_ids.second(), in Apply() 303 {{SPV_OPERAND_TYPE_ID, {fresh_ids.first()}}, in Apply() [all …]
|
D | transformation_expand_vector_reduction.cpp | 30 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction() argument 34 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction() 54 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 60 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 89 auto fresh_id = message_.fresh_ids().begin(); in Apply() 163 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | transformation_add_bit_instruction_synonym.cpp | 30 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym() argument 34 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym() 77 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 83 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 147 auto fresh_id = message_.fresh_ids().begin(); in AddOpBitwiseOrOpNotSynonym() 246 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | fuzzer_pass_propagate_instructions_up.cpp | 45 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 47 auto& fresh_id = fresh_ids[id]; in Apply() 56 TransformationPropagateInstructionUp(block.id(), fresh_ids)); in Apply()
|
D | fuzzer_pass_propagate_instructions_down.cpp | 53 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 57 fresh_ids[id] = GetFuzzerContext()->GetFreshId(); in Apply() 61 block->id(), GetFuzzerContext()->GetFreshId(), fresh_ids)); in Apply()
|
D | replayer.cpp | 99 auto fresh_ids = Transformation::FromMessage(transformation)->GetFreshIds(); in Run() local 100 if (!fresh_ids.empty()) { in Run() 103 *std::max_element(fresh_ids.begin(), fresh_ids.end()) + 1); in Run()
|
D | transformation_replace_params_with_struct.cpp | 117 std::vector<uint32_t> fresh_ids = {message_.fresh_function_type_id(), in IsApplicable() local 121 fresh_ids.push_back(entry.second); in IsApplicable() 124 return !fuzzerutil::HasDuplicates(fresh_ids) && in IsApplicable() 125 std::all_of(fresh_ids.begin(), fresh_ids.end(), in IsApplicable()
|
D | transformation_expand_vector_reduction.h | 76 const std::vector<uint32_t>& fresh_ids);
|
D | transformation_add_bit_instruction_synonym.h | 110 const std::vector<uint32_t>& fresh_ids);
|
D | fuzzer_context.cpp | 361 std::vector<uint32_t> fresh_ids(count); in GetFreshIds() local 363 for (uint32_t& fresh_id : fresh_ids) { in GetFreshIds() 367 return fresh_ids; in GetFreshIds()
|
D | transformation_replace_linear_algebra_instruction.h | 32 const std::vector<uint32_t>& fresh_ids,
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/ |
D | spvtoolsfuzz.proto | 619 repeated uint32 fresh_ids = 2; field 1432 repeated uint32 fresh_ids = 2; field 2037 repeated uint32 fresh_ids = 1; field
|