Home
last modified time | relevance | path

Searched refs:message_ (Results 1 – 25 of 632) sorted by relevance

12345678910>>...26

/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_loop_to_create_int_constant_synonym.cpp28 : message_(message) {} in TransformationAddLoopToCreateIntConstantSynonym()
37 message_.set_constant_id(constant_id); in TransformationAddLoopToCreateIntConstantSynonym()
38 message_.set_initial_val_id(initial_val_id); in TransformationAddLoopToCreateIntConstantSynonym()
39 message_.set_step_val_id(step_val_id); in TransformationAddLoopToCreateIntConstantSynonym()
40 message_.set_num_iterations_id(num_iterations_id); in TransformationAddLoopToCreateIntConstantSynonym()
41 message_.set_block_after_loop_id(block_after_loop_id); in TransformationAddLoopToCreateIntConstantSynonym()
42 message_.set_syn_id(syn_id); in TransformationAddLoopToCreateIntConstantSynonym()
43 message_.set_loop_id(loop_id); in TransformationAddLoopToCreateIntConstantSynonym()
44 message_.set_ctr_id(ctr_id); in TransformationAddLoopToCreateIntConstantSynonym()
45 message_.set_temp_id(temp_id); in TransformationAddLoopToCreateIntConstantSynonym()
[all …]
Dtransformation_push_id_through_variable.cpp26 : message_(message) {} in TransformationPushIdThroughVariable()
32 message_.set_value_id(value_id); in TransformationPushIdThroughVariable()
33 message_.set_value_synonym_id(value_synonym_id); in TransformationPushIdThroughVariable()
34 message_.set_variable_id(variable_id); in TransformationPushIdThroughVariable()
35 message_.set_variable_storage_class(variable_storage_class); in TransformationPushIdThroughVariable()
36 message_.set_initializer_id(initializer_id); in TransformationPushIdThroughVariable()
37 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationPushIdThroughVariable()
43 if (!fuzzerutil::IsFreshId(ir_context, message_.value_synonym_id()) || in IsApplicable()
44 !fuzzerutil::IsFreshId(ir_context, message_.variable_id())) { in IsApplicable()
50 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
[all …]
Dtransformation_replace_copy_object_with_store_load.cpp27 : message_(message) {} in TransformationReplaceCopyObjectWithStoreLoad()
33 message_.set_copy_object_result_id(copy_object_result_id); in TransformationReplaceCopyObjectWithStoreLoad()
34 message_.set_fresh_variable_id(fresh_variable_id); in TransformationReplaceCopyObjectWithStoreLoad()
35 message_.set_variable_storage_class(variable_storage_class); in TransformationReplaceCopyObjectWithStoreLoad()
36 message_.set_variable_initializer_id(variable_initializer_id); in TransformationReplaceCopyObjectWithStoreLoad()
42 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_variable_id())) { in IsApplicable()
46 ir_context->get_def_use_mgr()->GetDef(message_.copy_object_result_id()); in IsApplicable()
65 static_cast<SpvStorageClass>(message_.variable_storage_class())); in IsApplicable()
72 ir_context->get_def_use_mgr()->GetDef(message_.variable_initializer_id()); in IsApplicable()
78 return message_.variable_storage_class() == SpvStorageClassPrivate || in IsApplicable()
[all …]
Dtransformation_composite_extract.cpp28 : message_(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 …]
Dtransformation_vector_shuffle.cpp25 : message_(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 …]
Dtransformation_composite_insert.cpp26 : message_(message) {} in TransformationCompositeInsert()
32 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeInsert()
34 message_.set_fresh_id(fresh_id); in TransformationCompositeInsert()
35 message_.set_composite_id(composite_id); in TransformationCompositeInsert()
36 message_.set_object_id(object_id); in TransformationCompositeInsert()
38 message_.add_index(an_index); in TransformationCompositeInsert()
45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
51 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable()
60 ir_context, composite->type_id(), message_.index()); in IsApplicable()
67 ir_context->get_def_use_mgr()->GetDef(message_.object_id()); in IsApplicable()
[all …]
Dtransformation_add_dead_break.cpp28 : message_(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 …]
Dtransformation_add_global_variable.cpp24 : message_(message) {} in TransformationAddGlobalVariable()
29 message_.set_fresh_id(fresh_id); in TransformationAddGlobalVariable()
30 message_.set_type_id(type_id); in TransformationAddGlobalVariable()
31 message_.set_storage_class(storage_class); in TransformationAddGlobalVariable()
32 message_.set_initializer_id(initializer_id); in TransformationAddGlobalVariable()
33 message_.set_value_is_irrelevant(value_is_irrelevant); in TransformationAddGlobalVariable()
39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
44 auto storage_class = static_cast<SpvStorageClass>(message_.storage_class()); in IsApplicable()
54 auto type = ir_context->get_type_mgr()->GetType(message_.type_id()); in IsApplicable()
67 if (message_.initializer_id()) { in IsApplicable()
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_loop_to_create_int_constant_synonym.cpp28 : message_(message) {} in TransformationAddLoopToCreateIntConstantSynonym()
37 message_.set_constant_id(constant_id); in TransformationAddLoopToCreateIntConstantSynonym()
38 message_.set_initial_val_id(initial_val_id); in TransformationAddLoopToCreateIntConstantSynonym()
39 message_.set_step_val_id(step_val_id); in TransformationAddLoopToCreateIntConstantSynonym()
40 message_.set_num_iterations_id(num_iterations_id); in TransformationAddLoopToCreateIntConstantSynonym()
41 message_.set_block_after_loop_id(block_after_loop_id); in TransformationAddLoopToCreateIntConstantSynonym()
42 message_.set_syn_id(syn_id); in TransformationAddLoopToCreateIntConstantSynonym()
43 message_.set_loop_id(loop_id); in TransformationAddLoopToCreateIntConstantSynonym()
44 message_.set_ctr_id(ctr_id); in TransformationAddLoopToCreateIntConstantSynonym()
45 message_.set_temp_id(temp_id); in TransformationAddLoopToCreateIntConstantSynonym()
[all …]
Dtransformation_push_id_through_variable.cpp26 : message_(message) {} in TransformationPushIdThroughVariable()
32 message_.set_value_id(value_id); in TransformationPushIdThroughVariable()
33 message_.set_value_synonym_id(value_synonym_id); in TransformationPushIdThroughVariable()
34 message_.set_variable_id(variable_id); in TransformationPushIdThroughVariable()
35 message_.set_variable_storage_class(variable_storage_class); in TransformationPushIdThroughVariable()
36 message_.set_initializer_id(initializer_id); in TransformationPushIdThroughVariable()
37 *message_.mutable_instruction_descriptor() = instruction_descriptor; in TransformationPushIdThroughVariable()
43 if (!fuzzerutil::IsFreshId(ir_context, message_.value_synonym_id()) || in IsApplicable()
44 !fuzzerutil::IsFreshId(ir_context, message_.variable_id())) { in IsApplicable()
50 FindInstruction(message_.instruction_descriptor(), ir_context); in IsApplicable()
[all …]
Dtransformation_replace_copy_object_with_store_load.cpp27 : message_(message) {} in TransformationReplaceCopyObjectWithStoreLoad()
33 message_.set_copy_object_result_id(copy_object_result_id); in TransformationReplaceCopyObjectWithStoreLoad()
34 message_.set_fresh_variable_id(fresh_variable_id); in TransformationReplaceCopyObjectWithStoreLoad()
35 message_.set_variable_storage_class(variable_storage_class); in TransformationReplaceCopyObjectWithStoreLoad()
36 message_.set_variable_initializer_id(variable_initializer_id); in TransformationReplaceCopyObjectWithStoreLoad()
42 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_variable_id())) { in IsApplicable()
46 ir_context->get_def_use_mgr()->GetDef(message_.copy_object_result_id()); in IsApplicable()
65 static_cast<SpvStorageClass>(message_.variable_storage_class())); in IsApplicable()
72 ir_context->get_def_use_mgr()->GetDef(message_.variable_initializer_id()); in IsApplicable()
78 return message_.variable_storage_class() == SpvStorageClassPrivate || in IsApplicable()
[all …]
Dtransformation_composite_extract.cpp28 : message_(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 …]
Dtransformation_vector_shuffle.cpp25 : message_(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 …]
Dtransformation_composite_insert.cpp26 : message_(message) {} in TransformationCompositeInsert()
32 *message_.mutable_instruction_to_insert_before() = in TransformationCompositeInsert()
34 message_.set_fresh_id(fresh_id); in TransformationCompositeInsert()
35 message_.set_composite_id(composite_id); in TransformationCompositeInsert()
36 message_.set_object_id(object_id); in TransformationCompositeInsert()
38 message_.add_index(an_index); in TransformationCompositeInsert()
45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
51 ir_context->get_def_use_mgr()->GetDef(message_.composite_id()); in IsApplicable()
60 ir_context, composite->type_id(), message_.index()); in IsApplicable()
67 ir_context->get_def_use_mgr()->GetDef(message_.object_id()); in IsApplicable()
[all …]
Dtransformation_add_dead_break.cpp28 : message_(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 …]
Dtransformation_add_global_variable.cpp24 : message_(message) {} in TransformationAddGlobalVariable()
29 message_.set_fresh_id(fresh_id); in TransformationAddGlobalVariable()
30 message_.set_type_id(type_id); in TransformationAddGlobalVariable()
31 message_.set_storage_class(storage_class); in TransformationAddGlobalVariable()
32 message_.set_initializer_id(initializer_id); in TransformationAddGlobalVariable()
33 message_.set_value_is_irrelevant(value_is_irrelevant); in TransformationAddGlobalVariable()
39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
44 auto storage_class = static_cast<SpvStorageClass>(message_.storage_class()); in IsApplicable()
54 auto type = ir_context->get_type_mgr()->GetType(message_.type_id()); in IsApplicable()
67 if (message_.initializer_id()) { in IsApplicable()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_add_loop_to_create_int_constant_synonym.cpp27 : 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 …]
Dtransformation_push_id_through_variable.cpp25 : 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 …]
Dtransformation_add_dead_break.cpp28 : 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 …]
Dtransformation_composite_extract.cpp28 : 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 …]
Dtransformation_composite_insert.cpp25 : 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 …]
Dtransformation_vector_shuffle.cpp25 : 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 …]
Dtransformation_replace_copy_object_with_store_load.cpp26 : message_(std::move(message)) {} in TransformationReplaceCopyObjectWithStoreLoad()
32 message_.set_copy_object_result_id(copy_object_result_id); in TransformationReplaceCopyObjectWithStoreLoad()
33 message_.set_fresh_variable_id(fresh_variable_id); in TransformationReplaceCopyObjectWithStoreLoad()
34 message_.set_variable_storage_class(variable_storage_class); in TransformationReplaceCopyObjectWithStoreLoad()
35 message_.set_variable_initializer_id(variable_initializer_id); in TransformationReplaceCopyObjectWithStoreLoad()
41 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_variable_id())) { in IsApplicable()
45 ir_context->get_def_use_mgr()->GetDef(message_.copy_object_result_id()); in IsApplicable()
64 static_cast<SpvStorageClass>(message_.variable_storage_class())); in IsApplicable()
71 ir_context->get_def_use_mgr()->GetDef(message_.variable_initializer_id()); in IsApplicable()
77 return message_.variable_storage_class() == SpvStorageClassPrivate || in IsApplicable()
[all …]
Dtransformation_set_loop_control.cpp22 : message_(std::move(message)) {} in TransformationSetLoopControl()
27 message_.set_block_id(block_id); in TransformationSetLoopControl()
28 message_.set_loop_control(loop_control); in TransformationSetLoopControl()
29 message_.set_peel_count(peel_count); in TransformationSetLoopControl()
30 message_.set_partial_count(partial_count); in TransformationSetLoopControl()
36 auto block = ir_context->get_instr_block(message_.block_id()); in IsApplicable()
59 assert(!(message_.loop_control() & ~all_loop_control_mask_bits_set)); in IsApplicable()
81 if ((message_.loop_control() & SpvLoopControlPeelCountMask) && in IsApplicable()
86 if ((message_.loop_control() & SpvLoopControlPartialCountMask) && in IsApplicable()
91 if (message_.peel_count() > 0 && in IsApplicable()
[all …]
/external/libprotobuf-mutator/src/
Dfield_instance.h36 : 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 …]

12345678910>>...26