Searched refs:LocalScope (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.h | 31 template <class Emitter> class LocalScope; variable 298 friend class LocalScope<Emitter>; variable 463 template <class Emitter> class LocalScope : public VariableScope<Emitter> { 465 LocalScope(Compiler<Emitter> *Ctx) : VariableScope<Emitter>(Ctx, nullptr) {} in LocalScope() function 466 LocalScope(Compiler<Emitter> *Ctx, const ValueDecl *VD) in LocalScope() function 470 ~LocalScope() override { in ~LocalScope() 549 DestructorScope(LocalScope<Emitter> &OtherScope) : OtherScope(OtherScope) {} in DestructorScope() 554 LocalScope<Emitter> &OtherScope; 558 template <class Emitter> class BlockScope final : public LocalScope<Emitter> { 560 BlockScope(Compiler<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in BlockScope()
|
H A D | Compiler.cpp | 28 template <class Emitter> class DeclScope final : public LocalScope<Emitter> { 31 : LocalScope<Emitter>(Ctx, VD), Scope(Ctx->P, VD), in DeclScope() 2219 LocalScope<Emitter> ES(this); in VisitExprWithCleanups() 3551 LocalScope<Emitter> RootScope(this); in visitExpr() 3630 LocalScope<Emitter> VDScope(this, VD); in visitDeclAndReturn() 3698 DeclScope<Emitter> LocalScope(this, VD); in visitVarDecl() local 3748 LocalScope<Emitter> Scope(this); in visitVarDecl() 4265 LocalScope<Emitter> RetScope(this); in visitReturnStmt() 4359 LocalScope<Emitter> Scope(this); in visitWhileStmt() 4381 LocalScope<Emitter> Scope(this); in visitDoStmt() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 228 class LocalScope { class 235 const LocalScope* Scope = nullptr; 249 const_iterator(const LocalScope& S, unsigned I) in const_iterator() 318 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anonef2f84bd0111::LocalScope 334 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance() 351 LocalScope::const_iterator 352 LocalScope::const_iterator::shared_parent(LocalScope::const_iterator L) { in shared_parent() 366 llvm::SmallDenseMap<const LocalScope *, unsigned, 4> ScopesOfL; in shared_parent() 393 LocalScope::const_iterator scopePosition; 396 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.cpp | 1965 const DILocalScope *LocalScope = in collectEntityInfo() local 1969 Scope = LScopes.findInlinedScope(LocalScope, IA); in collectEntityInfo() 1971 Scope = LScopes.findLexicalScope(LocalScope); in collectEntityInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugInfo.cpp | 153 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local 154 return LocalScope->getSubprogram(); in getDISubprogram()
|
H A D | Verifier.cpp | 6373 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument 6374 if (!LocalScope) in getSubprogram() 6377 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram() 6380 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram() 6384 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 659 CodeGenFunction::OMPPrivateScope LocalScope(*this); in GenerateOpenMPCapturedStmtFunction() local 662 LocalScope.addPrivate(LocalAddrPair.second.first, in GenerateOpenMPCapturedStmtFunction() 666 (void)LocalScope.Privatize(); in GenerateOpenMPCapturedStmtFunction() 671 (void)LocalScope.ForceCleanup(); in GenerateOpenMPCapturedStmtFunction()
|
H A D | CGOpenMPRuntime.cpp | 4592 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskCall() local 5650 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskwaitCall() local
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 8549 ParseScope LocalScope(this, 0); in ParseTypeFromString() local
|