/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | transformation_push_id_through_variable_test.cpp | 109 uint32_t value_id = 21; in TEST() local 117 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 123 value_id = 80; in TEST() 130 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 136 value_id = 80; in TEST() 143 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 150 value_id = 24; in TEST() 157 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 163 value_id = 80; in TEST() 170 value_id, value_synonym_i in TEST() 334 uint32_t value_id = 80; TEST() local 601 uint32_t value_id = 21; TEST() local 704 uint32_t value_id = 21; TEST() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_push_id_through_variable_test.cpp | 109 uint32_t value_id = 21; in TEST() local 117 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 123 value_id = 80; in TEST() 130 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 136 value_id = 80; in TEST() 143 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 150 value_id = 24; in TEST() 157 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 163 value_id = 80; in TEST() 170 value_id, value_synonym_i in TEST() 334 uint32_t value_id = 80; TEST() local 601 uint32_t value_id = 21; TEST() local 704 uint32_t value_id = 21; TEST() local [all...] |
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_push_id_through_variable_test.cpp | 109 uint32_t value_id = 21; in TEST() local 117 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 123 value_id = 80; in TEST() 131 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 137 value_id = 80; in TEST() 145 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 152 value_id = 24; in TEST() 160 value_id, value_synonym_id, variable_id, variable_storage_class, in TEST() 166 value_id = 80; in TEST() 174 value_id, value_synonym_i in TEST() 344 uint32_t value_id = 80; TEST() local 615 uint32_t value_id = 21; TEST() local 718 uint32_t value_id = 21; TEST() local [all...] |
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_private.h | 765 vtn_untyped_value(struct vtn_builder *b, uint32_t value_id) in vtn_untyped_value() argument 767 vtn_fail_if(value_id >= b->value_id_bound, in vtn_untyped_value() 768 "SPIR-V id %u is out-of-bounds", value_id); in vtn_untyped_value() 769 return &b->values[value_id]; in vtn_untyped_value() 776 uint32_t value_id = value - b->values; in vtn_id_for_value() local 777 vtn_fail_if(value_id >= b->value_id_bound, "vtn_value pointer outside the range of valid values"); in vtn_id_for_value() 778 return value_id; in vtn_id_for_value() 786 vtn_push_value(struct vtn_builder *b, uint32_t value_id, in vtn_push_value() argument 789 struct vtn_value *val = vtn_untyped_value(b, value_id); in vtn_push_value() 797 value_id); in vtn_push_value() 805 vtn_value(struct vtn_builder *b, uint32_t value_id, enum vtn_value_type value_type) vtn_value() argument 815 vtn_pointer_value(struct vtn_builder *b, uint32_t value_id) vtn_pointer_value() argument 838 vtn_pointer(struct vtn_builder *b, uint32_t value_id) vtn_pointer() argument 848 vtn_constant_uint(struct vtn_builder *b, uint32_t value_id) vtn_constant_uint() argument 866 vtn_constant_int(struct vtn_builder *b, uint32_t value_id) vtn_constant_int() argument 884 vtn_get_value_type(struct vtn_builder *b, uint32_t value_id) vtn_get_value_type() argument 892 vtn_get_type(struct vtn_builder *b, uint32_t value_id) vtn_get_type() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_push_id_through_variable.cpp | 28 uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, in TransformationPushIdThroughVariable() 31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable() 70 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable() 96 // |message_.value_id| must be available at the insertion point. in IsApplicable() 98 ir_context, instruction_to_insert_before, message_.value_id()); in IsApplicable() 105 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in Apply() 150 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}}))); in Apply() 156 // We should be able to create a synonym of |value_id| if it's not irrelevant. in Apply() 162 // and |message_.value_id| are synonymous. in Apply() 165 MakeDataDescriptor(message_.value_id(), {})); in Apply() 27 TransformationPushIdThroughVariable( uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, uint32_t variable_storage_class, uint32_t initializer_id, const protobufs::InstructionDescriptor& instruction_descriptor) TransformationPushIdThroughVariable() argument [all...] |
H A D | transformation_store.cpp | 28 uint32_t memory_semantics, uint32_t value_id, in TransformationStore() 34 message_.set_value_id(value_id); in TransformationStore() 97 auto value = ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable() 196 message_.value_id()); in IsApplicable() 212 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}})); in Apply() 229 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}})); in Apply() 26 TransformationStore( uint32_t pointer_id, bool is_atomic, uint32_t memory_scope, uint32_t memory_semantics, uint32_t value_id, const protobufs::InstructionDescriptor& instruction_to_insert_before) TransformationStore() argument
|
H A D | transformation_add_parameter.cpp | 69 uint32_t value_id = call_parameter_ids_map[caller_id]; in IsApplicable() local 71 auto value_instr = ir_context->get_def_use_mgr()->GetDef(value_id); in IsApplicable() 78 value_id)) { in IsApplicable() 83 uint32_t value_type_id = fuzzerutil::GetTypeId(ir_context, value_id); in IsApplicable()
|
H A D | transformation_push_id_through_variable.h | 32 uint32_t value_id, uint32_t value_synonym_fresh_id, 37 // - |message_.value_id| must be an instruction result id that has the same 53 // Stores |value_id| to |variable_id|, loads |variable_id| to 54 // |value_synonym_id|. Adds the fact that |value_synonym_id| and |value_id| 55 // are synonymous if |value_id| and |value_synonym_id| are not irrelevant.
|
H A D | transformation_store.h | 32 uint32_t memory_semantics, uint32_t value_id, 46 // - |message_.value_id| must be an instruction result id that has the same 50 // |message_.pointer_id| and |message_.value_id| are available (according 59 // OpStore |pointer_id| |value_id|
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_push_id_through_variable.cpp | 28 uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, in TransformationPushIdThroughVariable() 31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable() 70 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable() 96 // |message_.value_id| must be available at the insertion point. in IsApplicable() 98 ir_context, instruction_to_insert_before, message_.value_id()); in IsApplicable() 105 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in Apply() 150 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}}))); in Apply() 156 // We should be able to create a synonym of |value_id| if it's not irrelevant. in Apply() 162 // and |message_.value_id| are synonymous. in Apply() 165 MakeDataDescriptor(message_.value_id(), {})); in Apply() 27 TransformationPushIdThroughVariable( uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, uint32_t variable_storage_class, uint32_t initializer_id, const protobufs::InstructionDescriptor& instruction_descriptor) TransformationPushIdThroughVariable() argument [all...] |
H A D | transformation_store.cpp | 28 uint32_t memory_semantics, uint32_t value_id, in TransformationStore() 34 message_.set_value_id(value_id); in TransformationStore() 97 auto value = ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable() 196 message_.value_id()); in IsApplicable() 212 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}})); in Apply() 229 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}})); in Apply() 26 TransformationStore( uint32_t pointer_id, bool is_atomic, uint32_t memory_scope, uint32_t memory_semantics, uint32_t value_id, const protobufs::InstructionDescriptor& instruction_to_insert_before) TransformationStore() argument
|
H A D | transformation_add_parameter.cpp | 69 uint32_t value_id = call_parameter_ids_map[caller_id]; in IsApplicable() local 71 auto value_instr = ir_context->get_def_use_mgr()->GetDef(value_id); in IsApplicable() 78 value_id)) { in IsApplicable() 83 uint32_t value_type_id = fuzzerutil::GetTypeId(ir_context, value_id); in IsApplicable()
|
H A D | transformation_push_id_through_variable.h | 32 uint32_t value_id, uint32_t value_synonym_fresh_id, 37 // - |message_.value_id| must be an instruction result id that has the same 53 // Stores |value_id| to |variable_id|, loads |variable_id| to 54 // |value_synonym_id|. Adds the fact that |value_synonym_id| and |value_id| 55 // are synonymous if |value_id| and |value_synonym_id| are not irrelevant.
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_push_id_through_variable.cpp | 28 uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, in TransformationPushIdThroughVariable() 31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable() 70 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable() 98 // |message_.value_id| must be available at the insertion point. in IsApplicable() 100 ir_context, instruction_to_insert_before, message_.value_id()); in IsApplicable() 107 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in Apply() 153 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}}))); in Apply() 159 // We should be able to create a synonym of |value_id| if it's not irrelevant. in Apply() 165 // and |message_.value_id| are synonymous. in Apply() 168 MakeDataDescriptor(message_.value_id(), {})); in Apply() 27 TransformationPushIdThroughVariable( uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, uint32_t variable_storage_class, uint32_t initializer_id, const protobufs::InstructionDescriptor& instruction_descriptor) TransformationPushIdThroughVariable() argument [all...] |
H A D | transformation_store.cpp | 28 uint32_t memory_semantics, uint32_t value_id, in TransformationStore() 34 message_.set_value_id(value_id); in TransformationStore() 97 auto value = ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable() 196 message_.value_id()); in IsApplicable() 212 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}})); in Apply() 229 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}})); in Apply() 26 TransformationStore( uint32_t pointer_id, bool is_atomic, uint32_t memory_scope, uint32_t memory_semantics, uint32_t value_id, const protobufs::InstructionDescriptor& instruction_to_insert_before) TransformationStore() argument
|
H A D | transformation_add_parameter.cpp | 69 uint32_t value_id = call_parameter_ids_map[caller_id]; in IsApplicable() local 71 auto value_instr = ir_context->get_def_use_mgr()->GetDef(value_id); in IsApplicable() 78 value_id)) { in IsApplicable() 83 uint32_t value_type_id = fuzzerutil::GetTypeId(ir_context, value_id); in IsApplicable()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | ssa_rewrite_pass.cpp | 675 uint32_t value_id = GetValueAtBlock(var_id, bb); in AddDebugValuesForInvisibleDebugDecls() local 677 if (value_id) value = pass_->get_def_use_mgr()->GetDef(value_id); in AddDebugValuesForInvisibleDebugDecls() 690 value_id = GetValueAtBlock(var_id, dom_tree->ImmediateDominator(bb)); in AddDebugValuesForInvisibleDebugDecls() 691 if (value_id) value = pass_->get_def_use_mgr()->GetDef(value_id); in AddDebugValuesForInvisibleDebugDecls() 692 if (value_id && in AddDebugValuesForInvisibleDebugDecls() 694 decl, value_id, decl, value) == nullptr) { in AddDebugValuesForInvisibleDebugDecls()
|
H A D | local_single_store_elim_pass.cpp | 179 uint32_t value_id = store_inst->GetSingleWordInOperand(1); in RewriteDebugDeclares() local 182 store_inst, var_id, value_id, store_inst, &invisible_decls); in RewriteDebugDeclares() 195 context()->get_debug_info_mgr()->AddDebugValueForDecl(decl, value_id, in RewriteDebugDeclares()
|
H A D | debug_info_manager.h | 144 // Generates a DebugValue instruction with value |value_id| for every local 150 Instruction* scope_and_line, uint32_t variable_id, uint32_t value_id, 158 // but it uses |value_id| for the value. Returns the created DebugValue, 160 Instruction* AddDebugValueForDecl(Instruction* dbg_decl, uint32_t value_id,
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | ssa_rewrite_pass.cpp | 675 uint32_t value_id = GetValueAtBlock(var_id, bb); in AddDebugValuesForInvisibleDebugDecls() local 677 if (value_id) value = pass_->get_def_use_mgr()->GetDef(value_id); in AddDebugValuesForInvisibleDebugDecls() 690 value_id = GetValueAtBlock(var_id, dom_tree->ImmediateDominator(bb)); in AddDebugValuesForInvisibleDebugDecls() 691 if (value_id) value = pass_->get_def_use_mgr()->GetDef(value_id); in AddDebugValuesForInvisibleDebugDecls() 692 if (value_id && in AddDebugValuesForInvisibleDebugDecls() 694 decl, value_id, decl, value) == nullptr) { in AddDebugValuesForInvisibleDebugDecls()
|
H A D | local_single_store_elim_pass.cpp | 179 uint32_t value_id = store_inst->GetSingleWordInOperand(1); in RewriteDebugDeclares() local 182 store_inst, var_id, value_id, store_inst, &invisible_decls); in RewriteDebugDeclares() 195 context()->get_debug_info_mgr()->AddDebugValueForDecl(decl, value_id, in RewriteDebugDeclares()
|
H A D | debug_info_manager.h | 144 // Generates a DebugValue instruction with value |value_id| for every local 150 Instruction* scope_and_line, uint32_t variable_id, uint32_t value_id, 158 // but it uses |value_id| for the value. Returns the created DebugValue, 160 Instruction* AddDebugValueForDecl(Instruction* dbg_decl, uint32_t value_id,
|
/third_party/spirv-tools/source/opt/ |
H A D | interface_var_sroa.h | 220 // |value_id| to an access chain to |scalar_var| and inserts the created 226 uint32_t value_id, const std::vector<uint32_t>& component_indices, 232 // |value_id| to |scalar_var| and inserts the created instructions before 236 uint32_t value_id, const std::vector<uint32_t>& component_indices, 241 // |value_id| to |ptr| and inserts the created instructions before 245 void StoreComponentOfValueTo(uint32_t component_type_id, uint32_t value_id,
|
H A D | interface_var_sroa.cpp | 394 uint32_t value_id = interface_var_user->GetSingleWordInOperand(1); in ReplaceComponentOfInterfaceVarWith() local 395 StoreComponentOfValueToScalarVar(value_id, interface_var_component_indices, in ReplaceComponentOfInterfaceVarWith() 529 uint32_t value_id = user->GetSingleWordInOperand(1); in ReplaceAccessChainWith() 531 value_id, interface_var_component_indices, scalar_var, indexes, in ReplaceAccessChainWith() 608 uint32_t value_id, const std::vector<uint32_t>& component_indices, in StoreComponentOfValueToScalarVar() 622 StoreComponentOfValueTo(component_type_id, value_id, component_indices, ptr, in StoreComponentOfValueToScalarVar() 656 uint32_t component_type_id, uint32_t value_id, in StoreComponentOfValueTo() 660 component_type_id, value_id, component_indices, extra_array_index)); in StoreComponentOfValueTo() 695 uint32_t value_id, const std::vector<uint32_t>& component_indices, in StoreComponentOfValueToAccessChainToScalarVar() 707 StoreComponentOfValueTo(component_type_id, value_id, component_indice in StoreComponentOfValueToAccessChainToScalarVar() 607 StoreComponentOfValueToScalarVar( uint32_t value_id, const std::vector<uint32_t>& component_indices, Instruction* scalar_var, const uint32_t* extra_array_index, Instruction* insert_before) StoreComponentOfValueToScalarVar() argument 655 StoreComponentOfValueTo( uint32_t component_type_id, uint32_t value_id, const std::vector<uint32_t>& component_indices, Instruction* ptr, const uint32_t* extra_array_index, Instruction* insert_before) StoreComponentOfValueTo() argument 694 StoreComponentOfValueToAccessChainToScalarVar( uint32_t value_id, const std::vector<uint32_t>& component_indices, Instruction* scalar_var, const std::vector<uint32_t>& access_chain_indices, Instruction* insert_before) StoreComponentOfValueToAccessChainToScalarVar() argument [all...] |
H A D | debug_info_manager.h | 145 // Generates a DebugValue instruction with value |value_id| for every local 150 uint32_t variable_id, uint32_t value_id, 157 // but it uses |value_id| for the value. Returns the created DebugValue, 159 Instruction* AddDebugValueForDecl(Instruction* dbg_decl, uint32_t value_id,
|