/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_dead_block.cpp | 26 TransformationAddDeadBlock::TransformationAddDeadBlock(uint32_t fresh_id, in TransformationAddDeadBlock() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddDeadBlock() 38 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 87 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply() 102 MakeUnique<opt::Instruction>(context, SpvOpLabel, 0, message_.fresh_id(), in Apply() 127 : message_.fresh_id()}}, in Apply() 129 {message_.condition_value() ? message_.fresh_id() in Apply() 138 fact_manager->AddFactBlockIsDead(message_.fresh_id()); in Apply() 154 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
|
D | transformation_add_global_variable.cpp | 27 uint32_t fresh_id, uint32_t type_id, uint32_t initializer_id, in TransformationAddGlobalVariable() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddGlobalVariable() 39 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 84 message_.fresh_id(), input_operands)); in Apply() 85 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply() 98 entry_point.AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply() 103 fact_manager->AddFactValueOfPointeeIsIrrelevant(message_.fresh_id()); in Apply()
|
D | transformation_copy_object.cpp | 33 uint32_t fresh_id) { in TransformationCopyObject() argument 37 message_.set_fresh_id(fresh_id); in TransformationCopyObject() 42 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 90 message_.fresh_id(), operands)); in Apply() 92 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply() 96 MakeDataDescriptor(message_.fresh_id(), {}), in Apply() 100 fact_manager->AddFactValueOfPointeeIsIrrelevant(message_.fresh_id()); in Apply()
|
D | transformation_split_block.cpp | 32 uint32_t fresh_id) { in TransformationSplitBlock() argument 34 message_.set_fresh_id(fresh_id); in TransformationSplitBlock() 39 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 96 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply() 98 auto new_bb = block_to_split->SplitBasicBlock(context, message_.fresh_id(), in Apply() 105 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {message_.fresh_id()})})); in Apply() 121 fact_manager->AddFactBlockIsDead(message_.fresh_id()); in Apply()
|
D | transformation_add_local_variable.cpp | 27 uint32_t fresh_id, uint32_t type_id, uint32_t function_id, in TransformationAddLocalVariable() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddLocalVariable() 40 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 73 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply() 78 context, SpvOpVariable, message_.type_id(), message_.fresh_id(), in Apply() 86 fact_manager->AddFactValueOfPointeeIsIrrelevant(message_.fresh_id()); in Apply()
|
D | transformation_add_type_boolean.cpp | 26 TransformationAddTypeBoolean::TransformationAddTypeBoolean(uint32_t fresh_id) { in TransformationAddTypeBoolean() argument 27 message_.set_fresh_id(fresh_id); in TransformationAddTypeBoolean() 34 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 47 context, SpvOpTypeBool, 0, message_.fresh_id(), empty_operands)); in Apply() 48 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply()
|
D | transformation_add_constant_boolean.cpp | 28 uint32_t fresh_id, bool is_true) { in TransformationAddConstantBoolean() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddConstantBoolean() 40 return fuzzerutil::IsFreshId(context, message_.fresh_id()); in IsApplicable() 48 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply() 51 message_.fresh_id(), context->get_type_mgr()->GetId(&bool_type)); in Apply()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_add_dead_block.cpp | 26 TransformationAddDeadBlock::TransformationAddDeadBlock(uint32_t fresh_id, in TransformationAddDeadBlock() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddDeadBlock() 37 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 87 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 103 ir_context, SpvOpLabel, 0, message_.fresh_id(), in Apply() 128 : message_.fresh_id()}}, in Apply() 130 {message_.condition_value() ? message_.fresh_id() in Apply() 140 message_.fresh_id()); in Apply() 156 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
|
D | transformation_copy_object.cpp | 33 uint32_t fresh_id) { in TransformationCopyObject() argument 37 message_.set_fresh_id(fresh_id); in TransformationCopyObject() 42 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 91 message_.fresh_id(), operands)); in Apply() 93 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 99 MakeDataDescriptor(message_.fresh_id(), {}), ir_context); in Apply() 104 message_.fresh_id()); in Apply()
|
D | transformation_split_block.cpp | 32 uint32_t fresh_id) { in TransformationSplitBlock() argument 34 message_.set_fresh_id(fresh_id); in TransformationSplitBlock() 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 98 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 100 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply() 107 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {message_.fresh_id()})})); in Apply() 125 message_.fresh_id()); in Apply()
|
D | transformation_add_global_variable.cpp | 27 uint32_t fresh_id, uint32_t type_id, SpvStorageClass storage_class, in TransformationAddGlobalVariable() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddGlobalVariable() 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 104 ir_context, SpvOpVariable, message_.type_id(), message_.fresh_id(), in Apply() 106 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 119 entry_point.AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply() 125 message_.fresh_id()); in Apply()
|
D | transformation_add_local_variable.cpp | 27 uint32_t fresh_id, uint32_t type_id, uint32_t function_id, in TransformationAddLocalVariable() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddLocalVariable() 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 73 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 78 ir_context, SpvOpVariable, message_.type_id(), message_.fresh_id(), in Apply() 87 message_.fresh_id()); in Apply()
|
D | transformation_add_type_boolean.cpp | 26 TransformationAddTypeBoolean::TransformationAddTypeBoolean(uint32_t fresh_id) { in TransformationAddTypeBoolean() argument 27 message_.set_fresh_id(fresh_id); in TransformationAddTypeBoolean() 33 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 46 ir_context, SpvOpTypeBool, 0, message_.fresh_id(), empty_operands)); in Apply() 47 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
|
D | transformation_add_constant_null.cpp | 26 TransformationAddConstantNull::TransformationAddConstantNull(uint32_t fresh_id, in TransformationAddConstantNull() argument 28 message_.set_fresh_id(fresh_id); in TransformationAddConstantNull() 35 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 51 context, SpvOpConstantNull, message_.type_id(), message_.fresh_id(), in Apply() 53 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply()
|
D | transformation_add_constant_boolean.cpp | 28 uint32_t fresh_id, bool is_true) { in TransformationAddConstantBoolean() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddConstantBoolean() 40 return fuzzerutil::IsFreshId(ir_context, message_.fresh_id()); in IsApplicable() 48 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 51 message_.fresh_id(), ir_context->get_type_mgr()->GetId(&bool_type)); in Apply()
|
D | transformation_add_global_undef.cpp | 26 TransformationAddGlobalUndef::TransformationAddGlobalUndef(uint32_t fresh_id, in TransformationAddGlobalUndef() argument 28 message_.set_fresh_id(fresh_id); in TransformationAddGlobalUndef() 35 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 46 ir_context, SpvOpUndef, message_.type_id(), message_.fresh_id(), in Apply() 48 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
|
/external/angle/third_party/spirv-tools/src/source/fuzz/ |
D | transformation_add_dead_block.cpp | 26 TransformationAddDeadBlock::TransformationAddDeadBlock(uint32_t fresh_id, in TransformationAddDeadBlock() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddDeadBlock() 37 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 87 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 103 ir_context, SpvOpLabel, 0, message_.fresh_id(), in Apply() 128 : message_.fresh_id()}}, in Apply() 130 {message_.condition_value() ? message_.fresh_id() in Apply() 140 message_.fresh_id()); in Apply() 156 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
|
D | transformation_copy_object.cpp | 33 uint32_t fresh_id) { in TransformationCopyObject() argument 37 message_.set_fresh_id(fresh_id); in TransformationCopyObject() 42 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 91 message_.fresh_id(), operands)); in Apply() 93 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 99 MakeDataDescriptor(message_.fresh_id(), {}), ir_context); in Apply() 104 message_.fresh_id()); in Apply()
|
D | transformation_add_global_variable.cpp | 27 uint32_t fresh_id, uint32_t type_id, SpvStorageClass storage_class, in TransformationAddGlobalVariable() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddGlobalVariable() 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 104 ir_context, SpvOpVariable, message_.type_id(), message_.fresh_id(), in Apply() 106 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 119 entry_point.AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply() 125 message_.fresh_id()); in Apply()
|
D | transformation_split_block.cpp | 32 uint32_t fresh_id) { in TransformationSplitBlock() argument 34 message_.set_fresh_id(fresh_id); in TransformationSplitBlock() 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 124 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 126 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply() 133 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {message_.fresh_id()})})); in Apply() 151 message_.fresh_id()); in Apply()
|
D | transformation_add_local_variable.cpp | 27 uint32_t fresh_id, uint32_t type_id, uint32_t function_id, in TransformationAddLocalVariable() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddLocalVariable() 39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 73 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 78 ir_context, SpvOpVariable, message_.type_id(), message_.fresh_id(), in Apply() 87 message_.fresh_id()); in Apply()
|
D | transformation_add_type_boolean.cpp | 26 TransformationAddTypeBoolean::TransformationAddTypeBoolean(uint32_t fresh_id) { in TransformationAddTypeBoolean() argument 27 message_.set_fresh_id(fresh_id); in TransformationAddTypeBoolean() 33 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 46 ir_context, SpvOpTypeBool, 0, message_.fresh_id(), empty_operands)); in Apply() 47 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
|
D | transformation_add_global_undef.cpp | 26 TransformationAddGlobalUndef::TransformationAddGlobalUndef(uint32_t fresh_id, in TransformationAddGlobalUndef() argument 28 message_.set_fresh_id(fresh_id); in TransformationAddGlobalUndef() 35 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 46 ir_context, SpvOpUndef, message_.type_id(), message_.fresh_id(), in Apply() 48 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
|
D | transformation_add_constant_boolean.cpp | 28 uint32_t fresh_id, bool is_true) { in TransformationAddConstantBoolean() argument 29 message_.set_fresh_id(fresh_id); in TransformationAddConstantBoolean() 40 return fuzzerutil::IsFreshId(ir_context, message_.fresh_id()); in IsApplicable() 48 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply() 51 message_.fresh_id(), ir_context->get_type_mgr()->GetId(&bool_type)); in Apply()
|
D | transformation_add_constant_null.cpp | 26 TransformationAddConstantNull::TransformationAddConstantNull(uint32_t fresh_id, in TransformationAddConstantNull() argument 28 message_.set_fresh_id(fresh_id); in TransformationAddConstantNull() 35 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable() 51 context, SpvOpConstantNull, message_.type_id(), message_.fresh_id(), in Apply() 53 fuzzerutil::UpdateModuleIdBound(context, message_.fresh_id()); in Apply()
|