/ark/runtime_core/runtime/tests/ |
D | c2i_bridge_test.cpp | 121 Method *MakeNoArgsMethod(TypeId ret_type, int64_t ret) in MakeNoArgsMethod() argument 129 if (ret_type == TypeId::REFERENCE) { in MakeNoArgsMethod() 133 out << ".function " << panda_file::Type(ret_type) << " main() {\n"; in MakeNoArgsMethod() 134 if (TypeId::F32 <= ret_type && ret_type <= TypeId::F64) { in MakeNoArgsMethod() 137 } else if (TypeId::I64 <= ret_type && ret_type <= TypeId::U64) { in MakeNoArgsMethod() 140 } else if (ret_type == TypeId::REFERENCE) { in MakeNoArgsMethod() 143 } else if (ret_type == TypeId::TAGGED) { in MakeNoArgsMethod() 186 TypeId ret_type = *shorty_it++; in MakeCheckArgsMethod() local 231 if (ret_type == TypeId::TAGGED) { in MakeCheckArgsMethod() 251 … out << ".function " << panda_file::Type(ret_type) << " Test.main(" << signature.str() << ") {\n"; in MakeCheckArgsMethod()
|
D | interpreter_test.cpp | 116 panda_file::PrimitiveTypeItem *ret_type = in CreateMethod() local 119 panda_file::ProtoItem *proto_item = container.GetOrCreateProtoItem(ret_type, params); in CreateMethod()
|
/ark/runtime_core/disassembler/templates/ |
D | intrinsics_gen.h.erb | 27 % ret_type = intrinsic.impl_signature.ret 28 % if ret_type == 'void' 99 % ret_type = intrinsic.orig_impl_signature.ret 100 % if ret_type == 'void'
|
/ark/runtime_core/verification/util/ |
D | function_traits.h | 91 using ret_type = std::decay_t<typename sig::return_type>; 96 …static_assert(std::is_same<ret_type, lhs_type>::value, "return value type should be the same as ar… 98 using type = ret_type;
|
/ark/runtime_core/runtime/include/ |
D | method.h | 634 panda_file::Type ret_type = GetReturnType(); in GetReturnValueFromTaggedValue() local 636 if (ret_type.GetId() != panda_file::Type::TypeId::VOID) { in GetReturnValueFromTaggedValue() 637 if (ret_type.GetId() == panda_file::Type::TypeId::REFERENCE) { in GetReturnValueFromTaggedValue() 639 } else if (ret_type.GetId() == panda_file::Type::TypeId::TAGGED) { in GetReturnValueFromTaggedValue() 662 Value GetReturnValueFromAcc(const panda_file::Type &ret_type, bool has_pending_exception, in GetReturnValueFromAcc() argument 666 if (ret_type.IsReference()) { in GetReturnValueFromAcc() 673 if (ret_type.GetId() != panda_file::Type::TypeId::VOID) { in GetReturnValueFromAcc() 674 if (ret_type.GetId() == panda_file::Type::TypeId::TAGGED) { in GetReturnValueFromAcc()
|
D | method-inl.h | 101 panda_file::Type ret_type = GetReturnType(); in InvokeInterpretedCode() local 105 if (ret_type.IsReference()) { in InvokeInterpretedCode() 115 if (ret_type.IsReference()) { in InvokeInterpretedCode() 157 res = GetReturnValueFromAcc(ret_type, thread->HasPendingException(), frame->GetAcc()); in InvokeInterpretedCode()
|
/ark/runtime_core/runtime/templates/ |
D | intrinsics_gen.h.erb | 33 % ret_type = intrinsic.impl_signature.ret 34 % if ret_type == 'void' 115 % ret_type = intrinsic.orig_impl_signature.ret 116 % if ret_type == 'void'
|
/ark/runtime_core/libpandafile/tests/ |
D | file_item_container_test.cpp | 188 PrimitiveTypeItem *ret_type = container.CreateItem<PrimitiveTypeItem>(Type::TypeId::VOID); in TEST() local 190 ProtoItem *proto_item = container.GetOrCreateProtoItem(ret_type, params); in TEST() 341 PrimitiveTypeItem *ret_type = container.CreateItem<PrimitiveTypeItem>(Type::TypeId::VOID); in TEST() local 343 ProtoItem *proto_item = container.GetOrCreateProtoItem(ret_type, params); in TEST() 420 PrimitiveTypeItem *ret_type = container.CreateItem<PrimitiveTypeItem>(Type::TypeId::VOID); in TestProtos() local 438 ProtoItem *proto_item = container.GetOrCreateProtoItem(ret_type, params); in TestProtos() 511 PrimitiveTypeItem *ret_type = container.CreateItem<PrimitiveTypeItem>(Type::TypeId::VOID); in TEST() local 514 ProtoItem *proto_item = container.GetOrCreateProtoItem(ret_type, params); in TEST() 613 PrimitiveTypeItem *ret_type = container.CreateItem<PrimitiveTypeItem>(Type::TypeId::VOID); in TEST() local 616 ProtoItem *proto_item = container.GetOrCreateProtoItem(ret_type, params); in TEST()
|
D | debug_info_extractor_test.cpp | 48 PrimitiveTypeItem *ret_type = container->CreateItem<PrimitiveTypeItem>(Type::TypeId::VOID); in PreparePandaFile() local 51 ProtoItem *proto_item = container->GetOrCreateProtoItem(ret_type, params); in PreparePandaFile()
|
/ark/runtime_core/runtime/ |
D | method.cpp | 76 auto ret_type = GetReturnType(); in GetReturnTypeDescriptor() local 77 if (!ret_type.IsPrimitive()) { in GetReturnTypeDescriptor() 81 switch (ret_type.GetId()) { in GetReturnTypeDescriptor() 172 panda_file::Type ret_type = GetReturnType(); in InvokeGen() local 176 if (ret_type.IsReference()) { in InvokeGen() 203 if (ret_type.IsReference()) { in InvokeGen() 217 res = GetReturnValueFromAcc(ret_type, thread->HasPendingException(), frame->GetAcc()); in InvokeGen()
|
/ark/runtime_core/libpandafile/ |
D | file_item_container.cpp | 217 ProtoItem *ItemContainer::GetOrCreateProtoItem(TypeItem *ret_type, const std::vector<MethodParamIte… in GetOrCreateProtoItem() argument 219 ProtoKey key(ret_type, params); in GetOrCreateProtoItem() 220 return GetOrInsert<ProtoItem>(proto_map_, items_, key, false, ret_type, params); in GetOrCreateProtoItem() 944 ItemContainer::ProtoKey::ProtoKey(TypeItem *ret_type, const std::vector<MethodParamItem> ¶ms) in ProtoKey() argument 946 Add(ret_type); in ProtoKey() 951 size_t ret_type_hash = std::hash<TypeItem *>()(ret_type); in ProtoKey()
|
D | file_item_container.h | 63 ProtoItem *GetOrCreateProtoItem(TypeItem *ret_type, const std::vector<MethodParamItem> ¶ms); 340 ProtoKey(TypeItem *ret_type, const std::vector<MethodParamItem> ¶ms);
|
D | file_items.cpp | 375 ProtoItem::ProtoItem(TypeItem *ret_type, const std::vector<MethodParamItem> ¶ms) in ProtoItem() argument 379 AddType(ret_type, &n); in ProtoItem()
|
D | file_items.h | 1126 ProtoItem(TypeItem *ret_type, const std::vector<MethodParamItem> ¶ms);
|
/ark/runtime_core/verification/absint/ |
D | abs_int_inl.h | 2941 bool CheckReturn(Type ret_type, Type acc_type, Check check) in CheckReturn() argument 2943 TypeId ret_type_id = Types().TypeIdOf(ret_type); in CheckReturn()
|