/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/ |
D | fuzzerutil_test.cpp | 56 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 68 ASSERT_TRUE(fuzzerutil::MaybeFindBlock(ir_context, block_id1) != nullptr); in TEST() 70 ASSERT_TRUE(fuzzerutil::MaybeFindBlock(ir_context, block_id2) != nullptr); in TEST() 72 ASSERT_FALSE(fuzzerutil::MaybeFindBlock(ir_context, block_id3) != nullptr); in TEST() 74 ASSERT_FALSE(fuzzerutil::MaybeFindBlock(ir_context, block_id4) != nullptr); in TEST() 159 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 166 ASSERT_EQ(11, fuzzerutil::MaybeGetBoolConstant( in TEST() 169 ASSERT_EQ(9, fuzzerutil::MaybeGetBoolConstant( in TEST() 248 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 253 ASSERT_TRUE(fuzzerutil::MaybeGetBoolType(ir_context)); in TEST() [all …]
|
D | fuzzer_pass_donate_modules_test.cpp | 196 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 201 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 219 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 277 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 282 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 298 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 408 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 413 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 429 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 503 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_parameter_with_global.cpp | 49 const auto* function = fuzzerutil::GetFunctionFromParameterId( in IsApplicable() 52 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 65 if (fuzzerutil::MaybeGetZeroConstant(ir_context, transformation_context, in IsApplicable() 71 if (!fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in IsApplicable() 76 return fuzzerutil::IsFreshId(ir_context, message_.function_type_fresh_id()) && in IsApplicable() 77 fuzzerutil::IsFreshId(ir_context, in IsApplicable() 91 fuzzerutil::AddGlobalVariable( in Apply() 93 fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in Apply() 96 fuzzerutil::MaybeGetZeroConstant(ir_context, *transformation_context, in Apply() 99 auto* function = fuzzerutil::GetFunctionFromParameterId( in Apply() [all …]
|
D | transformation_replace_params_with_struct.cpp | 40 fuzzerutil::MapToRepeatedUInt32Pair(caller_id_to_fresh_composite_id); in TransformationReplaceParamsWithStruct() 49 if (parameter_id.empty() || fuzzerutil::HasDuplicates(parameter_id)) { in IsApplicable() 62 fuzzerutil::GetFunctionFromParameterId(ir_context, parameter_id[0]); in IsApplicable() 64 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 71 fuzzerutil::GetParameters(ir_context, function->result_id())) { in IsApplicable() 89 fuzzerutil::GetTypeId(ir_context, id))) { in IsApplicable() 103 fuzzerutil::RepeatedUInt32PairToMap( in IsApplicable() 108 fuzzerutil::GetCallers(ir_context, function->result_id())) { in IsApplicable() 124 return !fuzzerutil::HasDuplicates(fresh_ids) && in IsApplicable() 127 return fuzzerutil::IsFreshId(ir_context, id); in IsApplicable() [all …]
|
D | transformation_composite_insert.cpp | 45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 59 auto component_to_be_replaced_type_id = fuzzerutil::WalkCompositeTypeIndices( in IsApplicable() 94 if (!fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 98 if (!fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 105 return fuzzerutil::CanInsertOpcodeBeforeInstruction( in IsApplicable() 113 assert(fuzzerutil::IsFreshId(ir_context, message_.fresh_id()) && in Apply() 117 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply() 125 fuzzerutil::GetTypeId(ir_context, message_.composite_id()); in Apply() 132 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 157 if (!fuzzerutil::IsCompositeType(composite_type)) { in IsCompositeInstructionSupported() [all …]
|
D | transformation_add_parameter.cpp | 34 fuzzerutil::MapToRepeatedUInt32Pair(call_parameter_ids); in TransformationAddParameter() 42 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable() 44 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 59 fuzzerutil::RepeatedUInt32PairToMap(message_.call_parameter_ids()); in IsApplicable() 61 fuzzerutil::GetCallers(ir_context, message_.function_id())) { in IsApplicable() 77 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, instr, in IsApplicable() 83 uint32_t value_type_id = fuzzerutil::GetTypeId(ir_context, value_id); in IsApplicable() 93 return fuzzerutil::IsFreshId(ir_context, message_.parameter_fresh_id()) && in IsApplicable() 94 fuzzerutil::IsFreshId(ir_context, message_.function_type_fresh_id()) && in IsApplicable() 102 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply() [all …]
|
D | transformation_add_dead_break.cpp | 88 return !fuzzerutil::BlockIsInLoopContinueConstruct( in AddingBreakRespectsStructuredControlFlow() 90 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() 102 return !fuzzerutil::BlockIsInLoopContinueConstruct( in AddingBreakRespectsStructuredControlFlow() 104 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() 115 if (!fuzzerutil::MaybeGetBoolConstant(ir_context, transformation_context, in IsApplicable() 126 fuzzerutil::MaybeFindBlock(ir_context, message_.from_block()); in IsApplicable() 131 fuzzerutil::MaybeFindBlock(ir_context, message_.to_block()); in IsApplicable() 136 if (!fuzzerutil::BlockIsReachableInItsFunction(ir_context, bb_to)) { in IsApplicable() 162 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, bb_to, in IsApplicable() 182 auto cloned_context = fuzzerutil::CloneIRContext(ir_context); in IsApplicable() [all …]
|
D | transformation_add_copy_memory.cpp | 42 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 54 auto iter = fuzzerutil::GetIteratorForInstruction( in IsApplicable() 56 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpCopyMemory, iter)) { in IsApplicable() 73 auto pointee_type_id = fuzzerutil::GetPointeeTypeIdFromPointerType( in IsApplicable() 77 if (!fuzzerutil::MaybeGetPointerType( in IsApplicable() 91 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, inst, in IsApplicable() 103 auto insert_before_iter = fuzzerutil::GetIteratorForInstruction( in Apply() 114 auto type_id = fuzzerutil::MaybeGetPointerType( in Apply() 116 fuzzerutil::GetPointeeTypeIdFromPointerType( in Apply() 117 ir_context, fuzzerutil::GetTypeId(ir_context, message_.source_id())), in Apply() [all …]
|
D | transformation_mutate_pointer.cpp | 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 54 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, in IsApplicable() 70 auto constant_id = fuzzerutil::MaybeGetZeroConstant( in IsApplicable() 72 fuzzerutil::GetPointeeTypeIdFromPointerType(ir_context, in IsApplicable() 79 assert(fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 85 return fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 96 auto pointee_type_id = fuzzerutil::GetPointeeTypeIdFromPointerType( in Apply() 97 ir_context, fuzzerutil::GetTypeId(ir_context, message_.pointer_id())); in Apply() 111 {fuzzerutil::MaybeGetZeroConstant( in Apply() 121 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_parameter_with_global.cpp | 49 const auto* function = fuzzerutil::GetFunctionFromParameterId( in IsApplicable() 52 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 65 if (fuzzerutil::MaybeGetZeroConstant(ir_context, transformation_context, in IsApplicable() 71 if (!fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in IsApplicable() 76 return fuzzerutil::IsFreshId(ir_context, message_.function_type_fresh_id()) && in IsApplicable() 77 fuzzerutil::IsFreshId(ir_context, in IsApplicable() 91 fuzzerutil::AddGlobalVariable( in Apply() 93 fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in Apply() 96 fuzzerutil::MaybeGetZeroConstant(ir_context, *transformation_context, in Apply() 99 auto* function = fuzzerutil::GetFunctionFromParameterId( in Apply() [all …]
|
D | transformation_replace_params_with_struct.cpp | 40 fuzzerutil::MapToRepeatedUInt32Pair(caller_id_to_fresh_composite_id); in TransformationReplaceParamsWithStruct() 49 if (parameter_id.empty() || fuzzerutil::HasDuplicates(parameter_id)) { in IsApplicable() 62 fuzzerutil::GetFunctionFromParameterId(ir_context, parameter_id[0]); in IsApplicable() 64 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 71 fuzzerutil::GetParameters(ir_context, function->result_id())) { in IsApplicable() 89 fuzzerutil::GetTypeId(ir_context, id))) { in IsApplicable() 103 fuzzerutil::RepeatedUInt32PairToMap( in IsApplicable() 108 fuzzerutil::GetCallers(ir_context, function->result_id())) { in IsApplicable() 124 return !fuzzerutil::HasDuplicates(fresh_ids) && in IsApplicable() 127 return fuzzerutil::IsFreshId(ir_context, id); in IsApplicable() [all …]
|
D | transformation_composite_insert.cpp | 45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 59 auto component_to_be_replaced_type_id = fuzzerutil::WalkCompositeTypeIndices( in IsApplicable() 94 if (!fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 98 if (!fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 105 return fuzzerutil::CanInsertOpcodeBeforeInstruction( in IsApplicable() 113 assert(fuzzerutil::IsFreshId(ir_context, message_.fresh_id()) && in Apply() 117 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply() 125 fuzzerutil::GetTypeId(ir_context, message_.composite_id()); in Apply() 132 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 157 if (!fuzzerutil::IsCompositeType(composite_type)) { in IsCompositeInstructionSupported() [all …]
|
D | transformation_add_parameter.cpp | 34 fuzzerutil::MapToRepeatedUInt32Pair(call_parameter_ids); in TransformationAddParameter() 42 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable() 44 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 59 fuzzerutil::RepeatedUInt32PairToMap(message_.call_parameter_ids()); in IsApplicable() 61 fuzzerutil::GetCallers(ir_context, message_.function_id())) { in IsApplicable() 77 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, instr, in IsApplicable() 83 uint32_t value_type_id = fuzzerutil::GetTypeId(ir_context, value_id); in IsApplicable() 93 return fuzzerutil::IsFreshId(ir_context, message_.parameter_fresh_id()) && in IsApplicable() 94 fuzzerutil::IsFreshId(ir_context, message_.function_type_fresh_id()) && in IsApplicable() 102 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply() [all …]
|
D | transformation_add_dead_break.cpp | 88 return !fuzzerutil::BlockIsInLoopContinueConstruct( in AddingBreakRespectsStructuredControlFlow() 90 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() 102 return !fuzzerutil::BlockIsInLoopContinueConstruct( in AddingBreakRespectsStructuredControlFlow() 104 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() 115 if (!fuzzerutil::MaybeGetBoolConstant(ir_context, transformation_context, in IsApplicable() 126 fuzzerutil::MaybeFindBlock(ir_context, message_.from_block()); in IsApplicable() 131 fuzzerutil::MaybeFindBlock(ir_context, message_.to_block()); in IsApplicable() 136 if (!fuzzerutil::BlockIsReachableInItsFunction(ir_context, bb_to)) { in IsApplicable() 162 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, bb_to, in IsApplicable() 182 auto cloned_context = fuzzerutil::CloneIRContext(ir_context); in IsApplicable() [all …]
|
D | transformation_add_copy_memory.cpp | 42 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 54 auto iter = fuzzerutil::GetIteratorForInstruction( in IsApplicable() 56 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpCopyMemory, iter)) { in IsApplicable() 73 auto pointee_type_id = fuzzerutil::GetPointeeTypeIdFromPointerType( in IsApplicable() 77 if (!fuzzerutil::MaybeGetPointerType( in IsApplicable() 91 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, inst, in IsApplicable() 103 auto insert_before_iter = fuzzerutil::GetIteratorForInstruction( in Apply() 114 auto type_id = fuzzerutil::MaybeGetPointerType( in Apply() 116 fuzzerutil::GetPointeeTypeIdFromPointerType( in Apply() 117 ir_context, fuzzerutil::GetTypeId(ir_context, message_.source_id())), in Apply() [all …]
|
D | transformation_mutate_pointer.cpp | 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 54 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, in IsApplicable() 70 auto constant_id = fuzzerutil::MaybeGetZeroConstant( in IsApplicable() 72 fuzzerutil::GetPointeeTypeIdFromPointerType(ir_context, in IsApplicable() 79 assert(fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 85 return fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 96 auto pointee_type_id = fuzzerutil::GetPointeeTypeIdFromPointerType( in Apply() 97 ir_context, fuzzerutil::GetTypeId(ir_context, message_.pointer_id())); in Apply() 111 {fuzzerutil::MaybeGetZeroConstant( in Apply() 121 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() [all …]
|
D | transformation_push_id_through_variable.cpp | 43 if (!fuzzerutil::IsFreshId(ir_context, message_.value_synonym_id()) || in IsApplicable() 44 !fuzzerutil::IsFreshId(ir_context, message_.variable_id())) { in IsApplicable() 56 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction( in IsApplicable() 58 !fuzzerutil::CanInsertOpcodeBeforeInstruction( in IsApplicable() 65 if (!fuzzerutil::BlockIsReachableInItsFunction(ir_context, basic_block)) { in IsApplicable() 77 auto pointer_type_id = fuzzerutil::MaybeGetPointerType( in IsApplicable() 98 return fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 109 auto pointer_type_id = fuzzerutil::MaybeGetPointerType( in Apply() 116 fuzzerutil::AddGlobalVariable(ir_context, message_.variable_id(), in Apply() 125 fuzzerutil::AddLocalVariable(ir_context, message_.variable_id(), in Apply() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/ |
D | transformation_replace_parameter_with_global.cpp | 49 const auto* function = fuzzerutil::GetFunctionFromParameterId( in IsApplicable() 52 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 65 if (fuzzerutil::MaybeGetZeroConstant(ir_context, transformation_context, in IsApplicable() 71 if (!fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in IsApplicable() 76 return fuzzerutil::IsFreshId(ir_context, message_.function_type_fresh_id()) && in IsApplicable() 77 fuzzerutil::IsFreshId(ir_context, in IsApplicable() 91 fuzzerutil::AddGlobalVariable( in Apply() 93 fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in Apply() 96 fuzzerutil::MaybeGetZeroConstant(ir_context, *transformation_context, in Apply() 99 auto* function = fuzzerutil::GetFunctionFromParameterId( in Apply() [all …]
|
D | transformation_replace_params_with_struct.cpp | 40 fuzzerutil::MapToRepeatedUInt32Pair(caller_id_to_fresh_composite_id); in TransformationReplaceParamsWithStruct() 49 if (parameter_id.empty() || fuzzerutil::HasDuplicates(parameter_id)) { in IsApplicable() 62 fuzzerutil::GetFunctionFromParameterId(ir_context, parameter_id[0]); in IsApplicable() 64 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 71 fuzzerutil::GetParameters(ir_context, function->result_id())) { in IsApplicable() 89 fuzzerutil::GetTypeId(ir_context, id))) { in IsApplicable() 103 fuzzerutil::RepeatedUInt32PairToMap( in IsApplicable() 108 fuzzerutil::GetCallers(ir_context, function->result_id())) { in IsApplicable() 124 return !fuzzerutil::HasDuplicates(fresh_ids) && in IsApplicable() 127 return fuzzerutil::IsFreshId(ir_context, id); in IsApplicable() [all …]
|
D | transformation_composite_insert.cpp | 44 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 58 auto component_to_be_replaced_type_id = fuzzerutil::WalkCompositeTypeIndices( in IsApplicable() 93 if (!fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 97 if (!fuzzerutil::IdIsAvailableBeforeInstruction( in IsApplicable() 104 return fuzzerutil::CanInsertOpcodeBeforeInstruction( in IsApplicable() 112 assert(fuzzerutil::IsFreshId(ir_context, message_.fresh_id()) && in Apply() 116 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply() 124 fuzzerutil::GetTypeId(ir_context, message_.composite_id()); in Apply() 134 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 162 if (!fuzzerutil::IsCompositeType(composite_type)) { in IsCompositeInstructionSupported() [all …]
|
D | transformation_add_parameter.cpp | 34 fuzzerutil::MapToRepeatedUInt32Pair(call_parameter_ids); in TransformationAddParameter() 42 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable() 44 fuzzerutil::FunctionIsEntryPoint(ir_context, function->result_id())) { in IsApplicable() 59 fuzzerutil::RepeatedUInt32PairToMap(message_.call_parameter_ids()); in IsApplicable() 61 fuzzerutil::GetCallers(ir_context, message_.function_id())) { in IsApplicable() 77 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, instr, in IsApplicable() 83 uint32_t value_type_id = fuzzerutil::GetTypeId(ir_context, value_id); in IsApplicable() 93 return fuzzerutil::IsFreshId(ir_context, message_.parameter_fresh_id()) && in IsApplicable() 94 fuzzerutil::IsFreshId(ir_context, message_.function_type_fresh_id()) && in IsApplicable() 102 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply() [all …]
|
D | transformation_add_dead_break.cpp | 88 return !fuzzerutil::BlockIsInLoopContinueConstruct( in AddingBreakRespectsStructuredControlFlow() 90 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() 102 return !fuzzerutil::BlockIsInLoopContinueConstruct( in AddingBreakRespectsStructuredControlFlow() 104 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() 116 fuzzerutil::MaybeGetBoolConstant(ir_context, transformation_context, in IsApplicable() 127 fuzzerutil::MaybeFindBlock(ir_context, message_.from_block()); in IsApplicable() 132 fuzzerutil::MaybeFindBlock(ir_context, message_.to_block()); in IsApplicable() 163 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, bb_to, in IsApplicable() 176 return fuzzerutil::NewTerminatorPreservesDominationRules( in IsApplicable() 178 fuzzerutil::CreateUnreachableEdgeInstruction( in IsApplicable() [all …]
|
D | transformation_add_copy_memory.cpp | 42 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 54 auto iter = fuzzerutil::GetIteratorForInstruction( in IsApplicable() 56 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpCopyMemory, iter)) { in IsApplicable() 73 auto pointee_type_id = fuzzerutil::GetPointeeTypeIdFromPointerType( in IsApplicable() 77 if (!fuzzerutil::MaybeGetPointerType( in IsApplicable() 91 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, inst, in IsApplicable() 107 auto type_id = fuzzerutil::MaybeGetPointerType( in Apply() 109 fuzzerutil::GetPointeeTypeIdFromPointerType( in Apply() 110 ir_context, fuzzerutil::GetTypeId(ir_context, message_.source_id())), in Apply() 115 fuzzerutil::AddGlobalVariable(ir_context, message_.fresh_id(), type_id, in Apply() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | fuzzer_pass_donate_modules_test.cpp | 196 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 201 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 219 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 277 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 282 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 298 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 408 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 413 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 429 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 503 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/fuzz/ |
D | fuzzer_pass_donate_modules_test.cpp | 196 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 201 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 219 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 277 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 282 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 298 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 408 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 413 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 429 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() 503 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed( in TEST() [all …]
|