Home
last modified time | relevance | path

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

12

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp52 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument
55 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply()
57 std::pair<opt::Instruction*, uint32_t>(use_inst, use_index)); in Apply()
63 auto use_index = use.second; in Apply() local
76 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_replace_irrelevant_ids.cpp96 uint32_t use_index) { in Apply() argument
104 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply()
113 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_interchange_zero_like_constants.cpp96 uint32_t use_index) -> void { in Apply() argument
100 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp75 uint32_t use_index) -> void { in Apply() argument
79 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()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp54 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument
57 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply()
59 std::pair<opt::Instruction*, uint32_t>(use_inst, use_index)); in Apply()
65 auto use_index = use.second; in Apply() local
78 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_replace_irrelevant_ids.cpp98 uint32_t use_index) { in Apply() argument
106 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply()
115 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_interchange_zero_like_constants.cpp99 uint32_t use_index) -> void { in Apply() argument
103 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp75 uint32_t use_index) -> void { in Apply() argument
79 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()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_apply_id_synonyms.cpp54 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument
57 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply()
59 std::pair<opt::Instruction*, uint32_t>(use_inst, use_index)); in Apply()
65 auto use_index = use.second; in Apply() local
78 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_replace_irrelevant_ids.cpp98 uint32_t use_index) { in Apply() argument
106 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply()
115 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply()
Dfuzzer_pass_interchange_zero_like_constants.cpp99 uint32_t use_index) -> void { in Apply() argument
103 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
Dfuzzer_pass_interchange_signedness_of_integer_operands.cpp75 uint32_t use_index) -> void { in Apply() argument
79 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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.h83 uint32_t use_index,
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()
/external/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.h86 uint32_t use_index,
Dstructured_loop_to_selection_reduction_opportunity.cpp274 uint32_t use_index, in DefinitionSufficientlyDominatesUse() argument
280 ->Dominates(def_block.id(), use->GetSingleWordOperand(use_index + 1)); in DefinitionSufficientlyDominatesUse()
/external/deqp-deps/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.h86 uint32_t use_index,
Dstructured_loop_to_selection_reduction_opportunity.cpp274 uint32_t use_index, in DefinitionSufficientlyDominatesUse() argument
280 ->Dominates(def_block.id(), use->GetSingleWordOperand(use_index + 1)); in DefinitionSufficientlyDominatesUse()
/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_code_motion.cc655 int64 use_index = (tuple_use != nullptr && tuple_use->user_count() == 1) in MoveInstructionIn() local
658 VLOG(2) << "Tuple use index = " << use_index << "\n"; in MoveInstructionIn()
664 ? ((use_index >= 0) ? conditional->shape().tuple_shapes_size() - 1 in MoveInstructionIn()
679 if (i != use_index) { in MoveInstructionIn()
693 if (i != use_index) { in MoveInstructionIn()
716 if (use_index != -1) { in MoveInstructionIn()
719 user->tuple_index() > use_index) { in MoveInstructionIn()
726 if (use_index >= 0) { in MoveInstructionIn()
792 if (use_index != -1) { in MoveInstructionIn()

12