/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/ |
D | transformation_add_loop_to_create_int_constant_synonym.cpp | 27 : message_(std::move(message)) {} in TransformationAddLoopToCreateIntConstantSynonym() 36 message_.set_constant_id(constant_id); in TransformationAddLoopToCreateIntConstantSynonym() 37 message_.set_initial_val_id(initial_val_id); in TransformationAddLoopToCreateIntConstantSynonym() 38 message_.set_step_val_id(step_val_id); in TransformationAddLoopToCreateIntConstantSynonym() 39 message_.set_num_iterations_id(num_iterations_id); in TransformationAddLoopToCreateIntConstantSynonym() 40 message_.set_block_after_loop_id(block_after_loop_id); in TransformationAddLoopToCreateIntConstantSynonym() 41 message_.set_syn_id(syn_id); in TransformationAddLoopToCreateIntConstantSynonym() 42 message_.set_loop_id(loop_id); in TransformationAddLoopToCreateIntConstantSynonym() 43 message_.set_ctr_id(ctr_id); in TransformationAddLoopToCreateIntConstantSynonym() 44 message_.set_temp_id(temp_id); in TransformationAddLoopToCreateIntConstantSynonym() [all …]
|
D | transformation_push_id_through_variable.cpp | 25 : message_(std::move(message)) {} in TransformationPushIdThroughVariable() 31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable() 32 message_.set_value_synonym_id(value_synonym_id); in TransformationPushIdThroughVariable() 33 message_.set_variable_id(variable_id); in TransformationPushIdThroughVariable() 34 message_.set_variable_storage_class(variable_storage_class); in TransformationPushIdThroughVariable() 35 message_.set_initializer_id(initializer_id); in TransformationPushIdThroughVariable() 36 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationPushIdThroughVariable() 42 if (!fuzzerutil::IsFreshId(ir_context, message_.value_synonym_id()) || in IsApplicable() 43 !fuzzerutil::IsFreshId(ir_context, message_.variable_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable() [all …]
|
D | transformation_add_dead_break.cpp | 28 : message_(std::move(message)) {} in TransformationAddDeadBreak() 33 message_.set_from_block(from_block); in TransformationAddDeadBreak() 34 message_.set_to_block(to_block); in TransformationAddDeadBreak() 35 message_.set_break_condition_value(break_condition_value); in TransformationAddDeadBreak() 37 message_.add_phi_id(id); in TransformationAddDeadBreak() 66 return bb_from->MergeBlockId() == message_.to_block(); in AddingBreakRespectsStructuredControlFlow() 74 message_.from_block()); in AddingBreakRespectsStructuredControlFlow() 81 if (message_.to_block() == in AddingBreakRespectsStructuredControlFlow() 89 ir_context, message_.from_block(), containing_construct) || in AddingBreakRespectsStructuredControlFlow() 90 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() [all …]
|
D | transformation_load.cpp | 24 : message_(std::move(message)) {} in TransformationLoad() 30 message_.set_fresh_id(fresh_id); in TransformationLoad() 31 message_.set_pointer_id(pointer_id); in TransformationLoad() 32 message_.set_is_atomic(is_atomic); in TransformationLoad() 33 message_.set_memory_scope_id(memory_scope); in TransformationLoad() 34 message_.set_memory_semantics_id(memory_semantics); in TransformationLoad() 36 *message_.mutable_instruction_to_insert_before() = in TransformationLoad() 43 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 48 auto pointer = ir_context->get_def_use_mgr()->GetDef(message_.pointer_id()); in IsApplicable() 71 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() [all …]
|
D | transformation_vector_shuffle.cpp | 25 : message_(std::move(message)) {} in TransformationVectorShuffle() 31 *message_.mutable_instruction_to_insert_before() = in TransformationVectorShuffle() 33 message_.set_fresh_id(fresh_id); in TransformationVectorShuffle() 34 message_.set_vector1(vector1); in TransformationVectorShuffle() 35 message_.set_vector2(vector2); in TransformationVectorShuffle() 37 message_.add_component(a_component); in TransformationVectorShuffle() 44 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 55 ir_context->get_def_use_mgr()->GetDef(message_.vector1()); in IsApplicable() 61 ir_context->get_def_use_mgr()->GetDef(message_.vector2()); in IsApplicable() [all …]
|
D | transformation_composite_insert.cpp | 25 : message_(std::move(message)) {} in TransformationCompositeInsert() 31 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeInsert() 33 message_.set_fresh_id(fresh_id); in TransformationCompositeInsert() 34 message_.set_composite_id(composite_id); in TransformationCompositeInsert() 35 message_.set_object_id(object_id); in TransformationCompositeInsert() 37 message_.add_index(an_index); in TransformationCompositeInsert() 44 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 50 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable() 59 ir_context, composite->type_id(), message_.index()); in IsApplicable() 66 ir_context->get_def_use_mgr()->GetDef(message_.object_id()); in IsApplicable() [all …]
|
D | transformation_composite_extract.cpp | 28 : message_(std::move(message)) {} in TransformationCompositeExtract() 34 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeExtract() 36 message_.set_fresh_id(fresh_id); in TransformationCompositeExtract() 37 message_.set_composite_id(composite_id); in TransformationCompositeExtract() 39 message_.add_index(an_index); in TransformationCompositeExtract() 45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 54 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable() 59 ir_context, instruction_to_insert_before, message_.composite_id())) { in IsApplicable() 76 message_.index()) != 0; in IsApplicable() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_loop_to_create_int_constant_synonym.cpp | 27 : message_(std::move(message)) {} in TransformationAddLoopToCreateIntConstantSynonym() 36 message_.set_constant_id(constant_id); in TransformationAddLoopToCreateIntConstantSynonym() 37 message_.set_initial_val_id(initial_val_id); in TransformationAddLoopToCreateIntConstantSynonym() 38 message_.set_step_val_id(step_val_id); in TransformationAddLoopToCreateIntConstantSynonym() 39 message_.set_num_iterations_id(num_iterations_id); in TransformationAddLoopToCreateIntConstantSynonym() 40 message_.set_block_after_loop_id(block_after_loop_id); in TransformationAddLoopToCreateIntConstantSynonym() 41 message_.set_syn_id(syn_id); in TransformationAddLoopToCreateIntConstantSynonym() 42 message_.set_loop_id(loop_id); in TransformationAddLoopToCreateIntConstantSynonym() 43 message_.set_ctr_id(ctr_id); in TransformationAddLoopToCreateIntConstantSynonym() 44 message_.set_temp_id(temp_id); in TransformationAddLoopToCreateIntConstantSynonym() [all …]
|
D | transformation_push_id_through_variable.cpp | 25 : message_(std::move(message)) {} in TransformationPushIdThroughVariable() 31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable() 32 message_.set_value_synonym_id(value_synonym_id); in TransformationPushIdThroughVariable() 33 message_.set_variable_id(variable_id); in TransformationPushIdThroughVariable() 34 message_.set_variable_storage_class(variable_storage_class); in TransformationPushIdThroughVariable() 35 message_.set_initializer_id(initializer_id); in TransformationPushIdThroughVariable() 36 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationPushIdThroughVariable() 42 if (!fuzzerutil::IsFreshId(ir_context, message_.value_synonym_id()) || in IsApplicable() 43 !fuzzerutil::IsFreshId(ir_context, message_.variable_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable() [all …]
|
D | transformation_add_dead_break.cpp | 28 : message_(std::move(message)) {} in TransformationAddDeadBreak() 33 message_.set_from_block(from_block); in TransformationAddDeadBreak() 34 message_.set_to_block(to_block); in TransformationAddDeadBreak() 35 message_.set_break_condition_value(break_condition_value); in TransformationAddDeadBreak() 37 message_.add_phi_id(id); in TransformationAddDeadBreak() 66 return bb_from->MergeBlockId() == message_.to_block(); in AddingBreakRespectsStructuredControlFlow() 74 message_.from_block()); in AddingBreakRespectsStructuredControlFlow() 81 if (message_.to_block() == in AddingBreakRespectsStructuredControlFlow() 89 ir_context, message_.from_block(), containing_construct) || in AddingBreakRespectsStructuredControlFlow() 90 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() [all …]
|
D | transformation_load.cpp | 24 : message_(std::move(message)) {} in TransformationLoad() 30 message_.set_fresh_id(fresh_id); in TransformationLoad() 31 message_.set_pointer_id(pointer_id); in TransformationLoad() 32 message_.set_is_atomic(is_atomic); in TransformationLoad() 33 message_.set_memory_scope_id(memory_scope); in TransformationLoad() 34 message_.set_memory_semantics_id(memory_semantics); in TransformationLoad() 36 *message_.mutable_instruction_to_insert_before() = in TransformationLoad() 43 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 48 auto pointer = ir_context->get_def_use_mgr()->GetDef(message_.pointer_id()); in IsApplicable() 71 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() [all …]
|
D | transformation_composite_insert.cpp | 25 : message_(std::move(message)) {} in TransformationCompositeInsert() 31 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeInsert() 33 message_.set_fresh_id(fresh_id); in TransformationCompositeInsert() 34 message_.set_composite_id(composite_id); in TransformationCompositeInsert() 35 message_.set_object_id(object_id); in TransformationCompositeInsert() 37 message_.add_index(an_index); in TransformationCompositeInsert() 44 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 50 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable() 59 ir_context, composite->type_id(), message_.index()); in IsApplicable() 66 ir_context->get_def_use_mgr()->GetDef(message_.object_id()); in IsApplicable() [all …]
|
D | transformation_vector_shuffle.cpp | 25 : message_(std::move(message)) {} in TransformationVectorShuffle() 31 *message_.mutable_instruction_to_insert_before() = in TransformationVectorShuffle() 33 message_.set_fresh_id(fresh_id); in TransformationVectorShuffle() 34 message_.set_vector1(vector1); in TransformationVectorShuffle() 35 message_.set_vector2(vector2); in TransformationVectorShuffle() 37 message_.add_component(a_component); in TransformationVectorShuffle() 44 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 55 ir_context->get_def_use_mgr()->GetDef(message_.vector1()); in IsApplicable() 61 ir_context->get_def_use_mgr()->GetDef(message_.vector2()); in IsApplicable() [all …]
|
D | transformation_composite_extract.cpp | 28 : message_(std::move(message)) {} in TransformationCompositeExtract() 34 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeExtract() 36 message_.set_fresh_id(fresh_id); in TransformationCompositeExtract() 37 message_.set_composite_id(composite_id); in TransformationCompositeExtract() 39 message_.add_index(an_index); in TransformationCompositeExtract() 45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 54 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable() 59 ir_context, instruction_to_insert_before, message_.composite_id())) { in IsApplicable() 76 message_.index()) != 0; in IsApplicable() [all …]
|
D | transformation_store.cpp | 24 : message_(std::move(message)) {} in TransformationStore() 30 message_.set_pointer_id(pointer_id); in TransformationStore() 31 message_.set_is_atomic(is_atomic); in TransformationStore() 32 message_.set_memory_scope_id(memory_scope); in TransformationStore() 33 message_.set_memory_semantics_id(memory_semantics); in TransformationStore() 34 message_.set_value_id(value_id); in TransformationStore() 35 *message_.mutable_instruction_to_insert_before() = in TransformationStore() 43 auto pointer = ir_context->get_def_use_mgr()->GetDef(message_.pointer_id()); in IsApplicable() 71 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 77 if (!message_.is_atomic() && !fuzzerutil::CanInsertOpcodeBeforeInstruction( in IsApplicable() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_add_loop_to_create_int_constant_synonym.cpp | 27 : message_(std::move(message)) {} in TransformationAddLoopToCreateIntConstantSynonym() 36 message_.set_constant_id(constant_id); in TransformationAddLoopToCreateIntConstantSynonym() 37 message_.set_initial_val_id(initial_val_id); in TransformationAddLoopToCreateIntConstantSynonym() 38 message_.set_step_val_id(step_val_id); in TransformationAddLoopToCreateIntConstantSynonym() 39 message_.set_num_iterations_id(num_iterations_id); in TransformationAddLoopToCreateIntConstantSynonym() 40 message_.set_block_after_loop_id(block_after_loop_id); in TransformationAddLoopToCreateIntConstantSynonym() 41 message_.set_syn_id(syn_id); in TransformationAddLoopToCreateIntConstantSynonym() 42 message_.set_loop_id(loop_id); in TransformationAddLoopToCreateIntConstantSynonym() 43 message_.set_ctr_id(ctr_id); in TransformationAddLoopToCreateIntConstantSynonym() 44 message_.set_temp_id(temp_id); in TransformationAddLoopToCreateIntConstantSynonym() [all …]
|
D | transformation_push_id_through_variable.cpp | 25 : message_(std::move(message)) {} in TransformationPushIdThroughVariable() 31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable() 32 message_.set_value_synonym_id(value_synonym_id); in TransformationPushIdThroughVariable() 33 message_.set_variable_id(variable_id); in TransformationPushIdThroughVariable() 34 message_.set_variable_storage_class(variable_storage_class); in TransformationPushIdThroughVariable() 35 message_.set_initializer_id(initializer_id); in TransformationPushIdThroughVariable() 36 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationPushIdThroughVariable() 42 if (!fuzzerutil::IsFreshId(ir_context, message_.value_synonym_id()) || in IsApplicable() 43 !fuzzerutil::IsFreshId(ir_context, message_.variable_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable() [all …]
|
D | transformation_load.cpp | 24 : message_(std::move(message)) {} in TransformationLoad() 30 message_.set_fresh_id(fresh_id); in TransformationLoad() 31 message_.set_pointer_id(pointer_id); in TransformationLoad() 32 message_.set_is_atomic(is_atomic); in TransformationLoad() 33 message_.set_memory_scope_id(memory_scope); in TransformationLoad() 34 message_.set_memory_semantics_id(memory_semantics); in TransformationLoad() 36 *message_.mutable_instruction_to_insert_before() = in TransformationLoad() 43 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 48 auto pointer = ir_context->get_def_use_mgr()->GetDef(message_.pointer_id()); in IsApplicable() 71 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() [all …]
|
D | transformation_add_dead_break.cpp | 28 : message_(std::move(message)) {} in TransformationAddDeadBreak() 33 message_.set_from_block(from_block); in TransformationAddDeadBreak() 34 message_.set_to_block(to_block); in TransformationAddDeadBreak() 35 message_.set_break_condition_value(break_condition_value); in TransformationAddDeadBreak() 37 message_.add_phi_id(id); in TransformationAddDeadBreak() 66 return bb_from->MergeBlockId() == message_.to_block(); in AddingBreakRespectsStructuredControlFlow() 74 message_.from_block()); in AddingBreakRespectsStructuredControlFlow() 81 if (message_.to_block() == in AddingBreakRespectsStructuredControlFlow() 89 ir_context, message_.from_block(), containing_construct) || in AddingBreakRespectsStructuredControlFlow() 90 fuzzerutil::BlockIsBackEdge(ir_context, message_.from_block(), in AddingBreakRespectsStructuredControlFlow() [all …]
|
D | transformation_composite_insert.cpp | 25 : message_(std::move(message)) {} in TransformationCompositeInsert() 31 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeInsert() 33 message_.set_fresh_id(fresh_id); in TransformationCompositeInsert() 34 message_.set_composite_id(composite_id); in TransformationCompositeInsert() 35 message_.set_object_id(object_id); in TransformationCompositeInsert() 37 message_.add_index(an_index); in TransformationCompositeInsert() 44 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 50 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable() 59 ir_context, composite->type_id(), message_.index()); in IsApplicable() 66 ir_context->get_def_use_mgr()->GetDef(message_.object_id()); in IsApplicable() [all …]
|
D | transformation_vector_shuffle.cpp | 25 : message_(std::move(message)) {} in TransformationVectorShuffle() 31 *message_.mutable_instruction_to_insert_before() = in TransformationVectorShuffle() 33 message_.set_fresh_id(fresh_id); in TransformationVectorShuffle() 34 message_.set_vector1(vector1); in TransformationVectorShuffle() 35 message_.set_vector2(vector2); in TransformationVectorShuffle() 37 message_.add_component(a_component); in TransformationVectorShuffle() 44 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 55 ir_context->get_def_use_mgr()->GetDef(message_.vector1()); in IsApplicable() 61 ir_context->get_def_use_mgr()->GetDef(message_.vector2()); in IsApplicable() [all …]
|
D | transformation_composite_extract.cpp | 28 : message_(std::move(message)) {} in TransformationCompositeExtract() 34 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeExtract() 36 message_.set_fresh_id(fresh_id); in TransformationCompositeExtract() 37 message_.set_composite_id(composite_id); in TransformationCompositeExtract() 39 message_.add_index(an_index); in TransformationCompositeExtract() 45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable() 49 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 54 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable() 59 ir_context, instruction_to_insert_before, message_.composite_id())) { in IsApplicable() 76 message_.index()) != 0; in IsApplicable() [all …]
|
D | transformation_store.cpp | 24 : message_(std::move(message)) {} in TransformationStore() 30 message_.set_pointer_id(pointer_id); in TransformationStore() 31 message_.set_is_atomic(is_atomic); in TransformationStore() 32 message_.set_memory_scope_id(memory_scope); in TransformationStore() 33 message_.set_memory_semantics_id(memory_semantics); in TransformationStore() 34 message_.set_value_id(value_id); in TransformationStore() 35 *message_.mutable_instruction_to_insert_before() = in TransformationStore() 43 auto pointer = ir_context->get_def_use_mgr()->GetDef(message_.pointer_id()); in IsApplicable() 71 FindInstruction(message_.instruction_to_insert_before(), ir_context); in IsApplicable() 77 if (!message_.is_atomic() && !fuzzerutil::CanInsertOpcodeBeforeInstruction( in IsApplicable() [all …]
|
/external/perfetto/include/perfetto/protozero/ |
D | message_handle.h | 44 if (message_) { in ~MessageHandleBase() 46 PERFETTO_DCHECK(generation_ == message_->generation_); in ~MessageHandleBase() 61 if (message_ && message_ != other.message_) 69 PERFETTO_DCHECK(!message_ || generation_ == message_->generation_); 71 return !!message_; 80 ScatteredStreamWriter* stream_writer = message_->stream_writer_; in TakeStreamWriter() 82 message_->set_handle(nullptr); in TakeStreamWriter() 84 message_ = nullptr; in TakeStreamWriter() 89 explicit MessageHandleBase(Message* message = nullptr) : message_(message) { in message_() function 91 generation_ = message_ ? message->generation_ : 0; in message_() [all …]
|
/external/libprotobuf-mutator/src/ |
D | field_instance.h | 36 : message_(nullptr), descriptor_(nullptr), index_(kInvalidIndex) {} in ConstFieldInstance() 40 : message_(message), descriptor_(field), index_(index) { in ConstFieldInstance() 41 assert(message_); in ConstFieldInstance() 49 : message_(message), descriptor_(field), index_(kInvalidIndex) { in ConstFieldInstance() 50 assert(message_); in ConstFieldInstance() 102 ? reflection().GetRepeatedInt32(*message_, descriptor_, index_) in Load() 103 : reflection().GetInt32(*message_, descriptor_); in Load() 108 ? reflection().GetRepeatedInt64(*message_, descriptor_, index_) in Load() 109 : reflection().GetInt64(*message_, descriptor_); in Load() 113 *value = is_repeated() ? reflection().GetRepeatedUInt32(*message_, in Load() [all …]
|