Home
last modified time | relevance | path

Searched defs:funcType (Results 1 – 25 of 29) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/ir/expressions/
DfunctionExpression.cpp57 checker::Type *funcType = checker->CreateFunctionTypeWithSignature(signature); in Check() local
DarrowFunctionExpression.cpp57 checker::Type *funcType = checker->CreateFunctionTypeWithSignature(signature); in Check() local
DobjectExpression.cpp626 checker::Type *funcType = prop->Value()->Check(checker); in GetTypeForProperty() local
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DarrowFunctionExpression.cpp159 …auto *funcType = checker->AllocNode<ir::ETSFunctionType>(std::move(signature), ir::ScriptFunctionF… in CreateTypeAnnotation() local
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dfunction.cpp598 Type *funcType = CreateFunctionTypeWithSignature(bodyCallSignature); in InferFunctionDeclarationType() local
606 Type *funcType = allocator_->New<FunctionType>(descWithOverload); in InferFunctionDeclarationType() local
/arkcompiler/ets_frontend/ets2panda/checker/ts/
Dfunction.cpp613 Type *funcType = CreateFunctionTypeWithSignature(bodyCallSignature); in InferFunctionDeclarationType() local
622 Type *funcType = Allocator()->New<FunctionType>(descWithOverload); in InferFunctionDeclarationType() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dobject.cpp571 auto *funcType = checker->BuildMethodSignature(method); in ResolveDeclaredMethodsOfObject() local
594 auto *funcType = checker->BuildMethodSignature(method); in ResolveDeclaredMethodsOfObject() local
893 … CallRedeclarationCheckForCorrectSignature(ir::MethodDefinition *method, ETSFunctionType *funcType, in CallRedeclarationCheckForCorrectSignature()
918 auto *funcType = prop->TsType()->AsETSFunctionType(); in CheckInterfaceFunctions() local
1831 auto funcType = property->TsType()->AsETSFunctionType(); in ValidateNamespaceProperty() local
2085 … ETSFunctionType *propType, ETSFunctionType *funcType, in ResolveAccessorTypeByFlag()
2138 auto *funcType = eAcc != nullptr ? eAcc->TsType()->AsETSFunctionType() : nullptr; in ValidateAccessor() local
Dhelpers.cpp905 ETSFunctionType *funcType) in ResolveGetter()
932 …TSChecker::FindRelativeExtensionGetter(ir::MemberExpression *const expr, ETSFunctionType *funcType) in FindRelativeExtensionGetter()
952 …ure *ETSChecker::FindRelativeExtensionSetter(ir::MemberExpression *expr, ETSFunctionType *funcType) in FindRelativeExtensionSetter()
1937 bool ETSChecker::IsFunctionContainsSignature(checker::ETSFunctionType *funcType, Signature *signatu… in IsFunctionContainsSignature()
1949 bool ETSChecker::CheckFunctionContainsClashingSignature(const checker::ETSFunctionType *funcType, S… in CheckFunctionContainsClashingSignature()
Dfunction.cpp1238 …lectOverload(checker::ETSChecker *checker, ir::MethodDefinition *method, ETSFunctionType *funcType) in CollectOverload()
1300 auto *funcType = BuildMethodType(method->Function()); in BuildMethodSignature() local
1548 ETSFunctionType *funcType; in BuildMethodType() local
DutilityTypeHandlers.cpp974 …auto *const funcType = CreateETSMethodType(id->Name(), {{signature}, ProgramAllocator()->Adapter()… in CreateNonStaticClassInitializer() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dglobal_tables.cpp157 MIRFuncType funcType(retTyIdx, vecType, vecAttrs, retAttrs); in GetOrCreateFunctionType() local
Dmir_builder.cpp39 MIRFuncType funcType; in GetOrCreateFunction() local
94 auto *funcType = static_cast<MIRFuncType *>(funcSymbol->GetType()); in CreateFunction() local
Dmir_nodes.cpp596 …MIRFuncType *funcType = static_cast<MIRFuncType *>(GlobalTables::GetTypeTable().GetTypeFromTyIdx(r… in GetCallReturnType() local
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsObjectType.cpp149 static bool HasAccessor(const PropertySearchFlags &flags, const ETSFunctionType *funcType) in HasAccessor()
157 …id UpdateDeclarationForGetterSetter(varbinder::LocalVariable *res, const ETSFunctionType *funcType, in UpdateDeclarationForGetterSetter()
187 ETSFunctionType *funcType = CreateMethodTypeForProp(name); in CreateSyntheticVarFromEverySignature() local
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserTypes.cpp216 auto *funcType = AllocNode<ir::ETSFunctionType>( in ParseFunctionType() local
DASparser.cpp520 auto funcType = AllocNode<ir::TSFunctionType>(std::move(signature), Allocator()); in ParseFunctionType() local
DTSparser.cpp1253 ir::TypeNode *funcType = nullptr; in ParseFunctionType() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
Dllvm_ir_builder.cpp663 auto funcType = llvmModule_->GetFuncType(signature); in GetOrDeclareFunction() local
721 LLVMTypeRef funcType = llvmModule_->GenerateFuncType(params, signature); in VisitRuntimeCall() local
794 LLVMTypeRef funcType = llvmModule_->GenerateFuncType(params, signature); in VisitRuntimeCallWithArgv() local
1174 LLVMTypeRef funcType = llvmModule_->GenerateFuncType(params, calleeDescriptor); in VisitCall() local
1224 LLVMTypeRef funcType = llvmModule_->GenerateFuncType(params, signature); in VisitBytecodeCall() local
2903 auto funcType = LLVMFunctionType(GetInt64T(), paramTys.data(), paramTys.size(), 0); in GenDeoptEntry() local
3096 LLVMTypeRef funcType = GetExperimentalDeoptTy(); in VisitDeoptCheck() local
3188 auto funcType = GetFuncType(stubDescriptor); in AddAndGetFunc() local
3268 …auto funcType = LLVMFunctionType(returnType, paramTys.data(), paramCount, false); // not variable … in AddFunc() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dlower.cpp552 auto *funcType = func.GetMIRFuncType(); in LowerEntry() local
832 … MIRType *funcType = beCommon.BeGetOrCreateFunctionType(retTy->GetTypeIndex(), funcTyVec, fnTaVec); in LowerDefaultIntrinsicCall() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/libani_helpers/tests/ani_signature_builder/
Dani_signature_builder_test.cpp91 Type funcType = Builder::BuildFunctionalObject(2, false); in TEST() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DinterfaceObjectLiteralLowering.cpp155 auto funcType = (instanProp != nullptr) ? instanProp->TsType() : nullptr; in FillClassBody() local
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp327 checker::Type *funcType = checker->CreateFunctionTypeWithSignature(signature); in Check() local
570 checker::Type *funcType = checker->CreateFunctionTypeWithSignature(signature); in Check() local
733 checker::Type *funcType = prop->Value()->Check(checker); in GetTypeForProperty() local
DETSAnalyzerHelpers.cpp58 const auto *const funcType = methodVariable->TsType()->AsETSFunctionType(); in CheckExtensionIsShadowedInCurrentClassOrInterface() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
DscopesInitPhase.cpp386 void ScopesInitPhase::VisitTSFunctionType(ir::TSFunctionType *funcType) in VisitTSFunctionType()
1119 void InitScopesPhaseETS::VisitETSFunctionType(ir::ETSFunctionType *funcType) in VisitETSFunctionType()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
Dlitecg_ir_builder.cpp1407 …auto funcType = lmirBuilder_->CreateFuncType(paramTys, returnType, stubDescriptor->IsVariadicArgs(… in GetFuncType() local
2869 LiteCGType *funcType = GetExperimentalDeoptTy(); in GenDeoptEntry() local
3109 LiteCGType *funcType = GetExperimentalDeoptTy(); in GetOrCreateDeoptBBInfo() local

12