/external/v8/src/objects/ |
D | function-kind.h | 14 enum FunctionKind : uint8_t { enum 63 inline bool IsArrowFunction(FunctionKind kind) { in IsArrowFunction() 64 return base::IsInRange(kind, FunctionKind::kArrowFunction, in IsArrowFunction() 65 FunctionKind::kAsyncArrowFunction); in IsArrowFunction() 68 inline bool IsModule(FunctionKind kind) { in IsModule() 69 return base::IsInRange(kind, FunctionKind::kModule, in IsModule() 70 FunctionKind::kAsyncModule); in IsModule() 73 inline bool IsAsyncModule(FunctionKind kind) { in IsAsyncModule() 74 return kind == FunctionKind::kAsyncModule; in IsAsyncModule() 77 inline bool IsAsyncGeneratorFunction(FunctionKind kind) { in IsAsyncGeneratorFunction() [all …]
|
D | shared-function-info.tq | 17 type FunctionKind extends uint8 constexpr 'FunctionKind'; 22 // Have FunctionKind first to make it cheaper to access. 23 function_kind: FunctionKind: 5 bit;
|
D | scope-info.tq | 39 function_kind: FunctionKind: 5 bit;
|
D | shared-function-info.h | 478 inline FunctionKind kind() const; 677 inline void set_kind(FunctionKind kind);
|
D | scope-info.h | 186 FunctionKind function_kind() const;
|
D | contexts-inl.h | 201 int Context::FunctionMapIndex(LanguageMode language_mode, FunctionKind kind,
|
D | shared-function-info-inl.h | 251 FunctionKind SharedFunctionInfo::kind() const { in kind() 256 void SharedFunctionInfo::set_kind(FunctionKind kind) { in set_kind()
|
D | scope-info.cc | 187 FunctionKind function_kind = kNormalFunction; in Create() 492 FunctionKindBits::encode(FunctionKind::kNormalFunction) | in CreateForBootstrapping() 949 FunctionKind ScopeInfo::function_kind() const { in function_kind()
|
/external/clang/lib/AST/ |
D | Comment.cpp | 159 Kind = FunctionKind; in fill() 179 Kind = FunctionKind; in fill() 189 Kind = FunctionKind; in fill() 277 Kind = FunctionKind; in fill() 296 Kind = FunctionKind; in fill()
|
/external/v8/src/parsing/ |
D | expression-scope.h | 740 ArrowHeadParsingScope(ParserT* parser, FunctionKind kind) in ArrowHeadParsingScope() 743 kind == FunctionKind::kArrowFunction in ArrowHeadParsingScope() 747 DCHECK(kind == FunctionKind::kAsyncArrowFunction || in ArrowHeadParsingScope() 748 kind == FunctionKind::kArrowFunction); in ArrowHeadParsingScope() 815 FunctionKind kind() const { in kind() 817 ? FunctionKind::kAsyncArrowFunction in kind() 818 : FunctionKind::kArrowFunction; in kind()
|
D | parser-base.h | 447 FunctionKind kind() const { return scope()->function_kind(); } in kind() 804 DeclarationScope* NewFunctionScope(FunctionKind kind, 1116 V8_INLINE IdentifierT ParseIdentifier(FunctionKind function_kind); 1216 void CheckArityRestrictions(int param_count, FunctionKind function_type, 1240 FunctionKind kind, 1374 FunctionKind FunctionKindForImpl(bool is_method, ParseFunctionFlags flags) { in FunctionKindForImpl() 1375 static const FunctionKind kFunctionKinds[][2][2] = { in FunctionKindForImpl() 1379 FunctionKind::kNormalFunction, FunctionKind::kAsyncFunction}, in FunctionKindForImpl() 1381 FunctionKind::kGeneratorFunction, in FunctionKindForImpl() 1382 FunctionKind::kAsyncGeneratorFunction}, in FunctionKindForImpl() [all …]
|
D | parse-info.h | 111 FunctionKind function_kind() const { return function_kind_; } in function_kind() 112 UnoptimizedCompileFlags& set_function_kind(FunctionKind value) { in set_function_kind() 144 FunctionKind function_kind_;
|
D | parser.h | 301 void ParseAndRewriteGeneratorFunctionBody(int pos, FunctionKind kind, 304 int pos, FunctionKind kind, ScopedPtrList<Statement>* body); 379 FunctionNameValidity function_name_validity, FunctionKind kind, 427 bool SkipFunction(const AstRawString* function_name, FunctionKind kind, 440 int pos, FunctionKind kind, FunctionSyntaxKind function_syntax_kind, 507 Expression* BuildInitialYield(int pos, FunctionKind kind); 508 Assignment* BuildCreateJSGeneratorObject(int pos, FunctionKind kind);
|
D | preparser.h | 960 const AstRawString* function_name, FunctionKind kind, 1001 V8_INLINE bool SkipFunction(const AstRawString* name, FunctionKind kind, 1011 FunctionNameValidity function_name_validity, FunctionKind kind, 1135 int pos, FunctionKind kind, PreParserScopedStatementList* body) { 1139 int pos, FunctionKind kind, PreParserScopedStatementList* body) { 1249 FunctionKind kind = has_extends ? FunctionKind::kDefaultDerivedConstructor 1250 : FunctionKind::kDefaultBaseConstructor;
|
D | preparser.cc | 106 const AstRawString* function_name, FunctionKind kind, in PreParseFunction() 265 FunctionNameValidity function_name_validity, FunctionKind kind, in ParseFunctionLiteral()
|
D | parser.cc | 43 FunctionKind kind = call_super ? FunctionKind::kDefaultDerivedConstructor in DefaultConstructor() 44 : FunctionKind::kDefaultBaseConstructor; in DefaultConstructor() 911 FunctionKind kind = flags().function_kind(); in DoParseFunction() 1938 int pos, FunctionKind kind, ScopedPtrList<Statement>* body) { in ParseAndRewriteGeneratorFunctionBody() 1947 int pos, FunctionKind kind, ScopedPtrList<Statement>* body) { in ParseAndRewriteAsyncGeneratorFunctionBody() 2480 FunctionNameValidity function_name_validity, FunctionKind kind, in ParseFunctionLiteral() 2697 bool Parser::SkipFunction(const AstRawString* function_name, FunctionKind kind, in SkipFunction() 2885 Expression* Parser::BuildInitialYield(int pos, FunctionKind kind) { in BuildInitialYield() 2898 FunctionKind kind, FunctionSyntaxKind function_syntax_kind, in ParseFunction() 3099 FunctionKind::kClassMembersInitializerFunction); in CreateInitializerFunction()
|
D | parse-info.cc | 27 function_kind_(FunctionKind::kNormalFunction), in UnoptimizedCompileFlags()
|
/external/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 90 enum SummaryKind { AliasKind, FunctionKind, GlobalVarKind }; enumerator 247 : GlobalValueSummary(FunctionKind, Flags), InstCount(NumInsts) {} in FunctionSummary() 251 return GVS->getSummaryKind() == FunctionKind; in classof()
|
/external/v8/src/ast/ |
D | prettyprinter.h | 75 FunctionKind function_kind_;
|
D | scopes.h | 816 FunctionKind function_kind = kNormalFunction); 823 FunctionKind function_kind() const { return function_kind_; } 1237 FunctionKind function_kind_;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 236 enum SummaryKind : unsigned { AliasKind, FunctionKind, GlobalVarKind }; 513 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)), 528 return GVS->getSummaryKind() == FunctionKind;
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 1287 } FunctionKind; in diagnoseRepeatedUseOfWeak() local 1290 FunctionKind = Block; in diagnoseRepeatedUseOfWeak() 1292 FunctionKind = Lambda; in diagnoseRepeatedUseOfWeak() 1294 FunctionKind = Method; in diagnoseRepeatedUseOfWeak() 1296 FunctionKind = Function; in diagnoseRepeatedUseOfWeak() 1345 << int(ObjectKind) << KeyProp << int(FunctionKind) in diagnoseRepeatedUseOfWeak()
|
D | SemaStmt.cpp | 3248 int FunctionKind = 0; in BuildReturnStmt() local 3250 FunctionKind = 1; in BuildReturnStmt() 3252 FunctionKind = 2; in BuildReturnStmt() 3254 FunctionKind = 3; in BuildReturnStmt() 3257 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt() 3294 int FunctionKind = 0; in BuildReturnStmt() local 3296 FunctionKind = 1; in BuildReturnStmt() 3298 FunctionKind = 2; in BuildReturnStmt() 3300 FunctionKind = 3; in BuildReturnStmt() 3303 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
|
/external/v8/src/heap/ |
D | setup-heap-internal.cc | 56 FunctionKind kind = FunctionKind::kNormalFunction) { in CreateSharedFunctionInfo() 1091 FunctionKind::kConciseMethod); in CreateInitialObjects() 1099 1, FunctionKind::kConciseMethod); in CreateInitialObjects()
|
D | factory-base.h | 215 FunctionKind kind = kNormalFunction); in EXPORT_TEMPLATE_DECLARE()
|