Home
last modified time | relevance | path

Searched refs:calleeType (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzer.h49 checker::Signature *ResolveSignature(ETSChecker *checker, ir::CallExpression *expr, checker::Type *calleeType,
51 checker::Type *GetReturnType(ir::CallExpression *expr, checker::Type *calleeType) const;
53 checker::Type *GetCallExpressionReturnType(ir::CallExpression *expr, checker::Type *calleeType) const;
63 checker::Type *calleeType = expr->GetTypeRef()->Check(checker); in GetCalleeType() local
64 if (calleeType->IsTypeError()) { in GetCalleeType()
69 if (!calleeType->IsETSObjectType()) { in GetCalleeType()
75 return calleeType; in GetCalleeType()
H A DETSAnalyzerHelpers.h42 checker::Type *calleeType);
48 ArenaVector<checker::Signature *> &ChooseSignatures(ETSChecker *checker, checker::Type *calleeType,
51 checker::ETSObjectType *ChooseCalleeObj(ETSChecker *checker, ir::CallExpression *expr, checker::Type *calleeType,
H A DETSAnalyzer.cpp437 auto *calleeType = GetCalleeType(checker, expr); in Check() local
438 if (calleeType == nullptr) { in Check()
442 if (calleeType->IsTypeError()) { in Check()
443 expr->SetTsType(calleeType); in Check()
446 auto *calleeObj = calleeType->AsETSObjectType(); in Check()
451 if (calleeType->IsETSDynamicType() && !calleeType->AsETSDynamicType()->HasDecl()) { in Check()
452 auto lang = calleeType->AsETSDynamicType()->Language(); in Check()
472 if (calleeType->IsETSDynamicType()) { in Check()
474 auto lang = calleeType in Check()
1016 ResolveSignature(ETSChecker *checker, ir::CallExpression *expr, checker::Type *calleeType, bool isFunctionalInterface, bool isUnionTypeWithFunctionalInterface) const ResolveSignature() argument
1191 checker::Type *calleeType = checker->GetApparentType(expr->Callee()->Check(checker)); Check() local
[all...]
H A DETSAnalyzerHelpers.cpp272 checker::Type *calleeType) in InitAnonymousLambdaCallee()
296 checker->Relation()->IsAssignableTo(calleeType, funcIface); in InitAnonymousLambdaCallee()
373 ArenaVector<checker::Signature *> &ChooseSignatures(ETSChecker *checker, checker::Type *calleeType, in ChooseSignatures() argument
380 return calleeType->AsETSObjectType()->ConstructSignatures(); in ChooseSignatures()
383 return calleeType->AsETSObjectType() in ChooseSignatures()
390 unionSignatures = GetUnionTypeSignatures(checker, calleeType->AsETSUnionType()); in ChooseSignatures()
393 return calleeType->AsETSFunctionType()->CallSignatures(); in ChooseSignatures()
396 checker::ETSObjectType *ChooseCalleeObj(ETSChecker *checker, ir::CallExpression *expr, checker::Type *calleeType, in ChooseCalleeObj() argument
400 return calleeType->AsETSObjectType(); in ChooseCalleeObj()
271 InitAnonymousLambdaCallee(checker::ETSChecker *checker, ir::Expression *callee, checker::Type *calleeType) InitAnonymousLambdaCallee() argument
H A DTSAnalyzer.cpp517 checker::Type *calleeType = expr->callee_->Check(checker); in Check() local
520 if (calleeType->IsObjectType()) { in Check()
521 checker::ObjectType *calleeObj = calleeType->AsObjectType(); in Check()
688 checker::Type *calleeType = expr->callee_->Check(checker); in Check() local
690 if (calleeType->IsObjectType()) { in Check()
691 checker::ObjectType *calleeObj = calleeType->AsObjectType(); in Check()
H A DETSchecker.h353 void InferTypesForLambda(ir::ScriptFunction *lambda, ir::ETSFunctionType *calleeType,
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DnewExpression.cpp72 checker::Type *calleeType = callee_->Check(checker); in Check() local
75 if (calleeType->IsObjectType()) { in Check()
76 checker::ObjectType *calleeObj = calleeType->AsObjectType(); in Check()
H A DcallExpression.cpp220 checker::Type *calleeType = callee_->Check(checker); in Check() local
223 if (calleeType->IsObjectType()) { in Check()
224 checker::ObjectType *calleeObj = calleeType->AsObjectType(); in Check()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DcallExpression.h181 checker::Type *calleeType);
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DlocalClassLowering.cpp264 checker::Type *calleeType = newExpr->GetTypeRef()->Check(checker); in Perform()
265 auto *calleeObj = calleeType->AsETSObjectType(); in Perform()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeCheckingHelpers.cpp922 ir::ETSFunctionType *calleeType = typeAnn->AsETSFunctionType();
923 return lambda->Params().size() == calleeType->Params().size();
938 auto calleeType = typeAnnotation->AsETSFunctionType();
942 InferTypesForLambda(lambda, calleeType, functionSignature);
H A Dhelpers.cpp2242 void ETSChecker::InferTypesForLambda(ir::ScriptFunction *lambda, ir::ETSFunctionType *calleeType, in InferTypesForLambda() argument
2245 for (size_t i = 0; i < calleeType->Params().size(); ++i) { in InferTypesForLambda()
2246 const auto *const calleeParam = calleeType->Params()[i]->AsETSParameterExpression()->Ident(); in InferTypesForLambda()
2251 ASSERT(maybeSubstitutedFunctionSig->Params().size() == calleeType->Params().size()); in InferTypesForLambda()
2259 auto *const returnTypeAnnotation = calleeType->ReturnType()->Clone(Allocator(), lambda); in InferTypesForLambda()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp751 auto const *const enumInterface = [calleeType = calleeObject->TsType()]() -> checker::ETSEnumType const * { in IsSucceedCompilationProxyMemberExpr()
752 if (calleeType == nullptr) { in IsSucceedCompilationProxyMemberExpr()
755 if (calleeType->IsETSIntEnumType()) { in IsSucceedCompilationProxyMemberExpr()
756 return calleeType->AsETSIntEnumType(); in IsSucceedCompilationProxyMemberExpr()
758 if (calleeType->IsETSStringEnumType()) { in IsSucceedCompilationProxyMemberExpr()
759 return calleeType->AsETSStringEnumType(); in IsSucceedCompilationProxyMemberExpr()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_MPIsel.cpp287 auto calleeType = static_cast<MIRFuncType *>(retType); in SelectIcall() local
288 retType = GlobalTables::GetTypeTable().GetTypeFromTyIdx(calleeType->GetRetTyIdx()); in SelectIcall()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cgfunc.cpp3323 MIRFuncType *calleeType = nullptr;
3327 calleeType = callee->GetMIRFuncType();
3332 calleeType = static_cast<MIRPtrType *>(protoType)->GetPointedFuncType();
3334 calleeType = static_cast<MIRFuncType *>(protoType);
3337 return {callee, calleeType};
3368 auto [callee, calleeType] = GetCalleeFunction(naryNode);
3402 parmLocator.LocateNextParm(*mirType, ploc, (i == 0), calleeType);

Completed in 29 milliseconds