Searched refs:NewScope (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | AddDiscriminators.cpp | 195 Metadata *&NewScope = R.first->second; in runOnFunction() local 202 NewScope = Builder.createLexicalBlockFile( in runOnFunction() 206 NewScope, DIL->getInlinedAt())); in runOnFunction() 209 << dyn_cast<DILexicalBlockFile>(NewScope)->getDiscriminator() in runOnFunction() 233 auto *NewScope = Builder.createLexicalBlockFile( in runOnFunction() local 236 Ctx, CurrentDIL->getLine(), CurrentDIL->getColumn(), NewScope, in runOnFunction()
|
D | InlineFunction.cpp | 549 MDNode *NewScope = MDB.createAnonymousAliasScope(NewDomain, Name); in AddAliasScopeMetadata() local 550 NewScopes.insert(std::make_pair(A, NewScope)); in AddAliasScopeMetadata()
|
/external/llvm/include/llvm/CodeGen/ |
D | LexicalScopes.h | 91 void closeInsnRange(LexicalScope *NewScope = nullptr) { 98 if (Parent && (!NewScope || !Parent->dominates(NewScope))) 99 Parent->closeInsnRange(NewScope);
|
/external/v8/src/parsing/ |
D | preparser.cc | 112 Scope* top_scope = NewScope(scope_, SCRIPT_SCOPE); in PreParseLazyFunction() 117 Scope* function_scope = NewScope(scope_, FUNCTION_SCOPE, kind); in PreParseLazyFunction() 295 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE); in ParseScopedStatement() 466 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseBlock() 780 Scope* with_scope = NewScope(scope_, WITH_SCOPE); in ParseWithStatement() 796 Scope* cases_scope = NewScope(scope_, BLOCK_SCOPE); in ParseSwitchStatement() 857 Scope* for_scope = NewScope(scope_, BLOCK_SCOPE); in ParseForStatement() 948 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE); in ParseForStatement() 964 if (has_lexical) inner_scope = NewScope(for_scope, BLOCK_SCOPE); in ParseForStatement() 1032 Scope* catch_scope = NewScope(scope_, CATCH_SCOPE); in ParseTryStatement() [all …]
|
D | parser.cc | 192 Scope* function_scope = NewScope(scope, FUNCTION_SCOPE, kind); in DefaultConstructor() 915 Scope* scope = NewScope(scope_, SCRIPT_SCOPE); in DoParseProgram() 932 scope = NewScope(scope, EVAL_SCOPE); in DoParseProgram() 934 scope = NewScope(scope, MODULE_SCOPE); in DoParseProgram() 1076 Scope* scope = NewScope(scope_, SCRIPT_SCOPE); in ParseLazy() 1106 NewScope(scope_, FUNCTION_SCOPE, FunctionKind::kArrowFunction); in ParseLazy() 2281 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE); in ParseBlock() 2819 Scope* with_scope = NewScope(scope_, WITH_SCOPE); in ParseWithStatement() 2906 Scope* cases_scope = NewScope(scope_, BLOCK_SCOPE); in ParseSwitchStatement() 2998 catch_scope = NewScope(scope_, CATCH_SCOPE); in ParseTryStatement() [all …]
|
D | preparser.h | 1038 Scope* scope = NewScope(scope_, SCRIPT_SCOPE); 1044 scope = NewScope(scope, MODULE_SCOPE); 1247 if (!parameters.is_simple) inner_scope = NewScope(scope_, BLOCK_SCOPE); in ParseEagerFunctionBody()
|
D | parser.h | 544 V8_INLINE Scope* NewScope(Scope* parent_scope, ScopeType scope_type, 1128 Scope* ParserTraits::NewScope(Scope* parent_scope, ScopeType scope_type, in NewScope() function 1130 return parser_->NewScope(parent_scope, scope_type, kind); in NewScope()
|
D | parser-base.h | 584 Scope* NewScope(Scope* parent, ScopeType scope_type) { in NewScope() function 587 return NewScope(parent, scope_type, kNormalFunction); in NewScope() 590 Scope* NewScope(Scope* parent, ScopeType scope_type, FunctionKind kind) { in NewScope() function 2280 Scope* scope = this->NewScope(scope_, FUNCTION_SCOPE, in ParseAssignmentExpression()
|