Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_private.h592 vtn_untyped_value(struct vtn_builder *b, uint32_t value_id) in vtn_untyped_value() argument
594 vtn_fail_if(value_id >= b->value_id_bound, in vtn_untyped_value()
595 "SPIR-V id %u is out-of-bounds", value_id); in vtn_untyped_value()
596 return &b->values[value_id]; in vtn_untyped_value()
600 vtn_push_value(struct vtn_builder *b, uint32_t value_id, in vtn_push_value() argument
603 struct vtn_value *val = vtn_untyped_value(b, value_id); in vtn_push_value()
607 value_id); in vtn_push_value()
610 return &b->values[value_id]; in vtn_push_value()
614 vtn_push_ssa(struct vtn_builder *b, uint32_t value_id, in vtn_push_ssa() argument
619 val = vtn_push_value(b, value_id, vtn_value_type_pointer); in vtn_push_ssa()
[all …]
Dspirv_to_nir.c279 vtn_ssa_value(struct vtn_builder *b, uint32_t value_id) in vtn_ssa_value() argument
281 struct vtn_value *val = vtn_untyped_value(b, value_id); in vtn_ssa_value()
/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()
279 const HloValue& HloDataflowAnalysis::GetValue(HloValue::Id value_id) const { in GetValue()
280 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);
167 void MarkValueForDeletion(HloValue::Id value_id);
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_memory.cpp590 const auto value_id = result_type->GetOperandAs<uint32_t>(type_index); in ValidateVariable() local
591 auto value_type = _.FindDef(value_id); in ValidateVariable()
624 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
631 if (!_.HasDecoration(value_id, SpvDecorationBufferBlock)) { in ValidateVariable()
650 const auto value_id = result_type->GetOperandAs<uint32_t>(type_index); in ValidateVariable() local
651 auto value_type = _.FindDef(value_id); in ValidateVariable()
669 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
Dvalidate_cfg.cpp160 const auto value_id = inst->GetOperandAs<uint32_t>(0); in ValidateReturnValue() local
161 const auto value = _.FindDef(value_id); in ValidateReturnValue()
164 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
192 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_cfg.cpp160 const auto value_id = inst->GetOperandAs<uint32_t>(0); in ValidateReturnValue() local
161 const auto value = _.FindDef(value_id); in ValidateReturnValue()
164 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
192 << "OpReturnValue Value <id> '" << _.getIdName(value_id) in ValidateReturnValue()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstrument_pass.h199 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.h200 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/python/cpython3/Python/
Dpythonrun.c854 PyObject *value_id = PyLong_FromVoidPtr(value); in print_exception_recursive() local
855 if (value_id == NULL || PySet_Add(seen, value_id) == -1) in print_exception_recursive()
899 Py_XDECREF(value_id); in print_exception_recursive()