/arkcompiler/runtime_core/libpandafile/ |
D | file_reader.h | 78 FieldItem *CreateFieldItem(ClassItem *cls, File::EntityId field_id); 79 ForeignFieldItem *CreateForeignFieldItem(BaseClassItem *fcls, File::EntityId field_id); 154 inline BaseItem *CreateGenericFieldItem(BaseClassItem *class_item, File::EntityId field_id) in CreateGenericFieldItem() argument 156 if (file_->IsExternal(field_id)) { in CreateGenericFieldItem() 157 return CreateForeignFieldItem(class_item, field_id); in CreateGenericFieldItem() 159 return CreateFieldItem(static_cast<ClassItem *>(class_item), field_id); in CreateGenericFieldItem()
|
D | field_data_accessor.cpp | 22 FieldDataAccessor::FieldDataAccessor(const File &panda_file, File::EntityId field_id) in FieldDataAccessor() argument 23 : panda_file_(panda_file), field_id_(field_id) in FieldDataAccessor() 30 class_off_ = panda_file.ResolveClassIndex(field_id, class_idx).GetOffset(); in FieldDataAccessor() 31 type_off_ = panda_file.ResolveClassIndex(field_id, type_idx).GetOffset(); in FieldDataAccessor()
|
D | field_data_accessor-inl.h | 29 inline File::EntityId FieldDataAccessor::GetTypeId(const File &panda_file, File::EntityId field_id) in GetTypeId() argument 31 auto sp = panda_file.GetSpanFromId(field_id).SubSpan(IDX_SIZE); // skip class_idx in GetTypeId() 33 return panda_file.ResolveClassIndex(field_id, type_idx); in GetTypeId() 37 inline File::EntityId FieldDataAccessor::GetNameId(const File &panda_file, File::EntityId field_id) in GetNameId() argument 39 auto sp = panda_file.GetSpanFromId(field_id).SubSpan(IDX_SIZE * 2); // skip class_idx, type_idx in GetNameId()
|
D | field_data_accessor.h | 32 FieldDataAccessor(const File &panda_file, File::EntityId field_id); 40 static File::EntityId GetTypeId(const File &panda_file, File::EntityId field_id); 42 static File::EntityId GetNameId(const File &panda_file, File::EntityId field_id);
|
D | file_reader.cpp | 274 const File::EntityId field_id {scalar.Get<uint32_t>()}; in CreateAnnotationItem() local 275 FieldDataAccessor field_acc(*file_, field_id); in CreateAnnotationItem() 277 … elem_value_item = container_.GetOrCreateIdValueItem(CreateGenericFieldItem(cls_item, field_id)); in CreateAnnotationItem() 463 const File::EntityId field_id {array.Get<uint32_t>(j)}; in CreateAnnotationItem() local 464 FieldDataAccessor field_acc(*file_, field_id); in CreateAnnotationItem() 466 items.emplace_back(ScalarValueItem(CreateGenericFieldItem(cls_item, field_id))); in CreateAnnotationItem() 717 FieldItem *FileReader::CreateFieldItem(ClassItem *cls, File::EntityId field_id) in CreateFieldItem() argument 719 auto it = items_done_.find(field_id); in CreateFieldItem() 724 FieldDataAccessor field_acc(*file_, field_id); in CreateFieldItem() 739 auto it_check = items_done_.find(field_id); in CreateFieldItem() [all …]
|
/arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
D | ststatic.64.yaml | 51 …Store accumulator content into static field by field_id. For non-object variant the size of actual… 52 value is determined by field_id, other accumulator bits are discarded. 54 - sig: ststatic.64 field_id 62 description: Store accumulator content into static field by field_id. 76 …description: Check that verifier reports an error when the field_id doesn't resolve to a static va… 189 …description: Check that verifier reports an error when the field_id resolves to a field with size … 286 - sig: ststatic.64 field_id
|
D | stobj.64.yaml | 54 …Store accumulator content into object field by field_id. For non-object variant the size of actual… 55 value is determined by field_id, other accumulator bits are discarded. 57 - sig: stobj.64 v:in:ref, field_id 65 description: Store accumulator content into object field by field_id. 399 - sig: stobj.64 v:in:ref, field_id 420 - sig: stobj.64 v:in:ref, field_id 527 - sig: stobj.64 v:in:ref, field_id
|
D | ldstatic.yaml | 64 Get static field value by field_id and put it into accumulator. 66 - sig: ldstatic field_id 243 For non-object variant, the size of the field is determined by the field_id, 283 For non-object variant, the size of the field is determined by the field_id, 322 For non-object variant, the size of the field is determined by the field_id, 355 For non-object variant, the size of the field is determined by the field_id, 527 - sig: ldstatic field_id 559 - sig: ldstatic field_id
|
D | ldstatic.64.yaml | 65 Get static field value by field_id and put it into accumulator. 67 - sig: ldstatic.64 field_id 263 description: Get static field value by field_id and put it into accumulator. 293 description: Get static field value by field_id and put it into accumulator. 321 - sig: ldstatic.64 field_id 353 - sig: ldstatic.64 field_id
|
D | ldobj.yaml | 93 - sig: ldobj v:in:ref, field_id 102 - sig: ldobj v:in:ref, field_id 374 - sig: ldobj v:in:ref, field_id 400 For non-object variant, the size of the field is determined by the field_id, 444 For non-object variant, the size of the field is determined by the field_id, 487 - sig: ldobj v:in:ref, field_id
|
D | ldobj.v.yaml | 93 - sig: ldobj.v v1:out:b32, v2:in:ref, field_id 102 - sig: ldobj.v v1:out:b32, v2:in:ref, field_id 372 - sig: ldobj.v v1:out:b32, v2:in:ref, field_id 401 For non-object variant, the size of the field is determined by the field_id, 445 For non-object variant, the size of the field is determined by the field_id, 488 - sig: ldobj.v v1:out:b32, v2:in:ref, field_id
|
D | ststatic.yaml | 51 …Store accumulator content into static field by field_id. For non-object variant the size of actual… 52 value is determined by field_id, other accumulator bits are discarded. 54 - sig: ststatic field_id 62 description: Store accumulator content into static field by field_id. 76 …description: Check that verifier reports an error if the field_id doesn't resolve to a static vali… 189 …description: Check that verifier reports an error when the field_id resolves to a field with size …
|
D | ldobj.64.yaml | 92 - sig: ldobj.64 v:in:ref, field_id 101 - sig: ldobj.64 v:in:ref, field_id 128 - sig: ldobj.64 v:in:ref, field_id 500 - sig: ldobj.64 v:in:ref, field_id 526 - sig: ldobj.64 v:in:ref, field_id 561 - sig: ldobj.64 v:in:ref, field_id
|
D | ldobj.v.64.yaml | 92 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id 101 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id 126 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id 500 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id 529 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id 565 - sig: ldobj.v.64 v1:out:b64, v2:in:ref, field_id
|
D | stobj.v.64.yaml | 72 …Store register content into object field by field_id. For non-object variant the size of actually … 73 value is determined by field_id, other register bits are discarded. 75 - sig: stobj.v.64 v1:in:b64, v2:in:ref, field_id 83 description: Store register content into object field by field_id. 124 description: Store register content into object field by field_id. 704 - sig: stobj.v.64 v1:in:b64, v2:in:ref, field_id 729 - sig: stobj.v.64 v1:in:b64, v2:in:ref, field_id
|
D | stobj.yaml | 54 …Store accumulator content into object field by field_id. For non-object variant the size of actual… 55 value is determined by field_id, other accumulator bits are discarded. 57 - sig: stobj v:in:ref, field_id 65 description: Store accumulator content into object field by field_id. 423 - sig: stobj v:in:ref, field_id
|
D | ststatic.obj.yaml | 94 Store accumulator content into static field by field_id. 96 - sig: ststatic.obj field_id 104 description: Store accumulator content into static field by field_id. 119 …description: Check that verifier reports error when the field_id doesn't resolve to a static valid… 590 description: Store accumulator content into static field by field_id. 659 description: Store accumulator content into static field by field_id.
|
D | stobj.obj.yaml | 94 Store accumulator content into object field by field_id. 96 - sig: stobj.obj v:in:ref, field_id 104 description: Store accumulator content into object field by field_id. 708 - sig: stobj.obj v:in:ref, field_id 729 description: Store accumulator content into object field by field_id. 801 description: Store accumulator content into object field by field_id.
|
D | stobj.v.yaml | 73 …Store register content into object field by field_id. For non-object variant the size of actually … 74 value is determined by field_id, other register bits are discarded. 76 - sig: stobj.v v1:in:b32, v2:in:ref, field_id 84 description: Store register content into object field by field_id. 125 description: Store register content into object field by field_id. 750 - sig: stobj.v v1:in:b32, v2:in:ref, field_id 839 - sig: stobj.v v1:in:b32, v2:in:ref, field_id
|
D | stobj.v.obj.yaml | 74 Store register content into object field by field_id. 76 - sig: stobj.v.obj v1:in:ref, v2:in:ref, field_id 84 description: Store register content into object field by field_id. 735 - sig: stobj.v.obj v1:in:ref, v2:in:ref, field_id 759 description: Store register content into object field by field_id. 850 description: Store register content into object field by field_id.
|
D | ldstatic.obj.yaml | 96 Get static field value by field_id and put it into accumulator. 98 - sig: ldstatic.obj field_id 290 description: Get static field value by field_id and put it into accumulator. 375 description: Get static field value by field_id and put it into accumulator.
|
/arkcompiler/runtime_core/disassembler/templates/ |
D | type_to_pandasm_type.cpp.erb | 58 panda_file::File::EntityId field_id(type); 59 std::string type_name = StringDataToString(file_->GetStringData(field_id));
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | runtime_adapter_test.cpp | 236 const auto field_id = adapter.ResolveFieldIndex(store_to_static, 0); in TEST() local 237 EXPECT_NE(field_id, 0); in TEST() 238 EXPECT_EQ(adapter.GetClassIdForField(store_to_static, field_id), in TEST() 241 const auto field_ptr = adapter.ResolveField(store_to_static, field_id, false, &immut_var); in TEST() 244 EXPECT_EQ(adapter.GetFieldTypeById(store_to_static, field_id), compiler::DataType::Type::INT64); in TEST()
|
/arkcompiler/runtime_core/assembler/templates/ |
D | isa.h.erb | 33 % flags << "InstFlags::FIELD_ID" if insn.properties.include? 'field_id'
|
/arkcompiler/runtime_core/tests/verifier-tests/ |
D | bug_2086_1.pa | 22 # - sig: ldobj.64 v:in:ref, field_id
|