Home
last modified time | relevance | path

Searched refs:fresh_ids (Results 1 - 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_replace_linear_algebra_instruction.cpp30 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction()
32 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction()
48 // |message_.fresh_ids.size| must be the exact number of fresh ids needed to in IsApplicable()
50 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
55 // All ids in |message_.fresh_ids| must be fresh. 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 in ReplaceOpTranspose()
29 TransformationReplaceLinearAlgebraInstruction( const std::vector<uint32_t>& fresh_ids, const protobufs::InstructionDescriptor& instruction_descriptor) TransformationReplaceLinearAlgebraInstruction() argument
[all...]
H A 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
290 // %fresh_ids.first = OpULessThanEqual %bool %int_id %bound_minus_one. in Apply()
291 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply()
293 ir_context, SpvOpULessThanEqual, bool_type_id, fresh_ids.first(), in Apply()
305 // %fresh_ids in Apply()
[all...]
H A Dtransformation_expand_vector_reduction.cpp29 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction()
33 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction()
51 // |message_.fresh_ids.size| must have the exact number of fresh ids required in IsApplicable()
53 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
59 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable()
60 // All ids in |message_.fresh_ids| must be fresh. in IsApplicable()
88 auto fresh_id = message_.fresh_ids().begin(); in Apply()
162 for (auto id : message_.fresh_ids()) { in GetFreshIds()
27 TransformationExpandVectorReduction( const uint32_t instruction_result_id, const std::vector<uint32_t>& fresh_ids) TransformationExpandVectorReduction() argument
H A 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()
H A 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()
H A Dtransformation_add_bit_instruction_synonym.cpp29 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym()
33 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym()
63 // |message_.fresh_ids.size| must have the exact number of fresh ids required in IsApplicable()
65 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
70 // All ids in |message_.fresh_ids| must be fresh. 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()
27 TransformationAddBitInstructionSynonym( const uint32_t instruction_result_id, const std::vector<uint32_t>& fresh_ids) TransformationAddBitInstructionSynonym() argument
H A 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()
H A 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()
H A Dtransformation_expand_vector_reduction.h76 const std::vector<uint32_t>& fresh_ids);
79 // - |message_.fresh_ids| must be fresh ids needed to apply the
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_replace_linear_algebra_instruction.cpp30 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction()
32 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction()
48 // |message_.fresh_ids.size| must be the exact number of fresh ids needed to in IsApplicable()
50 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
55 // All ids in |message_.fresh_ids| must be fresh. 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 in ReplaceOpTranspose()
29 TransformationReplaceLinearAlgebraInstruction( const std::vector<uint32_t>& fresh_ids, const protobufs::InstructionDescriptor& instruction_descriptor) TransformationReplaceLinearAlgebraInstruction() argument
[all...]
H A 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
290 // %fresh_ids.first = OpULessThanEqual %bool %int_id %bound_minus_one. in Apply()
291 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply()
293 ir_context, SpvOpULessThanEqual, bool_type_id, fresh_ids.first(), in Apply()
305 // %fresh_ids in Apply()
[all...]
H A Dtransformation_expand_vector_reduction.cpp29 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction()
33 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction()
51 // |message_.fresh_ids.size| must have the exact number of fresh ids required in IsApplicable()
53 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
59 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable()
60 // All ids in |message_.fresh_ids| must be fresh. in IsApplicable()
88 auto fresh_id = message_.fresh_ids().begin(); in Apply()
162 for (auto id : message_.fresh_ids()) { in GetFreshIds()
27 TransformationExpandVectorReduction( const uint32_t instruction_result_id, const std::vector<uint32_t>& fresh_ids) TransformationExpandVectorReduction() argument
H A 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()
H A 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()
H A Dtransformation_add_bit_instruction_synonym.cpp29 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym()
33 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym()
63 // |message_.fresh_ids.size| must have the exact number of fresh ids required in IsApplicable()
65 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
70 // All ids in |message_.fresh_ids| must be fresh. 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()
27 TransformationAddBitInstructionSynonym( const uint32_t instruction_result_id, const std::vector<uint32_t>& fresh_ids) TransformationAddBitInstructionSynonym() argument
H A 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()
H A 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/
H A Dtransformation_replace_linear_algebra_instruction.cpp30 const std::vector<uint32_t>& fresh_ids, in TransformationReplaceLinearAlgebraInstruction()
32 for (auto fresh_id : fresh_ids) { in TransformationReplaceLinearAlgebraInstruction()
48 // |message_.fresh_ids.size| must be the exact number of fresh ids needed to in IsApplicable()
50 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
55 // All ids in |message_.fresh_ids| must be fresh. 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 in ReplaceOpTranspose()
29 TransformationReplaceLinearAlgebraInstruction( const std::vector<uint32_t>& fresh_ids, const protobufs::InstructionDescriptor& instruction_descriptor) TransformationReplaceLinearAlgebraInstruction() argument
[all...]
H A 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
290 // %fresh_ids.first = OpULessThanEqual %bool %int_id %bound_minus_one. in Apply()
291 fuzzerutil::UpdateModuleIdBound(ir_context, fresh_ids.first()); in Apply()
294 fresh_ids.first(), in Apply()
306 // %fresh_ids in Apply()
[all...]
H A Dtransformation_expand_vector_reduction.cpp29 const std::vector<uint32_t>& fresh_ids) { in TransformationExpandVectorReduction()
33 fresh_ids.begin(), fresh_ids.end()); in TransformationExpandVectorReduction()
52 // |message_.fresh_ids.size| must have the exact number of fresh ids required in IsApplicable()
54 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
60 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable()
61 // All ids in |message_.fresh_ids| must be fresh. in IsApplicable()
89 auto fresh_id = message_.fresh_ids().begin(); in Apply()
165 for (auto id : message_.fresh_ids()) { in GetFreshIds()
27 TransformationExpandVectorReduction( const uint32_t instruction_result_id, const std::vector<uint32_t>& fresh_ids) TransformationExpandVectorReduction() argument
H A 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()
H A 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()
H A Dtransformation_add_bit_instruction_synonym.cpp29 const std::vector<uint32_t>& fresh_ids) { in TransformationAddBitInstructionSynonym()
33 fresh_ids.begin(), fresh_ids.end()); in TransformationAddBitInstructionSynonym()
63 // |message_.fresh_ids.size| must have the exact number of fresh ids required in IsApplicable()
65 if (static_cast<uint32_t>(message_.fresh_ids().size()) != in IsApplicable()
70 // All ids in |message_.fresh_ids| must be fresh. in IsApplicable()
71 for (uint32_t fresh_id : message_.fresh_ids()) { in IsApplicable()
194 auto fresh_id = message_.fresh_ids().begin(); in AddOpBitwiseOrOpNotSynonym()
294 for (auto id : message_.fresh_ids()) { in GetFreshIds()
27 TransformationAddBitInstructionSynonym( const uint32_t instruction_result_id, const std::vector<uint32_t>& fresh_ids) TransformationAddBitInstructionSynonym() argument
H A 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()
H A 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()

Completed in 17 milliseconds

12