/arkcompiler/runtime_core/static_core/irtoc/backend/ |
H A D | irtoc_runtime.h | 67 auto retType = compiler::DataType::NO_TYPE; variable 74 ASSERT(retType == compiler::DataType::NO_TYPE || retType == last->GetType()); 75 retType = last->GetType(); 78 return retType;
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | c2i_bridge_test.cpp | 120 Method *MakeNoArgsMethod(TypeId retType, int64_t ret) in MakeNoArgsMethod() argument 128 if (retType == TypeId::REFERENCE) { in MakeNoArgsMethod() 132 out << ".function " << panda_file::Type(retType) << " main() {\n"; in MakeNoArgsMethod() 133 if (TypeId::F32 <= retType && retType <= TypeId::F64) { in MakeNoArgsMethod() 136 } else if (TypeId::I64 <= retType && retType <= TypeId::U64) { in MakeNoArgsMethod() 139 } else if (retType == TypeId::REFERENCE) { in MakeNoArgsMethod() 182 TypeId retType = *shortyIt++; in MakeCheckArgsMethod() local 208 FillBodyEpilogue(retType, bod in MakeCheckArgsMethod() 256 FillBodyEpilogue(const TypeId &retType, std::ostringstream &body) FillBodyEpilogue() argument 273 GetFileWithInfo(LanguageContext &ctx, TypeId retType, const std::ostringstream &signature, const std::ostringstream &body) GetFileWithInfo() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_call_conv.cpp | 32 void AArch64CallConvImpl::LocateRetVal(const MIRType &retType, CCLocInfo &pLoc) in LocateRetVal() argument 35 size_t retSize = retType.GetSize(); in LocateRetVal() 40 PrimType primType = retType.GetPrimType(); in LocateRetVal() 182 void AArch64WebKitJSCC::LocateRetVal(const MIRType &retType, CCLocInfo &pLoc) in LocateRetVal() argument 186 int32 alignedTySize = ClassificationRet(beCommon, retType, classes); in LocateRetVal()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_call_conv.cpp | 155 int32 X64CallConvImpl::LocateRetVal(MIRType &retType, CCLocInfo &pLoc) in LocateRetVal() argument 159 uint32 alignedTySize = static_cast<uint32>(GetCallConvInfo().Classification(beCommon, retType, classes)); in LocateRetVal() 172 pLoc.primTypeOfReg0 = retType.GetPrimType(); in LocateRetVal() 181 pLoc.primTypeOfReg0 = retType.GetPrimType(); in LocateRetVal()
|
H A D | x64_MPIsel.cpp | 67 MIRType *retType = cgFunc->GetFunction().GetReturnType(); in SelectReturn() local 70 retLocator.LocateRetVal(*retType, retMech); in SelectReturn() 218 void X64MPIsel::SelectCalleeReturn(MIRType *retType, ListOperand &retOpnds) in SelectCalleeReturn() argument 220 if (retType == nullptr) { in SelectCalleeReturn() 223 auto retSize = retType->GetSize() * kBitsPerByte; in SelectCalleeReturn() 250 MIRType *retType = fn->GetReturnType(); in SelectCall() local 252 SelectCalleeReturn(retType, retOpnds); in SelectCall() 255 if (retType != nullptr) { in SelectCall() 256 callInsn.SetRetSize(static_cast<uint32>(retType->GetSize())); in SelectCall() 257 callInsn.SetIsCallReturnUnsigned(IsUnsignedInteger(retType in SelectCall() 284 MIRType *retType = GlobalTables::GetTypeTable().GetTypeFromTyIdx(iCallNode.GetRetTyIdx()); SelectIcall() local 816 PrimType retType = node.GetPrimType(); SelectCctz() local 859 PrimType retType = node.GetPrimType(); SelectCclz() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/js_interop/ |
H A D | js_interop_inst_builder.cpp | 58 IntrinsicInst *InstBuilder::BuildInteropIntrinsic(size_t pc, RuntimeInterface::IntrinsicId id, DataType::Type retType, in BuildInteropIntrinsic() argument 62 auto intrinsic = GetGraph()->CreateInstIntrinsic(retType, pc, id); in BuildInteropIntrinsic() 132 auto [id, retType] = retIntrinsicId.value(); in BuildReturnValueConvertInteropIntrinsic() 140 ret = BuildInteropIntrinsic<2U>(pc, id, retType, {DataType::REFERENCE, DataType::POINTER}, in BuildReturnValueConvertInteropIntrinsic() 143 ret = BuildInteropIntrinsic<1>(pc, id, retType, {DataType::POINTER}, {jsCall, saveState}); in BuildReturnValueConvertInteropIntrinsic()
|
H A D | js_interop_inst_builder.h | 23 IntrinsicInst *BuildInteropIntrinsic(size_t pc, RuntimeInterface::IntrinsicId id, DataType::Type retType,
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | interfaceObjectLiteralLowering.cpp | 95 auto *retType = ifaceMethod->Function()->Signature()->ReturnType(); in CreateAnonClassFieldGetterSetter() 96 if (IsInterfaceType(retType)) { in CreateAnonClassFieldGetterSetter() 97 auto *anonClass = retType->AsETSObjectType()->GetDeclNode()->AsTSInterfaceDeclaration()->GetAnonClass(); in CreateAnonClassFieldGetterSetter() 99 retType = anonClass->Definition()->TsType(); in CreateAnonClassFieldGetterSetter() 101 ASSERT(retType != nullptr); in CreateAnonClassFieldGetterSetter() 111 checker->AddParam(ifaceMethod->Id()->Name(), checker->AllocNode<ir::OpaqueTypeNode>(retType)); in CreateAnonClassFieldGetterSetter() 141 *returnType = retType; in CreateAnonClassFieldGetterSetter()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_call_conv.h | 47 void LocateRetVal(const MIRType &retType, CCLocInfo &ploc) override; 94 void LocateRetVal(const MIRType &retType, CCLocInfo &ploc) override;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/ |
H A D | lmir_builder.h | 257 Type *CreateFuncType(std::vector<Type *> params, Type *retType, bool isVarg); 497 retType = type; in Return() 517 return builder.CreateFunctionInternal(name, retType, params, isVargs, needBody, attr, convAttr); in Done() 523 Type *retType; member in maple::litecg::LMIRBuilder::FunctionBuilder 568 Function &CreateFunctionInternal(const String &name, Type *retType, Params ¶ms, bool isVargs, bool needBody,
|
/arkcompiler/runtime_core/static_core/irtoc/backend/compiler/ |
H A D | codegen_fastpath.cpp | 147 if (auto retType {GetRuntime()->GetMethodReturnType(GetGraph()->GetMethod())}; in GetCallerRegistersToRestore() 148 retType != DataType::VOID && retType != DataType::NO_TYPE) { in GetCallerRegistersToRestore() 149 ASSERT(!DataType::IsFloatType(retType)); in GetCallerRegistersToRestore()
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | file_item_container.h | 71 ProtoItem *GetOrCreateProtoItem(TypeItem *retType, const std::vector<MethodParamItem> ¶ms); 165 ProtoItem *GetProtoItem(TypeItem *retType, const std::vector<MethodParamItem> ¶ms) in GetProtoItem() argument 167 return protoMap_.at(ProtoKey {retType, params}); in GetProtoItem() 467 ProtoKey(TypeItem *retType, const std::vector<MethodParamItem> ¶ms);
|
H A D | file_item_container.cpp | 241 ProtoItem *ItemContainer::GetOrCreateProtoItem(TypeItem *retType, const std::vector<MethodParamItem> ¶ms) in GetOrCreateProtoItem() argument 243 ProtoKey key(retType, params); in GetOrCreateProtoItem() 244 return GetOrInsert<ProtoItem>(protoMap_, items_, itemsEnd_, key, false, retType, params); in GetOrCreateProtoItem() 995 ItemContainer::ProtoKey::ProtoKey(TypeItem *retType, const std::vector<MethodParamItem> ¶ms) in ProtoKey() argument 997 Add(retType); in ProtoKey() 1002 size_t retTypeHash = std::hash<TypeItem *>()(retType); in ProtoKey()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | class.h | 855 auto retType = m.GetReturnType(); in LookupGetterByName() local 856 if (retType.IsVoid()) { in LookupGetterByName() 866 if (retType.IsPrimitive()) { in LookupGetterByName() 870 if (retType.IsReference()) { in LookupGetterByName() 874 if (retType.GetBitWidth() != coretypes::INT64_BITS) { in LookupGetterByName() 878 if (retType.GetBitWidth() > coretypes::INT32_BITS) { in LookupGetterByName()
|
H A D | method.h | 868 panda_file::Type retType = GetReturnType(); in GetReturnValueFromTaggedValue() local 869 if (retType.GetId() == panda_file::Type::TypeId::VOID) { in GetReturnValueFromTaggedValue() 872 if (retType.GetId() == panda_file::Type::TypeId::REFERENCE) { in GetReturnValueFromTaggedValue()
|
/arkcompiler/runtime_core/static_core/libpandafile/tests/ |
H A D | file_item_container_test.cpp | 197 PrimitiveTypeItem *retType = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in TEST() local 199 ProtoItem *protoItem = container.GetOrCreateProtoItem(retType, params); in TEST() 357 PrimitiveTypeItem *retType = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in TEST() local 359 ProtoItem *protoItem = container.GetOrCreateProtoItem(retType, params); in TEST() 439 PrimitiveTypeItem *retType = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in TestProtos() local 457 ProtoItem *protoItem = container.GetOrCreateProtoItem(retType, params); in TestProtos() 533 PrimitiveTypeItem *retType = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in TEST() local 536 ProtoItem *protoItem = container.GetOrCreateProtoItem(retType, params); in TEST() 638 PrimitiveTypeItem *retType = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in TEST() local 641 ProtoItem *protoItem = container.GetOrCreateProtoItem(retType, param in TEST() [all...] |
H A D | debug_info_extractor_test.cpp | 51 PrimitiveTypeItem *retType = container->GetOrCreatePrimitiveTypeItem(Type::TypeId::VOID); in PreparePandaFile() local 54 ProtoItem *protoItem = container->GetOrCreateProtoItem(retType, params); in PreparePandaFile()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
H A D | lower.cpp | 247 MIRType *retType = nullptr; in GenBlockNode() local 259 retType = GlobalTables::GetTypeTable().GetTypeFromTyIdx(sym->GetTyIdx()); in GenBlockNode() 260 if (beCommon.GetTypeSize(retType->GetTypeIndex().GetIdx()) == 0) { in GenBlockNode() 303 LowerCallStmt(newCall, dStmt, *blk, retType, uselvar, opcode == OP_intrinsiccallassigned); in GenBlockNode() 828 MIRType *retType = IntrinDesc::intrinTable[intrinNode->GetIntrinsic()].GetReturnType(); in LowerDassign() local 829 CHECK_FATAL(retType != nullptr, "retType should not be nullptr"); in LowerDassign()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | call_conv.h | 257 virtual void LocateRetVal(const MIRType &retType, CCLocInfo &ploc) = 0;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_MPISel.h | 53 void SelectCalleeReturn(MIRType *retType, ListOperand &retOpnds);
|
H A D | x64_call_conv.h | 186 int32 LocateRetVal(MIRType &retType, CCLocInfo &ploc);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
H A D | lmir_builder.cpp | 147 Type *LMIRBuilder::CreateFuncType(std::vector<Type *> params_, Type *retType, bool isVarg) in CreateFuncType() argument 157 auto type = GlobalTables::GetTypeTable().GetOrCreateFunctionType(retType->GetTypeIndex(), params, attrs, isVarg); in CreateFuncType() 200 Function &LMIRBuilder::CreateFunctionInternal(const String &name, Type *retType, Params ¶ms_, bool isVargs, in CreateFunctionInternal() argument 207 auto func = mirBuilder.CreateFunction(name, *retType, params, isVargs, needBody); in CreateFunctionInternal()
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | method.cpp | 104 auto retType = GetReturnType(); in GetReturnTypeDescriptor() local 105 if (!retType.IsPrimitive()) { in GetReturnTypeDescriptor() 109 switch (retType.GetId()) { in GetReturnTypeDescriptor()
|
/arkcompiler/runtime_core/libpandafile/ |
H A D | file_item_container.h | 160 ProtoItem *GetProtoItem(TypeItem *retType, const std::vector<MethodParamItem> ¶ms) in GetProtoItem() argument 162 return proto_map_.at(ProtoKey {retType, params}); in GetProtoItem()
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ |
H A D | signature.cpp | 386 auto *retType = returnType_->HasTypeFlag(TypeFlag::ETS_PRIMITIVE) in BoxPrimitives() local 390 auto *resultSig = allocator->New<Signature>(sigInfo, retType, func_); in BoxPrimitives()
|