Home
last modified time | relevance | path

Searched full:type_id (Results 1 – 25 of 69) sorted by relevance

123

/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/generator/
Dcreator.rb51 if instr.type_id?
53 command['type_id'] = 'R'
56 command['type_id'] = 'i64[]'
Dtag-isapi.rb106 def type_id?
107 sig.include?('type_id')
Dgenerator.rb87 if @command['type_id']
89 command += " #{@command['type_id']}"
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h28 uint32_t type_id; in BuildLoadFromPool() local
34type_id = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), bc_inst->GetId(0).AsIndex()); in BuildLoadFromPool()
36 inst->SetTypeId(type_id); in BuildLoadFromPool()
/arkcompiler/runtime_core/assembler/templates/
Disa.h.erb22 % pretty_format.gsub!('ID', 'TYPE') if insn.properties.include?('type_id')
34 % flags << "InstFlags::TYPE_ID" if insn.properties.include? 'type_id'
Doperand_types_print.h.erb32 % if properties.include?('type_id')
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dir_constructor.h632 IrConstructor &TypeId(uint32_t type_id) in TypeId() argument
637 inst->CastToCall()->SetCallMethodId(type_id); in TypeId()
640 inst->CastToLoadString()->SetTypeId(type_id); in TypeId()
643 inst->CastToLoadType()->SetTypeId(type_id); in TypeId()
646 inst->CastToUnresolvedLoadType()->SetTypeId(type_id); in TypeId()
649 inst->CastToStoreStatic()->SetTypeId(type_id); in TypeId()
652 inst->CastToUnresolvedStoreStatic()->SetTypeId(type_id); in TypeId()
655 inst->CastToLoadStatic()->SetTypeId(type_id); in TypeId()
658 inst->CastToUnresolvedLoadStatic()->SetTypeId(type_id); in TypeId()
661 inst->CastToLoadObject()->SetTypeId(type_id); in TypeId()
[all …]
/arkcompiler/runtime_core/static_core/assembler/templates/
Disa.h.erb28 % pretty_format.gsub!('ID', 'TYPE') if insn.properties.include?('type_id')
42 % flags << "InstFlags::TYPE_ID" if insn.properties.include? 'type_id'
Doperand_types_print.h.erb33 % if properties.include?('type_id')
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dnewarr.yaml42 - sig: newarr v1:out:ref, v2:in:i32, type_id
97 - sig: newarr v1:out:ref, v2:in:i32, type_id
124 - sig: newarr v1:out:ref, v2:in:i32, type_id
151 - sig: newarr v1:out:ref, v2:in:i32, type_id
209 - sig: newarr v1:out:ref, v2:in:i32, type_id
275 - sig: newarr v1:out:ref, v2:in:i32, type_id
324 - sig: newarr v1:out:ref, v2:in:i32, type_id
351 - sig: newarr v1:out:ref, v2:in:i32, type_id
424 - sig: newarr v1:out:ref, v2:in:i32, type_id
521 - sig: newarr v1:out:ref, v2:in:i32, type_id
Dnewobj.yaml26 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
31 - sig: newobj v:out:ref, type_id
38 - sig: newobj v:out:ref, type_id
160 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
201 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
262 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
644 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dnewarr.yaml73 - sig: newarr v1:out:ref, v2:in:i32, type_id
129 - sig: newarr v1:out:ref, v2:in:i32, type_id
156 - sig: newarr v1:out:ref, v2:in:i32, type_id
183 - sig: newarr v1:out:ref, v2:in:i32, type_id
209 - sig: newarr v1:out:ref, v2:in:i32, type_id
235 - sig: newarr v1:out:ref, v2:in:i32, type_id
256 - sig: newarr v1:out:ref, v2:in:i32, type_id
277 - sig: newarr v1:out:ref, v2:in:i32, type_id
337 - sig: newarr v1:out:ref, v2:in:i32, type_id
407 - sig: newarr v1:out:ref, v2:in:i32, type_id
[all …]
Dnewobj.yaml36 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
41 - sig: newobj v:out:ref, type_id
50 - sig: newobj v:out:ref, type_id
199 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
240 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
283 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
344 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
412 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
759 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
1133 … Resolve class type from type_id, allocate memory for an object, initialize its fields with their
[all …]
/arkcompiler/runtime_core/libpandafile/
Dfile_reader.cpp747 File::EntityId type_id(field_acc.GetType()); in CreateFieldItem() local
748 if (file_->IsExternal(type_id)) { in CreateFieldItem()
749 field_type_item = CreateForeignClassItem(type_id); in CreateFieldItem()
751 field_type_item = CreateClassItem(type_id); in CreateFieldItem()
874 File::EntityId type_id(field_acc.GetType()); in CreateForeignFieldItem() local
875 if (file_->IsExternal(type_id)) { in CreateForeignFieldItem()
876 field_type_item = CreateForeignClassItem(type_id); in CreateForeignFieldItem()
878 field_type_item = CreateClassItem(type_id); in CreateForeignFieldItem()
1101 auto type_id = File::EntityId(state.ReadULeb128()); in UpdateDebugInfoDependecies() local
1102 std::string type_name = utf::Mutf8AsCString(file_->GetStringData(type_id).data); in UpdateDebugInfoDependecies()
[all …]
Ddebug_helpers.h92 [[maybe_unused]] uint32_t type_id) const in HandleStartLocal() argument
98 … [[maybe_unused]] uint32_t type_id, [[maybe_unused]] uint32_t type_signature_id) const in HandleStartLocalExtended() argument
Ddebug_info_extractor.cpp91 bool HandleStartLocal(int32_t reg_number, uint32_t name_id, uint32_t type_id) in HandleStartLocal() argument
94 const char *type = GetStringFromConstantPool(state_->GetPandaFile(), type_id); in HandleStartLocal()
99 …bool HandleStartLocalExtended(int32_t reg_number, uint32_t name_id, uint32_t type_id, uint32_t typ… in HandleStartLocalExtended() argument
102 const char *type = GetStringFromConstantPool(state_->GetPandaFile(), type_id); in HandleStartLocalExtended()
/arkcompiler/runtime_core/static_core/quickener/templates/
Dquickener_gen.cpp.erb80 auto type_id = panda_file::File::EntityId(state.ReadULeb128());
81 std::string type_name = utf::Mutf8AsCString(file_->GetStringData(type_id).data);
82 auto *type_item = file_->IsExternal(type_id)
99 auto type_id = panda_file::File::EntityId(state.ReadULeb128());
100 std::string type_name = utf::Mutf8AsCString(file_->GetStringData(type_id).data);
101 auto *type_item = file_->IsExternal(type_id)
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dbytecode_optimizer_isapi.rb332 def type_id method
497 plain('newarr', dst_r, r(1), type_id)
531 plain('checkcast', type_id)
535 plain('isinstance', type_id)
539 plain('lda.type', type_id)
543 plain('newobj', dst_r, type_id)
/arkcompiler/runtime_core/libabckit/src/
Dabckit_compiler_intrinsics.yaml65 args: [ ref, type_id ]
85 args: [ ref, type_id ]
125 args: [ i32, type_id ]
145 args: [ type_id ]
/arkcompiler/runtime_core/libabckit/src/codegen/
Dcodegen_static_isapi.rb330 def type_id(idx) method
493 plain('newarr', dst_r, r(0), type_id(0))
527 plain('checkcast', type_id(0))
531 plain('isinstance', type_id(0))
535 plain('newobj', dst_r, type_id(0))
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dgraph_checker.h414 … (std::cerr << "The object type_id for MEM_DYN_CLASS is incorrect\n", inst->Dump(&std::cerr))); in CheckObjectTypeDynamic()
418 … (std::cerr << "The object type_id for MEM_DYN_PROPS is incorrect\n", inst->Dump(&std::cerr))); in CheckObjectTypeDynamic()
422 …(std::cerr << "The object type_id for MEM_DYN_PROTO_HOLDER is incorrect\n", inst->Dump(&std::cerr)… in CheckObjectTypeDynamic()
427 …(std::cerr << "The object type_id for MEM_DYN_PROTO_CELL is incorrect\n", inst->Dump(&std::cerr))); in CheckObjectTypeDynamic()
432 …(std::cerr << "The object type_id for MEM_DYN_CHANGE_FIELD is incorrect\n", inst->Dump(&std::cerr)… in CheckObjectTypeDynamic()
436 … (std::cerr << "The object type_id for MEM_DYN_GLOBAL is incorrect\n", inst->Dump(&std::cerr))); in CheckObjectTypeDynamic()
440 … (std::cerr << "The object type_id for MEM_DYN_HCLASS is incorrect\n", inst->Dump(&std::cerr))); in CheckObjectTypeDynamic()
446 … (std::cerr << "The object type_id for MEM_DYN_GLOBAL is incorrect\n", inst->Dump(&std::cerr))); in CheckObjectTypeDynamic()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dinterpreter_test.cpp446 emitter.LdaType(RuntimeInterface::TYPE_ID.AsIndex()); in TEST_F()
882 template <panda_file::Type::TypeId TYPE_ID>
884 using Type = std::conditional_t<TYPE_ID == panda_file::Type::TypeId::U1, uint8_t,
885 std::conditional_t<TYPE_ID == panda_file::Type::TypeId::I8, int8_t,
886 std::conditional_t<TYPE_ID == panda_file::Type::TypeId::U8, uint8_t,
887 std::conditional_t<TYPE_ID == panda_file::Type::TypeId::I16, int16_t,
888 std::conditional_t<TYPE_ID == panda_file::Type::TypeId::U16, uint16_t,
889 std::conditional_t<TYPE_ID == panda_file::Type::TypeId::I32, int32_t,
890 std::conditional_t<TYPE_ID == panda_file::Type::TypeId::U32, uint32_t,
891 std::conditional_t<TYPE_ID == panda_file::Type::TypeId::I64, int64_t,
[all …]
/arkcompiler/runtime_core/static_core/isa/
Disa.yaml111 - tag: type_id
214 description: Type_id operand must correspond to an array type.
216 description: Type_id operand must correspond to an object type (other than array).
218 description: Type_id operand must correspond to any object type.
220 description: Type_id operand must correspond to a Class type.
449 - type_id
462 - sig: lda.type type_id
2214 - type_id
2221 type = resolve(type_id)
2230 - sig: newarr v1:out:ref, v2:in:i32, type_id
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
Dcodegen.cpp37 void BytecodeGen::AppendCatchBlock(uint32_t type_id, const compiler::BasicBlock *try_begin, in AppendCatchBlock() argument
42 if (type_id != 0) { in AppendCatchBlock()
43 cb.exception_record = ir_interface_->GetTypeIdByOffset(type_id); in AppendCatchBlock()
60 bb->EnumerateCatchHandlers([&, bb, try_end](BasicBlock *catch_handler, size_t type_id) { in VisitTryBegin() argument
61 AppendCatchBlock(type_id, bb, try_end, catch_handler); in VisitTryBegin()
/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp154 panda_file::Type::TypeId type_id; in TEST() member
169 ASSERT_EQ(fda.GetType(), panda_file::Type(fields[i].type_id).GetFieldEncoding()); in TEST()
326 panda_file::File::EntityId type_id; in TEST() member
339 EXPECT_EQ(id, catch_infos[i].type_id); in TEST()
534 panda_file::Type::TypeId type_id; in TEST() member
576 panda_file::Type type(field_data.type_id); in TEST()
586 switch (field_data.type_id) { in TEST()

123