Home
last modified time | relevance | path

Searched refs:type_instruction (Results 1 – 15 of 15) sorted by relevance

/external/angle/third_party/spirv-tools/src/source/fuzz/
Dtransformation_add_local_variable.cpp44 auto type_instruction = in IsApplicable() local
46 if (!type_instruction || type_instruction->opcode() != SpvOpTypePointer || in IsApplicable()
47 type_instruction->GetSingleWordInOperand(0) != SpvStorageClassFunction) { in IsApplicable()
63 type_instruction->GetSingleWordInOperand(1)) { in IsApplicable()
Dfuzzer_pass.cpp404 auto type_instruction = in FindOrCreateZeroConstant() local
406 assert(type_instruction && "The type instruction must exist."); in FindOrCreateZeroConstant()
407 switch (type_instruction->opcode()) { in FindOrCreateZeroConstant()
414 0, type_instruction->GetSingleWordInOperand(1) != 0); in FindOrCreateZeroConstant()
417 *type_instruction, type_instruction->GetSingleWordInOperand(0), in FindOrCreateZeroConstant()
418 fuzzerutil::GetArraySize(*type_instruction, GetIRContext())); in FindOrCreateZeroConstant()
423 *type_instruction, type_instruction->GetSingleWordInOperand(0), in FindOrCreateZeroConstant()
424 type_instruction->GetSingleWordInOperand(1)); in FindOrCreateZeroConstant()
429 for (uint32_t index = 0; index < type_instruction->NumInOperands(); in FindOrCreateZeroConstant()
432 type_instruction->GetSingleWordInOperand(index)); in FindOrCreateZeroConstant()
[all …]
Dfuzzer_pass_add_function_calls.cpp201 auto type_instruction = in ChooseFunctionCallArguments() local
204 if (type_instruction->opcode() == SpvOpTypePointer) { in ChooseFunctionCallArguments()
218 type_instruction->GetSingleWordInOperand(0)); in ChooseFunctionCallArguments()
225 type_instruction->GetSingleWordInOperand(1)), in ChooseFunctionCallArguments()
239 type_instruction->GetSingleWordInOperand(1)) in ChooseFunctionCallArguments()
Dfact_manager.cpp719 auto type_instruction = context->get_def_use_mgr()->GetDef(type_id); in AddDataSynonymFactRecursive() local
728 fuzzerutil::GetArraySize(*type_instruction, context); in AddDataSynonymFactRecursive()
733 fuzzerutil::GetNumberOfStructMembers(*type_instruction); in AddDataSynonymFactRecursive()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_local_variable.cpp44 auto type_instruction = in IsApplicable() local
46 if (!type_instruction || type_instruction->opcode() != SpvOpTypePointer || in IsApplicable()
47 type_instruction->GetSingleWordInOperand(0) != SpvStorageClassFunction) { in IsApplicable()
63 type_instruction->GetSingleWordInOperand(1)) { in IsApplicable()
Dfuzzer_pass.cpp404 auto type_instruction = in FindOrCreateZeroConstant() local
406 assert(type_instruction && "The type instruction must exist."); in FindOrCreateZeroConstant()
407 switch (type_instruction->opcode()) { in FindOrCreateZeroConstant()
414 0, type_instruction->GetSingleWordInOperand(1) != 0); in FindOrCreateZeroConstant()
417 *type_instruction, type_instruction->GetSingleWordInOperand(0), in FindOrCreateZeroConstant()
418 fuzzerutil::GetArraySize(*type_instruction, GetIRContext())); in FindOrCreateZeroConstant()
423 *type_instruction, type_instruction->GetSingleWordInOperand(0), in FindOrCreateZeroConstant()
424 type_instruction->GetSingleWordInOperand(1)); in FindOrCreateZeroConstant()
429 for (uint32_t index = 0; index < type_instruction->NumInOperands(); in FindOrCreateZeroConstant()
432 type_instruction->GetSingleWordInOperand(index)); in FindOrCreateZeroConstant()
[all …]
Dfuzzer_pass_add_function_calls.cpp201 auto type_instruction = in ChooseFunctionCallArguments() local
204 if (type_instruction->opcode() == SpvOpTypePointer) { in ChooseFunctionCallArguments()
218 type_instruction->GetSingleWordInOperand(0)); in ChooseFunctionCallArguments()
225 type_instruction->GetSingleWordInOperand(1)), in ChooseFunctionCallArguments()
239 type_instruction->GetSingleWordInOperand(1)) in ChooseFunctionCallArguments()
Dfact_manager.cpp747 auto type_instruction = context->get_def_use_mgr()->GetDef(type_id); in AddDataSynonymFactRecursive() local
756 fuzzerutil::GetArraySize(*type_instruction, context); in AddDataSynonymFactRecursive()
761 fuzzerutil::GetNumberOfStructMembers(*type_instruction); in AddDataSynonymFactRecursive()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_local_variable.cpp45 auto type_instruction = in IsApplicable() local
47 if (!type_instruction || type_instruction->opcode() != SpvOpTypePointer || in IsApplicable()
48 type_instruction->GetSingleWordInOperand(0) != SpvStorageClassFunction) { in IsApplicable()
64 type_instruction->GetSingleWordInOperand(1)) { in IsApplicable()
Dfuzzer_pass.cpp352 auto type_instruction = in FindOrCreateZeroConstant() local
354 assert(type_instruction && "The type instruction must exist."); in FindOrCreateZeroConstant()
355 switch (type_instruction->opcode()) { in FindOrCreateZeroConstant()
362 0, type_instruction->GetSingleWordInOperand(1) != 0); in FindOrCreateZeroConstant()
365 *type_instruction, type_instruction->GetSingleWordInOperand(0), in FindOrCreateZeroConstant()
366 fuzzerutil::GetArraySize(*type_instruction, GetIRContext())); in FindOrCreateZeroConstant()
371 *type_instruction, type_instruction->GetSingleWordInOperand(0), in FindOrCreateZeroConstant()
372 type_instruction->GetSingleWordInOperand(1)); in FindOrCreateZeroConstant()
377 for (uint32_t index = 0; index < type_instruction->NumInOperands(); in FindOrCreateZeroConstant()
380 type_instruction->GetSingleWordInOperand(index)); in FindOrCreateZeroConstant()
[all …]
Dfuzzer_pass_add_function_calls.cpp197 auto type_instruction = in ChooseFunctionCallArguments() local
200 if (type_instruction->opcode() == SpvOpTypePointer) { in ChooseFunctionCallArguments()
213 if (type_instruction->GetSingleWordInOperand(0) == in ChooseFunctionCallArguments()
220 type_instruction->GetSingleWordInOperand(1)), in ChooseFunctionCallArguments()
223 assert(type_instruction->GetSingleWordInOperand(0) == in ChooseFunctionCallArguments()
232 type_instruction->GetSingleWordInOperand(1)), in ChooseFunctionCallArguments()
Dfact_manager.cpp435 auto type_instruction = context->get_def_use_mgr()->GetDef(type_id); in AddFactRecursive() local
444 fuzzerutil::GetArraySize(*type_instruction, context); in AddFactRecursive()
449 fuzzerutil::GetNumberOfStructMembers(*type_instruction); in AddFactRecursive()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_constants.cpp354 auto type_instruction = _.FindDef(type_id); in ValidateSpecConstant() local
355 auto type_opcode = type_instruction->opcode(); in ValidateSpecConstant()
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_constants.cpp354 auto type_instruction = _.FindDef(type_id); in ValidateSpecConstant() local
355 auto type_opcode = type_instruction->opcode(); in ValidateSpecConstant()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_constants.cpp354 auto type_instruction = _.FindDef(type_id); in ValidateSpecConstant() local
355 auto type_opcode = type_instruction->opcode(); in ValidateSpecConstant()