Home
last modified time | relevance | path

Searched refs:in_operand_index (Results 1 – 25 of 28) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Did_use_descriptor.cpp30 if (id_use_descriptor.in_operand_index() >= result->NumInOperands()) { in FindInstructionContainingUse()
33 if (result->GetSingleWordInOperand(id_use_descriptor.in_operand_index()) != in FindInstructionContainingUse()
43 uint32_t in_operand_index) { in MakeIdUseDescriptor() argument
47 result.set_in_operand_index(in_operand_index); in MakeIdUseDescriptor()
53 uint32_t in_operand_index) { in MakeIdUseDescriptorFromUse() argument
54 const auto& in_operand = inst->GetInOperand(in_operand_index); in MakeIdUseDescriptorFromUse()
58 in_operand_index); in MakeIdUseDescriptorFromUse()
Dtransformation_replace_id_with_synonym.cpp70 message_.id_use_descriptor().in_operand_index(), in IsApplicable()
78 message_.id_use_descriptor().in_operand_index())) { in IsApplicable()
86 message_.id_use_descriptor().in_operand_index(), in IsApplicable()
96 message_.id_use_descriptor().in_operand_index(), in Apply()
Dfuzzer_pass_obfuscate_constants.cpp412 const opt::Instruction& inst, uint32_t in_operand_index, in MaybeAddConstantIdUse() argument
416 if (inst.GetInOperand(in_operand_index).type != SPV_OPERAND_TYPE_ID) { in MaybeAddConstantIdUse()
420 auto operand_id = inst.GetSingleWordInOperand(in_operand_index); in MaybeAddConstantIdUse()
441 id_use_descriptor.set_in_operand_index(in_operand_index); in MaybeAddConstantIdUse()
485 for (uint32_t in_operand_index = 0; in Apply() local
486 in_operand_index < inst.NumInOperands(); in_operand_index++) { in Apply()
487 MaybeAddConstantIdUse(inst, in_operand_index, in Apply()
Dtransformation_replace_irrelevant_id.cpp78 message_.id_use_descriptor().in_operand_index(); in IsApplicable()
94 message_.id_use_descriptor().in_operand_index(), in IsApplicable()
107 message_.id_use_descriptor().in_operand_index(), in Apply()
Did_use_descriptor.h36 uint32_t in_operand_index);
42 opt::IRContext* context, opt::Instruction* inst, uint32_t in_operand_index);
Dfuzzer_pass_construct_composites.cpp256 for (uint32_t in_operand_index = 0; in FindComponentsToConstructStruct() local
257 in_operand_index < struct_type_instruction.NumInOperands(); in FindComponentsToConstructStruct()
258 in_operand_index++) { in FindComponentsToConstructStruct()
260 struct_type_instruction.GetSingleWordInOperand(in_operand_index); in FindComponentsToConstructStruct()
Dtransformation_replace_constant_with_uniform.cpp111 message_.id_use_descriptor().in_operand_index() + 1), in GetInsertBeforeInstruction()
243 message_.id_use_descriptor().in_operand_index()) == in Apply()
269 message_.id_use_descriptor().in_operand_index(), in Apply()
Dtransformation_replace_boolean_constant_with_constant_binary.cpp286 message_.id_use_descriptor().in_operand_index() + 1)) in ApplyWithResult()
305 message_.id_use_descriptor().in_operand_index(), in ApplyWithResult()
Dtransformation_propagate_instruction_down.cpp175 auto in_operand_index = in Apply() local
178 if (fuzzerutil::IdIsAvailableAtUse(ir_context, user, in_operand_index, in Apply()
180 user->SetInOperand(in_operand_index, {id}); in Apply()
Dfuzzer_pass_obfuscate_constants.h98 const opt::Instruction& inst, uint32_t in_operand_index,
Dforce_render_red.cpp147 uint32_t in_operand_index) { in MakeConstantUniformReplacement() argument
152 in_operand_index), in MakeConstantUniformReplacement()
Dfuzzer_pass_donate_modules.cpp910 for (uint32_t in_operand_index = 0; in PrepareInstructionForDonation() local
911 in_operand_index < instruction.NumInOperands(); in_operand_index++) { in PrepareInstructionForDonation()
913 const opt::Operand& in_operand = instruction.GetInOperand(in_operand_index); in PrepareInstructionForDonation()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Did_use_descriptor.cpp30 if (id_use_descriptor.in_operand_index() >= result->NumInOperands()) { in FindInstructionContainingUse()
33 if (result->GetSingleWordInOperand(id_use_descriptor.in_operand_index()) != in FindInstructionContainingUse()
43 uint32_t in_operand_index) { in MakeIdUseDescriptor() argument
47 result.set_in_operand_index(in_operand_index); in MakeIdUseDescriptor()
53 uint32_t in_operand_index) { in MakeIdUseDescriptorFromUse() argument
54 const auto& in_operand = inst->GetInOperand(in_operand_index); in MakeIdUseDescriptorFromUse()
58 in_operand_index); in MakeIdUseDescriptorFromUse()
Dtransformation_replace_id_with_synonym.cpp70 message_.id_use_descriptor().in_operand_index(), in IsApplicable()
78 message_.id_use_descriptor().in_operand_index())) { in IsApplicable()
86 message_.id_use_descriptor().in_operand_index(), in IsApplicable()
96 message_.id_use_descriptor().in_operand_index(), in Apply()
Dfuzzer_pass_obfuscate_constants.cpp412 const opt::Instruction& inst, uint32_t in_operand_index, in MaybeAddConstantIdUse() argument
416 if (inst.GetInOperand(in_operand_index).type != SPV_OPERAND_TYPE_ID) { in MaybeAddConstantIdUse()
420 auto operand_id = inst.GetSingleWordInOperand(in_operand_index); in MaybeAddConstantIdUse()
441 id_use_descriptor.set_in_operand_index(in_operand_index); in MaybeAddConstantIdUse()
485 for (uint32_t in_operand_index = 0; in Apply() local
486 in_operand_index < inst.NumInOperands(); in_operand_index++) { in Apply()
487 MaybeAddConstantIdUse(inst, in_operand_index, in Apply()
Dtransformation_replace_irrelevant_id.cpp78 message_.id_use_descriptor().in_operand_index(); in IsApplicable()
94 message_.id_use_descriptor().in_operand_index(), in IsApplicable()
107 message_.id_use_descriptor().in_operand_index(), in Apply()
Did_use_descriptor.h36 uint32_t in_operand_index);
42 opt::IRContext* context, opt::Instruction* inst, uint32_t in_operand_index);
Dfuzzer_pass_construct_composites.cpp256 for (uint32_t in_operand_index = 0; in FindComponentsToConstructStruct() local
257 in_operand_index < struct_type_instruction.NumInOperands(); in FindComponentsToConstructStruct()
258 in_operand_index++) { in FindComponentsToConstructStruct()
260 struct_type_instruction.GetSingleWordInOperand(in_operand_index); in FindComponentsToConstructStruct()
Dtransformation_replace_constant_with_uniform.cpp111 message_.id_use_descriptor().in_operand_index() + 1), in GetInsertBeforeInstruction()
243 message_.id_use_descriptor().in_operand_index()) == in Apply()
269 message_.id_use_descriptor().in_operand_index(), in Apply()
Dtransformation_replace_boolean_constant_with_constant_binary.cpp286 message_.id_use_descriptor().in_operand_index() + 1)) in ApplyWithResult()
305 message_.id_use_descriptor().in_operand_index(), in ApplyWithResult()
Dtransformation_propagate_instruction_down.cpp175 auto in_operand_index = in Apply() local
178 if (fuzzerutil::IdIsAvailableAtUse(ir_context, user, in_operand_index, in Apply()
180 user->SetInOperand(in_operand_index, {id}); in Apply()
Dfuzzer_pass_obfuscate_constants.h98 const opt::Instruction& inst, uint32_t in_operand_index,
Dforce_render_red.cpp147 uint32_t in_operand_index) { in MakeConstantUniformReplacement() argument
152 in_operand_index), in MakeConstantUniformReplacement()
Dfuzzer_pass_donate_modules.cpp910 for (uint32_t in_operand_index = 0; in PrepareInstructionForDonation() local
911 in_operand_index < instruction.NumInOperands(); in_operand_index++) { in PrepareInstructionForDonation()
913 const opt::Operand& in_operand = instruction.GetInOperand(in_operand_index); in PrepareInstructionForDonation()
Dfuzzer_pass.cpp565 uint32_t in_operand_index = in MaybeAddUseToReplace() local
568 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in_operand_index); in MaybeAddUseToReplace()

12