/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_apply_id_synonyms.cpp | 53 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 56 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply() 58 std::pair<opt::Instruction*, uint32_t>(use_inst, use_index)); in Apply() 63 auto use_inst = use.first; in Apply() local 65 auto block_containing_use = GetIRContext()->get_instr_block(use_inst); in Apply() 77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 79 *GetTransformationContext(), use_inst, in Apply() 96 use_inst->opcode(), use_in_operand_index, in Apply() 111 use_inst) && in Apply() 112 use_inst->opcode() != SpvOpPhi) { in Apply() [all …]
|
D | fuzzer_pass_replace_irrelevant_ids.cpp | 96 &transformations_to_apply](opt::Instruction* use_inst, in Apply() 105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply() 114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 119 use_inst, in_index)) { in Apply() 135 *use_inst, *GetIRContext()->get_def_use_mgr()->GetDef( in Apply() 148 if (GetIRContext()->get_instr_block(use_inst) && in Apply() 149 fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 169 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
D | transformation_add_loop_preheader.cpp | 106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument 108 use_inst)) { in Apply() 111 if (use_inst->IsBranch()) { in Apply() 114 back_edge_block_id = ir_context->get_instr_block(use_inst)->id(); in Apply() 122 if (!use_inst->IsBranch() && in Apply() 123 use_inst->opcode() != SpvOpSelectionMerge && in Apply() 124 use_inst->opcode() != SpvOpLoopMerge) { in Apply() 129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
|
D | fuzzer_pass_interchange_zero_like_constants.cpp | 96 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
D | fuzzer_pass_interchange_signedness_of_integer_operands.cpp | 75 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 80 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
D | fuzzer_pass.cpp | 600 opt::Instruction* use_inst, uint32_t use_index, uint32_t replacement_id, in MaybeAddUseToReplace() argument 604 if (!GetIRContext()->get_instr_block(use_inst)) { in MaybeAddUseToReplace() 610 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in MaybeAddUseToReplace() 612 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in_operand_index); in MaybeAddUseToReplace()
|
D | transformation_flatten_conditional_branch.cpp | 800 [](opt::Instruction* use_inst, uint32_t use_index) { in InstructionCanBeHandled() argument 803 use_inst->NumOperands() - use_inst->NumInOperands(); in InstructionCanBeHandled()
|
D | fuzzer_pass.h | 280 opt::Instruction* use_inst, uint32_t use_index, uint32_t replacement_id,
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | fuzzer_pass_apply_id_synonyms.cpp | 53 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 56 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply() 58 std::pair<opt::Instruction*, uint32_t>(use_inst, use_index)); in Apply() 63 auto use_inst = use.first; in Apply() local 65 auto block_containing_use = GetIRContext()->get_instr_block(use_inst); in Apply() 77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 79 *GetTransformationContext(), use_inst, in Apply() 96 use_inst->opcode(), use_in_operand_index, in Apply() 111 use_inst) && in Apply() 112 use_inst->opcode() != SpvOpPhi) { in Apply() [all …]
|
D | fuzzer_pass_replace_irrelevant_ids.cpp | 96 &transformations_to_apply](opt::Instruction* use_inst, in Apply() 105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply() 114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 119 use_inst, in_index)) { in Apply() 135 *use_inst, *GetIRContext()->get_def_use_mgr()->GetDef( in Apply() 148 if (GetIRContext()->get_instr_block(use_inst) && in Apply() 149 fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 169 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
D | transformation_add_loop_preheader.cpp | 106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument 108 use_inst)) { in Apply() 111 if (use_inst->IsBranch()) { in Apply() 114 back_edge_block_id = ir_context->get_instr_block(use_inst)->id(); in Apply() 122 if (!use_inst->IsBranch() && in Apply() 123 use_inst->opcode() != SpvOpSelectionMerge && in Apply() 124 use_inst->opcode() != SpvOpLoopMerge) { in Apply() 129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
|
D | fuzzer_pass_interchange_zero_like_constants.cpp | 96 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
D | fuzzer_pass_interchange_signedness_of_integer_operands.cpp | 75 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 80 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
D | fuzzer_pass.cpp | 600 opt::Instruction* use_inst, uint32_t use_index, uint32_t replacement_id, in MaybeAddUseToReplace() argument 604 if (!GetIRContext()->get_instr_block(use_inst)) { in MaybeAddUseToReplace() 610 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in MaybeAddUseToReplace() 612 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in_operand_index); in MaybeAddUseToReplace()
|
D | transformation_flatten_conditional_branch.cpp | 800 [](opt::Instruction* use_inst, uint32_t use_index) { in InstructionCanBeHandled() argument 803 use_inst->NumOperands() - use_inst->NumInOperands(); in InstructionCanBeHandled()
|
D | fuzzer_pass.h | 280 opt::Instruction* use_inst, uint32_t use_index, uint32_t replacement_id,
|
/third_party/spirv-tools/source/fuzz/ |
D | fuzzer_pass_apply_id_synonyms.cpp | 53 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 56 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply() 58 std::pair<opt::Instruction*, uint32_t>(use_inst, use_index)); in Apply() 63 auto use_inst = use.first; in Apply() local 65 auto block_containing_use = GetIRContext()->get_instr_block(use_inst); in Apply() 77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 79 *GetTransformationContext(), use_inst, in Apply() 96 use_inst->opcode(), use_in_operand_index, in Apply() 111 use_inst) && in Apply() 112 use_inst->opcode() != SpvOpPhi) { in Apply() [all …]
|
D | fuzzer_pass_replace_irrelevant_ids.cpp | 96 &transformations_to_apply](opt::Instruction* use_inst, in Apply() 105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply() 114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 119 use_inst, in_index)) { in Apply() 135 *use_inst, *GetIRContext()->get_def_use_mgr()->GetDef( in Apply() 148 if (GetIRContext()->get_instr_block(use_inst) && in Apply() 149 fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 169 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
D | transformation_add_loop_preheader.cpp | 106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument 108 use_inst)) { in Apply() 111 if (use_inst->IsBranch()) { in Apply() 114 back_edge_block_id = ir_context->get_instr_block(use_inst)->id(); in Apply() 122 if (!use_inst->IsBranch() && in Apply() 123 use_inst->opcode() != SpvOpSelectionMerge && in Apply() 124 use_inst->opcode() != SpvOpLoopMerge) { in Apply() 129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
|
D | fuzzer_pass_interchange_zero_like_constants.cpp | 96 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
D | fuzzer_pass_interchange_signedness_of_integer_operands.cpp | 75 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 80 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
D | fuzzer_pass.cpp | 600 opt::Instruction* use_inst, uint32_t use_index, uint32_t replacement_id, in MaybeAddUseToReplace() argument 604 if (!GetIRContext()->get_instr_block(use_inst)) { in MaybeAddUseToReplace() 610 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in MaybeAddUseToReplace() 612 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in_operand_index); in MaybeAddUseToReplace()
|
D | transformation_flatten_conditional_branch.cpp | 800 [](opt::Instruction* use_inst, uint32_t use_index) { in InstructionCanBeHandled() argument 803 use_inst->NumOperands() - use_inst->NumInOperands(); in InstructionCanBeHandled()
|
D | fuzzer_pass.h | 280 opt::Instruction* use_inst, uint32_t use_index, uint32_t replacement_id,
|
/third_party/spirv-tools/source/opt/ |
D | loop_fusion.cpp | 211 [&is_used](Instruction* use_inst, uint32_t) { in AreCompatible() argument 212 if (use_inst->opcode() == SpvOpLoad) { in AreCompatible()
|