Home
last modified time | relevance | path

Searched refs:use_index (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp53 [&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()
64 auto use_index = use.second; in Apply() local
77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_replace_irrelevant_ids.cpp97 uint32_t use_index) { in Apply() argument
105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply()
114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_interchange_zero_like_constants.cpp97 uint32_t use_index) -> void { in Apply() argument
101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp76 uint32_t use_index) -> void { in Apply() argument
80 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dtransformation_add_loop_preheader.cpp106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument
129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp53 [&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()
64 auto use_index = use.second; in Apply() local
77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_replace_irrelevant_ids.cpp97 uint32_t use_index) { in Apply() argument
105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply()
114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_interchange_zero_like_constants.cpp97 uint32_t use_index) -> void { in Apply() argument
101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp76 uint32_t use_index) -> void { in Apply() argument
80 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dtransformation_add_loop_preheader.cpp106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument
129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp53 [&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()
64 auto use_index = use.second; in Apply() local
77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_replace_irrelevant_ids.cpp97 uint32_t use_index) { in Apply() argument
105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply()
114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_interchange_zero_like_constants.cpp97 uint32_t use_index) -> void { in Apply() argument
101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp76 uint32_t use_index) -> void { in Apply() argument
80 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dtransformation_add_loop_preheader.cpp106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument
129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
Dfuzzer_pass.h280 opt::Instruction* use_inst, uint32_t use_index, uint32_t replacement_id,
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dremove_unused_instruction_reduction_opportunity_finder.cpp133 &inst, [this](opt::Instruction* user, uint32_t use_index) -> bool { in OnlyReferencedByIntimateDecorationOrEntryPointInterface() argument
136 (user->opcode() == SpvOpEntryPoint && use_index > 2); in OnlyReferencedByIntimateDecorationOrEntryPointInterface()
Dstructured_loop_to_selection_reduction_opportunity.cpp271 uint32_t use_index, in DefinitionSufficientlyDominatesUse() argument
277 ->Dominates(def_block.id(), use->GetSingleWordOperand(use_index + 1)); in DefinitionSufficientlyDominatesUse()
Dstructured_loop_to_selection_reduction_opportunity.h83 uint32_t use_index,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_unused_instruction_reduction_opportunity_finder.cpp133 &inst, [this](opt::Instruction* user, uint32_t use_index) -> bool { in OnlyReferencedByIntimateDecorationOrEntryPointInterface() argument
136 (user->opcode() == SpvOpEntryPoint && use_index > 2); in OnlyReferencedByIntimateDecorationOrEntryPointInterface()
Dstructured_loop_to_selection_reduction_opportunity.cpp271 uint32_t use_index, in DefinitionSufficientlyDominatesUse() argument
277 ->Dominates(def_block.id(), use->GetSingleWordOperand(use_index + 1)); in DefinitionSufficientlyDominatesUse()
Dstructured_loop_to_selection_reduction_opportunity.h83 uint32_t use_index,
/third_party/spirv-tools/source/reduce/
Dremove_unused_instruction_reduction_opportunity_finder.cpp133 &inst, [this](opt::Instruction* user, uint32_t use_index) -> bool { in OnlyReferencedByIntimateDecorationOrEntryPointInterface() argument
136 (user->opcode() == SpvOpEntryPoint && use_index > 2); in OnlyReferencedByIntimateDecorationOrEntryPointInterface()
Dstructured_loop_to_selection_reduction_opportunity.cpp271 uint32_t use_index, in DefinitionSufficientlyDominatesUse() argument
277 ->Dominates(def_block.id(), use->GetSingleWordOperand(use_index + 1)); in DefinitionSufficientlyDominatesUse()
Dstructured_loop_to_selection_reduction_opportunity.h83 uint32_t use_index,

12