/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | ScopedHashTable.h | 154 ScopeTy *CurScope; variable 162 ScopedHashTable() : CurScope(0) {} in ScopedHashTable() 163 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {} in ScopedHashTable() 165 assert(CurScope == 0 && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable() 188 insertIntoScope(CurScope, Key, Val); in insert() 202 ScopeTy *getCurScope() { return CurScope; } in getCurScope() 203 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() 223 PrevScope = HT.CurScope; in ScopedHashTableScope() 224 HT.CurScope = this; in ScopedHashTableScope() 230 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | ScopedHashTable.h | 155 ScopeTy *CurScope; variable 164 ScopedHashTable() : CurScope(nullptr) {} in ScopedHashTable() 165 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {} in ScopedHashTable() 167 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable() 188 insertIntoScope(CurScope, Key, Val); in insert() 202 ScopeTy *getCurScope() { return CurScope; } in getCurScope() 203 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() 223 PrevScope = HT.CurScope; in ScopedHashTableScope() 224 HT.CurScope = this; in ScopedHashTableScope() 230 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | ScopedHashTable.h | 164 ScopeTy *CurScope = nullptr; variable 175 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable() 196 insertIntoScope(CurScope, Key, Val); in insert() 210 ScopeTy *getCurScope() { return CurScope; } in getCurScope() 211 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() 231 PrevScope = HT.CurScope; in ScopedHashTableScope() 232 HT.CurScope = this; in ScopedHashTableScope() 238 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope() 239 HT.CurScope = PrevScope; in ~ScopedHashTableScope()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 475 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument 482 if (CurScope && Param->getIdentifier()) { in addLambdaParameters() 483 CheckShadow(CurScope, Param); in addLambdaParameters() 485 PushOnScopeChains(Param, CurScope); in addLambdaParameters() 806 Scope *CurScope) { in ActOnStartOfLambdaDefinition() argument 816 if (CurScope->getTemplateParamParent()) in ActOnStartOfLambdaDefinition() 861 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition() 888 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition() 891 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition() 1008 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition() [all …]
|
D | SemaOpenMP.cpp | 92 Scope *CurScope = nullptr; member 107 Scope *CurScope, SourceLocation Loc) in SharingMapTy() 108 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 141 Scope *CurScope, SourceLocation Loc) { in push() argument 142 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc)); in push() 322 Scope *getCurScope() const { return Stack.back().CurScope; } in getCurScope() 323 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope() 607 TopScope = I->CurScope ? I->CurScope->getParent() : nullptr; in isOpenMPLocal() 608 Scope *CurScope = getCurScope(); in isOpenMPLocal() local 609 while (CurScope != TopScope && !CurScope->isDeclScope(D)) { in isOpenMPLocal() [all …]
|
D | SemaStmt.cpp | 447 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument 1613 Scope *BreakParent = CurScope->getBreakParent(); in CheckBreakContinueBinding() 1621 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) { in CheckBreakContinueBinding() 2660 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { in ActOnContinueStmt() argument 2661 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt() 2672 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument 2673 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt() 3159 Scope *CurScope) { in ActOnReturnStmt() argument 3166 CurScope->addNRVOCandidate(VD); in ActOnReturnStmt() 3168 CurScope->setNoNRVO(); in ActOnReturnStmt() [all …]
|
D | Sema.cpp | 109 VarDataSharingAttributesStack(nullptr), CurScope(nullptr),
|
D | SemaLookup.cpp | 3729 Scope *S = CurScope; in LookupOrCreateLabel() 3735 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel() 3743 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
|
D | SemaExpr.cpp | 11932 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument 11945 PushBlockScope(CurScope, Block); in ActOnBlockStart() 11947 if (CurScope) in ActOnBlockStart() 11948 PushDeclContext(CurScope, Block); in ActOnBlockStart() 11960 Scope *CurScope) { in ActOnBlockArguments() argument 11966 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments() 12059 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments() 12076 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument 12089 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
|
D | SemaTemplate.cpp | 3159 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument()
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 79 Actions.CurScope = nullptr; in Parser() 377 Actions.CurScope = N; in EnterScope() 379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 392 Actions.CurScope = OldScope->getParent(); in ExitScope() 404 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 405 if (CurScope) { in ParseScopeFlags() 406 OldFlags = CurScope->getFlags(); in ParseScopeFlags() 407 CurScope->setFlags(ScopeFlags); in ParseScopeFlags() 414 if (CurScope) in ~ParseScopeFlags() 415 CurScope->setFlags(OldFlags); in ~ParseScopeFlags() [all …]
|
D | ParseStmt.cpp | 619 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
|
D | ParseDecl.cpp | 1242 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute() 1248 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3390 Stmt *SubStmt, Scope *CurScope); 3465 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope); 3466 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope); 3468 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, 3471 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, 3485 Scope *CurScope); 3535 Scope *CurScope); 3565 StmtResult ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope); 4155 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope); 4160 Scope *CurScope); [all …]
|
/external/llvm/utils/TableGen/ |
D | FixedLenDecoderEmitter.cpp | 627 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 629 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 630 CurScope.clear(); in emitTableEntry()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | FixedLenDecoderEmitter.cpp | 642 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 644 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 645 CurScope.clear(); in emitTableEntry()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 835 Scope *CurScope; variable
|