Home
last modified time | relevance | path

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

12

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_linear_algebra_instruction.cpp31 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 …]
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()
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 …]
Dtransformation_expand_vector_reduction.cpp30 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()
Dtransformation_add_bit_instruction_synonym.cpp30 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()
Dfuzzer_pass_propagate_instructions_up.cpp45 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()
Dfuzzer_pass_propagate_instructions_down.cpp53 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()
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);
Dtransformation_add_bit_instruction_synonym.h110 const std::vector<uint32_t>& fresh_ids);
Dfuzzer_context.cpp361 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()
Dtransformation_replace_linear_algebra_instruction.h32 const std::vector<uint32_t>& fresh_ids,
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_linear_algebra_instruction.cpp31 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 …]
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()
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 …]
Dtransformation_expand_vector_reduction.cpp30 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()
Dtransformation_add_bit_instruction_synonym.cpp30 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()
Dfuzzer_pass_propagate_instructions_up.cpp45 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()
Dfuzzer_pass_propagate_instructions_down.cpp53 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()
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);
Dtransformation_add_bit_instruction_synonym.h110 const std::vector<uint32_t>& fresh_ids);
Dfuzzer_context.cpp361 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()
Dtransformation_replace_linear_algebra_instruction.h32 const std::vector<uint32_t>& fresh_ids,
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto619 repeated uint32 fresh_ids = 2; field
1432 repeated uint32 fresh_ids = 2; field
2037 repeated uint32 fresh_ids = 1; field

12