Home
last modified time | relevance | path

Searched refs:value_id (Results 1 – 25 of 58) sorted by relevance

123

/third_party/spirv-tools/test/fuzz/
Dtransformation_push_id_through_variable_test.cpp109 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_id, variable_id, variable_storage_class, in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_push_id_through_variable_test.cpp109 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_id, variable_id, variable_storage_class, in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dtransformation_push_id_through_variable_test.cpp109 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_id, variable_id, variable_storage_class, in TEST()
[all …]
/third_party/mesa3d/src/compiler/spirv/
Dvtn_private.h765 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()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_push_id_through_variable.cpp28 uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, in TransformationPushIdThroughVariable() argument
31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable()
70 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); 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()
165 MakeDataDescriptor(message_.value_id(), {})); in Apply()
Dtransformation_store.cpp28 uint32_t memory_semantics, uint32_t value_id, in TransformationStore() argument
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()
Dtransformation_add_parameter.cpp69 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/spirv-tools/source/fuzz/
Dtransformation_push_id_through_variable.cpp28 uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, in TransformationPushIdThroughVariable() argument
31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable()
70 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); 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()
165 MakeDataDescriptor(message_.value_id(), {})); in Apply()
Dtransformation_store.cpp28 uint32_t memory_semantics, uint32_t value_id, in TransformationStore() argument
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()
Dtransformation_add_parameter.cpp69 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/fuzz/
Dtransformation_push_id_through_variable.cpp28 uint32_t value_id, uint32_t value_synonym_id, uint32_t variable_id, in TransformationPushIdThroughVariable() argument
31 message_.set_value_id(value_id); in TransformationPushIdThroughVariable()
70 ir_context->get_def_use_mgr()->GetDef(message_.value_id()); 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()
165 MakeDataDescriptor(message_.value_id(), {})); in Apply()
Dtransformation_store.cpp28 uint32_t memory_semantics, uint32_t value_id, in TransformationStore() argument
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()
Dtransformation_add_parameter.cpp69 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/swiftshader/third_party/SPIRV-Tools/source/opt/
Dssa_rewrite_pass.cpp675 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()
Dlocal_single_store_elim_pass.cpp179 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()
Ddebug_info_manager.h150 Instruction* scope_and_line, uint32_t variable_id, uint32_t value_id,
160 Instruction* AddDebugValueForDecl(Instruction* dbg_decl, uint32_t value_id,
Dinstrument_pass.h218 uint32_t Gen32BitCvtCode(uint32_t value_id, InstructionBuilder* builder);
222 uint32_t GenUintCastCode(uint32_t value_id, InstructionBuilder* builder);
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dssa_rewrite_pass.cpp675 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()
Dlocal_single_store_elim_pass.cpp179 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()
Ddebug_info_manager.h150 Instruction* scope_and_line, uint32_t variable_id, uint32_t value_id,
160 Instruction* AddDebugValueForDecl(Instruction* dbg_decl, uint32_t value_id,
Dinstrument_pass.h218 uint32_t Gen32BitCvtCode(uint32_t value_id, InstructionBuilder* builder);
222 uint32_t GenUintCastCode(uint32_t value_id, InstructionBuilder* builder);
/third_party/spirv-tools/source/opt/
Dinterface_var_sroa.cpp394 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() local
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() argument
622 StoreComponentOfValueTo(component_type_id, value_id, component_indices, ptr, in StoreComponentOfValueToScalarVar()
656 uint32_t component_type_id, uint32_t value_id, in StoreComponentOfValueTo() argument
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() argument
707 StoreComponentOfValueTo(component_type_id, value_id, component_indices, ptr, in StoreComponentOfValueToAccessChainToScalarVar()
Dinterface_var_sroa.h230 uint32_t value_id, const std::vector<uint32_t>& component_indices,
240 uint32_t value_id, const std::vector<uint32_t>& component_indices,
249 void StoreComponentOfValueTo(uint32_t component_type_id, uint32_t value_id,
Ddebug_info_manager.h150 uint32_t variable_id, uint32_t value_id,
159 Instruction* AddDebugValueForDecl(Instruction* dbg_decl, uint32_t value_id,
Dlocal_single_store_elim_pass.cpp178 uint32_t value_id = store_inst->GetSingleWordInOperand(1); in RewriteDebugDeclares() local
180 store_inst, var_id, value_id, store_inst); in RewriteDebugDeclares()

123