Home
last modified time | relevance | path

Searched refs:fresh_ids (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_replace_linear_algebra_instruction.cpp30 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 …]
Dtransformation_access_chain.cpp139 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 …]
Dtransformation_expand_vector_reduction.cpp29 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()
Dtransformation_add_bit_instruction_synonym.cpp29 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()
Dfuzzer_pass_propagate_instructions_up.cpp43 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()
Dfuzzer_pass_propagate_instructions_down.cpp50 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()
Dreplayer.cpp99 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()
Dtransformation_replace_params_with_struct.cpp117 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()
Dtransformation_expand_vector_reduction.h76 const std::vector<uint32_t>& fresh_ids);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_linear_algebra_instruction.cpp30 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 …]
Dtransformation_access_chain.cpp139 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 …]
Dtransformation_expand_vector_reduction.cpp29 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()
Dtransformation_add_bit_instruction_synonym.cpp29 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()
Dfuzzer_pass_propagate_instructions_up.cpp43 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()
Dfuzzer_pass_propagate_instructions_down.cpp50 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()
Dreplayer.cpp99 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()
Dtransformation_replace_params_with_struct.cpp117 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/
Dtransformation_replace_linear_algebra_instruction.cpp30 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 …]
Dtransformation_access_chain.cpp139 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 …]
Dtransformation_expand_vector_reduction.cpp29 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()
Dtransformation_add_bit_instruction_synonym.cpp29 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()
Dfuzzer_pass_propagate_instructions_up.cpp43 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()
Dfuzzer_pass_propagate_instructions_down.cpp50 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()
Dreplayer.cpp99 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()
Dtransformation_replace_params_with_struct.cpp117 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()

12