/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_replace_linear_algebra_instruction.cpp | 30 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction() argument 32 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction() 50 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 56 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 300 uint32_t matrix_column_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 310 column_component_ids[j] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 325 result_column_ids[i] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 342 ir_context, message_.fresh_ids(message_.fresh_ids().size() - 1)); in ReplaceOpTranspose() 363 uint32_t vector_extract_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpVectorTimesScalar() 372 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() 258 protobufs::UInt32Pair fresh_ids = in Apply() local 291 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply() 293 ir_context, SpvOpULessThanEqual, bool_type_id, fresh_ids.first(), in Apply() 307 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.second()); in Apply() 310 fresh_ids.second(), in Apply() 312 {{SPV_OPERAND_TYPE_ID, {fresh_ids.first()}}, in Apply() [all …]
|
D | transformation_expand_vector_reduction.cpp | 29 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction() argument 33 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction() 53 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 59 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 88 auto fresh_id = message_.fresh_ids().begin(); in Apply() 162 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | transformation_add_bit_instruction_synonym.cpp | 29 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym() argument 33 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym() 65 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 71 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 194 auto fresh_id = message_.fresh_ids().begin(); in AddOpBitwiseOrOpNotSynonym() 293 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | fuzzer_pass_propagate_instructions_up.cpp | 43 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 45 auto& fresh_id = fresh_ids[id]; in Apply() 54 TransformationPropagateInstructionUp(block.id(), fresh_ids)); in Apply()
|
D | fuzzer_pass_propagate_instructions_down.cpp | 50 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 54 fresh_ids[id] = GetFuzzerContext()->GetFreshId(); in Apply() 58 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);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_linear_algebra_instruction.cpp | 30 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction() argument 32 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction() 50 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 56 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 300 uint32_t matrix_column_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 310 column_component_ids[j] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 325 result_column_ids[i] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 342 ir_context, message_.fresh_ids(message_.fresh_ids().size() - 1)); in ReplaceOpTranspose() 363 uint32_t vector_extract_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpVectorTimesScalar() 372 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() 258 protobufs::UInt32Pair fresh_ids = in Apply() local 291 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply() 293 ir_context, SpvOpULessThanEqual, bool_type_id, fresh_ids.first(), in Apply() 307 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.second()); in Apply() 310 fresh_ids.second(), in Apply() 312 {{SPV_OPERAND_TYPE_ID, {fresh_ids.first()}}, in Apply() [all …]
|
D | transformation_expand_vector_reduction.cpp | 29 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction() argument 33 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction() 53 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 59 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 88 auto fresh_id = message_.fresh_ids().begin(); in Apply() 162 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | transformation_add_bit_instruction_synonym.cpp | 29 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym() argument 33 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym() 65 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 71 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 194 auto fresh_id = message_.fresh_ids().begin(); in AddOpBitwiseOrOpNotSynonym() 293 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | fuzzer_pass_propagate_instructions_up.cpp | 43 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 45 auto& fresh_id = fresh_ids[id]; in Apply() 54 TransformationPropagateInstructionUp(block.id(), fresh_ids)); in Apply()
|
D | fuzzer_pass_propagate_instructions_down.cpp | 50 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 54 fresh_ids[id] = GetFuzzerContext()->GetFreshId(); in Apply() 58 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()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_replace_linear_algebra_instruction.cpp | 30 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction() argument 32 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction() 50 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 56 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 300 uint32_t matrix_column_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 310 column_component_ids[j] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 325 result_column_ids[i] = message_.fresh_ids(fresh_id_index++); in ReplaceOpTranspose() 342 ir_context, message_.fresh_ids(message_.fresh_ids().size() - 1)); in ReplaceOpTranspose() 363 uint32_t vector_extract_id = message_.fresh_ids(fresh_id_index++); in ReplaceOpVectorTimesScalar() 372 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() 258 protobufs::UInt32Pair fresh_ids = in Apply() local 291 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply() 293 ir_context, SpvOpULessThanEqual, bool_type_id, fresh_ids.first(), in Apply() 307 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.second()); in Apply() 310 fresh_ids.second(), in Apply() 312 {{SPV_OPERAND_TYPE_ID, {fresh_ids.first()}}, in Apply() [all …]
|
D | transformation_expand_vector_reduction.cpp | 29 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction() argument 33 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction() 53 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 59 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 88 auto fresh_id = message_.fresh_ids().begin(); in Apply() 162 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | transformation_add_bit_instruction_synonym.cpp | 29 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym() argument 33 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym() 65 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable() 71 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable() 194 auto fresh_id = message_.fresh_ids().begin(); in AddOpBitwiseOrOpNotSynonym() 293 for (auto id : message_.fresh_ids()) { in GetFreshIds()
|
D | fuzzer_pass_propagate_instructions_up.cpp | 43 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 45 auto& fresh_id = fresh_ids[id]; in Apply() 54 TransformationPropagateInstructionUp(block.id(), fresh_ids)); in Apply()
|
D | fuzzer_pass_propagate_instructions_down.cpp | 50 std::map<uint32_t, uint32_t> fresh_ids; in Apply() local 54 fresh_ids[id] = GetFuzzerContext()->GetFreshId(); in Apply() 58 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()
|