| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | functionType.cpp | 22 void FunctionType::ToString(std::stringstream &ss) const in ToString() 24 static std::unordered_set<const FunctionType *> stack; in ToString() 50 TypeFacts FunctionType::GetTypeFacts() const in GetTypeFacts() 55 Type *FunctionType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolde… in Instantiate() 59 return allocator->New<FunctionType>(copiedDesc); in Instantiate()
|
| D | functionType.h | 24 class FunctionType : public ObjectType { 26 …explicit FunctionType(ObjectDescriptor *desc) : ObjectType(ObjectType::ObjectTypeKind::FUNCTION, d… in FunctionType() function
|
| D | typeMapping.h | 47 _(ObjectType::ObjectTypeKind::FUNCTION, FunctionType) \
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ts/ |
| D | functionType.cpp | 21 void FunctionType::ToString(std::stringstream &ss) const in ToString() 23 static std::unordered_set<const FunctionType *> stack; in ToString() 49 TypeFacts FunctionType::GetTypeFacts() const in GetTypeFacts() 54 Type *FunctionType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolde… in Instantiate() 58 return allocator->New<FunctionType>(copiedDesc); in Instantiate()
|
| D | functionType.h | 23 class FunctionType : public ObjectType { 25 …explicit FunctionType(ObjectDescriptor *desc) : ObjectType(ObjectType::ObjectTypeKind::FUNCTION, d… in FunctionType() function
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/ |
| D | llvm_ark_interface.h | 34 class FunctionType; variable 60 using RuntimeCallee = std::pair<llvm::FunctionType *, llvm::StringRef>; 85 llvm::FunctionType *GetRuntimeFunctionType(llvm::StringRef name) const; 86 llvm::FunctionType *GetOrCreateRuntimeFunctionType(llvm::LLVMContext &ctx, llvm::Module *module, 131 llvm::StringMap<llvm::FunctionType *> runtimeFunctionTypes_;
|
| D | llvm_ark_interface.cpp | 122 llvm::FunctionType *LLVMArkInterface::GetRuntimeFunctionType(llvm::StringRef name) const in GetRuntimeFunctionType() 127 llvm::FunctionType *LLVMArkInterface::GetOrCreateRuntimeFunctionType(llvm::LLVMContext &ctx, llvm::… in GetOrCreateRuntimeFunctionType()
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | callable.h | 48 using FunctionType = R (*)(Args...); variable 52 FunctionType f; 54 explicit MethodUnion(FunctionType function) : f(function) {} in MethodUnion() 97 … constexpr callable(FunctionType func) : method_ {func} {} // NOLINT(google-explicit-constructor) in callable()
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/templates/ |
| D | intrinsics_gen.inl.erb | 17 llvm::FunctionType *GetIntrinsicDeclaration(llvm::LLVMContext &ctx, panda::compiler::RuntimeInterfa… 23 return llvm::FunctionType::get(llvm::Type::getVoidTy(ctx), 26 return llvm::FunctionType::get(llvm::Type::getVoidTy(ctx), 31 … return llvm::FunctionType::get(<%= llvm_type_getter(intrinsic.impl_signature.ret, 'GC_SPACE') %>,
|
| D | entrypoints_gen.inl.erb | 17 llvm::FunctionType *GetEntrypointDeclaration(llvm::LLVMContext &ctx, llvm::Module *module, panda::c… 26 … return llvm::FunctionType::get(<%= llvm_type_getter(entrypoint.signature[0], 'GC_SPACE') %>,
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
| D | gc_barriers.cpp | 75 …llvm::FunctionType::get(builder->getVoidTy(), {builder->getPtrTy(LLVMArkInterface::GC_ADDR_SPACE)}… in EmitPreWRB() 96 …auto funcTy = llvm::FunctionType::get(builder->getVoidTy(), {gcPtrTy, int32Ty, gcPtrTy, ptrTy}, fa… in EmitPostWRB() 103 …auto funcTy = llvm::FunctionType::get(builder->getVoidTy(), {gcPtrTy, int32Ty, gcPtrTy, ptrTy, ptr… in EmitPostWRB()
|
| D | llvm_ir_constructor.cpp | 70 inline llvm::Function *CreateFunctionDeclaration(llvm::FunctionType *functionType, const std::strin… in CreateFunctionDeclaration() 98 auto iasmType = llvm::FunctionType::get(builder->getVoidTy(), {}, false); in CreateBlackBoxAsm() 104 auto oneInt = llvm::FunctionType::get(builder->getVoidTy(), {builder->getInt32Ty()}, false); in CreateInt32ImmAsm() 298 auto ftype = llvm::FunctionType::get(GetType(inst->GetType()), argTypes, false); in EmitSlowPathEntry() 741 auto itype = llvm::FunctionType::get(type, {type, type}, false); // no var args in CreateAArch64SignDivMod() 747 auto modAsmType = llvm::FunctionType::get(type, {type, type, type}, false); // no var args in CreateAArch64SignDivMod() 936 auto ftype = llvm::FunctionType::get(func_->getReturnType(), argTypes, false); in CreateTailCallFastPath() 980 auto functionType = llvm::FunctionType::get(func_->getReturnType(), argTypes, false); in CreateTailCallInterpreter() 986 llvm::FunctionType *LLVMIrConstructor::GetEntryFunctionType() in GetEntryFunctionType() 1018 …return llvm::FunctionType::get(GetType(retType), makeArrayRef(argTypes.data(), argTypes.size()), f… in GetEntryFunctionType() [all …]
|
| D | llvm_ir_constructor.h | 98 llvm::FunctionType *GetEntryFunctionType();
|
| /arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
| D | typeSystem.h | 429 class FunctionType : public BaseType { 431 …explicit FunctionType(TypeExtractor *extractor, const ir::AstNode *node, const util::StringView &n… in FunctionType() function 484 ~FunctionType() = default; 485 NO_COPY_SEMANTIC(FunctionType); 486 NO_MOVE_SEMANTIC(FunctionType); 751 auto fn = [&method, this](const FunctionType &functionType, const util::StringView &name) { in FillMethod() 762 FunctionType functionType(extractor_, method, name); in FillMethod() 768 FunctionType functionType(extractor_, method, name); in FillMethod() 995 FunctionType functionType(extractor_, method, name); in FillMethod() 1001 FunctionType functionType(extractor_, method, name); in FillMethod() [all …]
|
| D | typeExtractor.cpp | 440 FunctionType functionType(this, node, name); in GetTypeIndexFromFunctionNode() 592 FunctionType functionType(this, type->AsTSFunctionType(), ""); in GetTypeIndexFromAnnotation() 595 FunctionType functionType(this, type->AsTSConstructorType(), ""); in GetTypeIndexFromAnnotation() 609 FunctionType functionType(this, typeAnnotation->AsTSFunctionType(), ""); in GetTypeIndexFromAnnotation() 613 FunctionType functionType(this, typeAnnotation->AsTSConstructorType(), ""); in GetTypeIndexFromAnnotation() 706 FunctionType functionType(this, node, name); in HandleFunctionDeclaration()
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | typeMapping.h | 66 _(ObjectType::ObjectTypeKind::FUNCTION, FunctionType) \
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/transforms/ |
| D | runtime_calls.cpp | 50 auto calleeFuncTy = llvm::cast<llvm::FunctionType>(function_proto); in CreateEntrypointCallCommon()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ts/ |
| D | typeCreation.cpp | 141 …auto *funcObjType = Allocator()->New<FunctionType>(Allocator()->New<ObjectDescriptor>(Allocator())… in CreateFunctionTypeWithSignature()
|
| D | function.cpp | 591 Type *funcType = Allocator()->New<FunctionType>(descWithOverload); in InferFunctionDeclarationType()
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | typeCreation.cpp | 142 … auto *funcObjType = allocator_->New<FunctionType>(allocator_->New<ObjectDescriptor>(allocator_)); in CreateFunctionTypeWithSignature()
|
| D | function.cpp | 610 Type *funcType = allocator_->New<FunctionType>(descWithOverload); in InferFunctionDeclarationType()
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | typeChecker.ts | 24 FunctionType, 419 … let funcType = new FunctionType(functionDeclNode, BuiltinType[functionnameText]);
|
| /arkcompiler/ets_frontend/ts2panda/src/base/ |
| D | typeSystem.ts | 413 let funcType = new FunctionType(<ts.FunctionLikeDeclaration>member); 531 export class FunctionType extends BaseType { class 891 let funcType = new FunctionType(<ts.MethodSignature>member);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Reflect.ets | 55 return new Number((t as FunctionType).getParametersNum())
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Type.ets | 2302 export abstract class FunctionType extends Type { 2392 * Checks for equality this instance with provided object, treated as a FunctionType 2396 * @returns true if object also has FunctionType and 2400 return (to! instanceof FunctionType) && (to! as FunctionType).td == this.td 2449 export final class LambdaType extends FunctionType { 2507 export final class MethodType extends FunctionType {
|