Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/spirv/
Dvtn_private.h734 vtn_untyped_value(struct vtn_builder *b, uint32_t value_id) in vtn_untyped_value() argument
736 vtn_fail_if(value_id >= b->value_id_bound, in vtn_untyped_value()
737 "SPIR-V id %u is out-of-bounds", value_id); in vtn_untyped_value()
738 return &b->values[value_id]; in vtn_untyped_value()
746 vtn_push_value(struct vtn_builder *b, uint32_t value_id, in vtn_push_value() argument
749 struct vtn_value *val = vtn_untyped_value(b, value_id); in vtn_push_value()
757 value_id); in vtn_push_value()
761 return &b->values[value_id]; in vtn_push_value()
765 vtn_value(struct vtn_builder *b, uint32_t value_id, in vtn_value() argument
768 struct vtn_value *val = vtn_untyped_value(b, value_id); in vtn_value()
[all …]
Dspirv_to_nir.c241 vtn_ssa_value(struct vtn_builder *b, uint32_t value_id) in vtn_ssa_value() argument
243 struct vtn_value *val = vtn_untyped_value(b, value_id); in vtn_ssa_value()
267 vtn_push_ssa_value(struct vtn_builder *b, uint32_t value_id, in vtn_push_ssa_value() argument
270 struct vtn_type *type = vtn_get_value_type(b, value_id); in vtn_push_ssa_value()
278 val = vtn_push_pointer(b, value_id, vtn_pointer_from_ssa(b, ssa->def, type)); in vtn_push_ssa_value()
281 val = vtn_push_value(b, value_id, vtn_value_type_invalid); in vtn_push_ssa_value()
290 vtn_get_nir_ssa(struct vtn_builder *b, uint32_t value_id) in vtn_get_nir_ssa() argument
292 struct vtn_ssa_value *ssa = vtn_ssa_value(b, value_id); in vtn_get_nir_ssa()
299 vtn_push_nir_ssa(struct vtn_builder *b, uint32_t value_id, nir_ssa_def *def) in vtn_push_nir_ssa() argument
304 struct vtn_type *type = vtn_get_value_type(b, value_id); in vtn_push_nir_ssa()
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_store.cpp28 uint32_t pointer_id, uint32_t value_id, in TransformationStore() argument
31 message_.set_value_id(value_id); in TransformationStore()
90 auto value = ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable()
108 message_.value_id()); in IsApplicable()
118 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}}))); in Apply()
Dtransformation_store.h31 uint32_t pointer_id, uint32_t value_id,
/external/angle/third_party/spirv-tools/src/source/fuzz/
Dtransformation_store.cpp28 uint32_t pointer_id, uint32_t value_id, in TransformationStore() argument
31 message_.set_value_id(value_id); in TransformationStore()
90 auto value = ir_context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable()
108 message_.value_id()); in IsApplicable()
118 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}}))); in Apply()
Dtransformation_store.h31 uint32_t pointer_id, uint32_t value_id,
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_store.cpp28 uint32_t pointer_id, uint32_t value_id, in TransformationStore() argument
31 message_.set_value_id(value_id); in TransformationStore()
89 auto value = context->get_def_use_mgr()->GetDef(message_.value_id()); in IsApplicable()
107 message_.value_id()); in IsApplicable()
117 {SPV_OPERAND_TYPE_ID, {message_.value_id()}}}))); in Apply()
Dtransformation_store.h31 uint32_t pointer_id, uint32_t value_id,
/external/XNNPACK/src/
Dtensor.c76 uint32_t value_id) in xnn_tensor_get_size() argument
78 assert(value_id < subgraph->num_values); in xnn_tensor_get_size()
80 const struct xnn_value* value = subgraph->values + value_id; in xnn_tensor_get_size()
Druntime.c322 const uint32_t value_id = external_value->id; in xnn_setup_runtime() local
323 if (value_id >= runtime->num_blobs) { in xnn_setup_runtime()
325 value_id, i); in xnn_setup_runtime()
329 const struct xnn_blob* blob = &runtime->blobs[value_id]; in xnn_setup_runtime()
331 xnn_log_error("failed to setup runtime: Value %" PRIu32 " is not external", value_id); in xnn_setup_runtime()
339 const uint32_t value_id = external_value->id; in xnn_setup_runtime() local
340 struct xnn_blob* blob = &runtime->blobs[value_id]; in xnn_setup_runtime()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_dataflow_analysis.cc102 const int64 value_id = next_value_id_++; in NewHloValue() local
104 std::piecewise_construct, std::forward_as_tuple(value_id), in NewHloValue()
105 std::forward_as_tuple(value_id, instruction, index, is_phi)); in NewHloValue()
113 void HloDataflowAnalysis::MarkValueForDeletion(HloValue::Id value_id) { in MarkValueForDeletion() argument
114 HloValue& value = values_.at(value_id); in MarkValueForDeletion()
117 value_ids_to_delete_.push_back(value_id); in MarkValueForDeletion()
141 for (HloValue::Id value_id : value_ids_to_delete_) { in DeleteMarkedValues() local
142 values_.erase(value_id); in DeleteMarkedValues()
291 const HloValue& HloDataflowAnalysis::GetValue(HloValue::Id value_id) const { in GetValue()
292 return values_.at(value_id); in GetValue()
[all …]
Dhlo_dataflow_analysis.h124 const HloValue& GetValue(HloValue::Id value_id) const;
125 HloValue& GetValue(HloValue::Id value_id);
168 void MarkValueForDeletion(HloValue::Id value_id);
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_memory.cpp648 const auto value_id = result_type->GetOperandAs<uint32_t>(type_index); in ValidateVariable() local
649 auto value_type = _.FindDef(value_id); in ValidateVariable()
683 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
690 if (!_.HasDecoration(value_id, SpvDecorationBufferBlock)) { in ValidateVariable()
725 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
756 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeInt, 16)) || in ValidateVariable()
758 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeFloat, 16))) { in ValidateVariable()
815 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeInt, 8)) { in ValidateVariable()
Dvalidate_cfg.cpp202 const auto value_id = inst->GetOperandAs<uint32_t>(0); in ValidateReturnValue() local
203 const auto value = _.FindDef(value_id); in ValidateReturnValue()
206 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
234 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_memory.cpp648 const auto value_id = result_type->GetOperandAs<uint32_t>(type_index); in ValidateVariable() local
649 auto value_type = _.FindDef(value_id); in ValidateVariable()
683 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
690 if (!_.HasDecoration(value_id, SpvDecorationBufferBlock)) { in ValidateVariable()
725 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
756 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeInt, 16)) || in ValidateVariable()
758 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeFloat, 16))) { in ValidateVariable()
815 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeInt, 8)) { in ValidateVariable()
Dvalidate_cfg.cpp202 const auto value_id = inst->GetOperandAs<uint32_t>(0); in ValidateReturnValue() local
203 const auto value = _.FindDef(value_id); in ValidateReturnValue()
206 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
234 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_memory.cpp642 const auto value_id = result_type->GetOperandAs<uint32_t>(type_index); in ValidateVariable() local
643 auto value_type = _.FindDef(value_id); in ValidateVariable()
677 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
684 if (!_.HasDecoration(value_id, SpvDecorationBufferBlock)) { in ValidateVariable()
719 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
750 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeInt, 16)) || in ValidateVariable()
752 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeFloat, 16))) { in ValidateVariable()
809 _.ContainsSizedIntOrFloatType(value_id, SpvOpTypeInt, 8)) { in ValidateVariable()
Dvalidate_cfg.cpp193 const auto value_id = inst->GetOperandAs<uint32_t>(0); in ValidateReturnValue() local
194 const auto value = _.FindDef(value_id); in ValidateReturnValue()
197 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
225 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
/external/XNNPACK/src/xnnpack/
Dsubgraph.h179 uint32_t value_id);
/external/angle/third_party/spirv-tools/src/source/opt/
Dinstrument_pass.h223 uint32_t GenUintCastCode(uint32_t value_id, InstructionBuilder* builder);
Dscalar_analysis.cpp296 uint32_t value_id = phi->GetSingleWordInOperand(i); in AnalyzePhiInstruction() local
299 Instruction* value_inst = def_use->GetDef(value_id); in AnalyzePhiInstruction()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstrument_pass.h223 uint32_t GenUintCastCode(uint32_t value_id, InstructionBuilder* builder);
Dscalar_analysis.cpp296 uint32_t value_id = phi->GetSingleWordInOperand(i); in AnalyzePhiInstruction() local
299 Instruction* value_inst = def_use->GetDef(value_id); in AnalyzePhiInstruction()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstrument_pass.h222 uint32_t GenUintCastCode(uint32_t value_id, InstructionBuilder* builder);
/external/python/cpython3/Python/
Dpythonrun.c909 PyObject *value_id = PyLong_FromVoidPtr(value); in print_exception_recursive() local
910 if (value_id == NULL || PySet_Add(seen, value_id) == -1) in print_exception_recursive()
954 Py_XDECREF(value_id); in print_exception_recursive()

12