Home
last modified time | relevance | path

Searched refs:LocalScope (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp227 class LocalScope { class
234 const LocalScope* Scope = nullptr;
248 const_iterator(const LocalScope& S, unsigned I) in const_iterator()
317 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anonef2f84bd0111::LocalScope
333 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance()
350 LocalScope::const_iterator
351 LocalScope::const_iterator::shared_parent(LocalScope::const_iterator L) { in shared_parent()
365 llvm::SmallDenseMap<const LocalScope *, unsigned, 4> ScopesOfL; in shared_parent()
392 LocalScope::const_iterator scopePosition;
395 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h31 template <class Emitter> class LocalScope; variable
327 friend class LocalScope<Emitter>; variable
527 template <class Emitter> class LocalScope : public VariableScope<Emitter> {
529 LocalScope(Compiler<Emitter> *Ctx, ScopeKind Kind = ScopeKind::Block)
531 LocalScope(Compiler<Emitter> *Ctx, const ValueDecl *VD) in LocalScope() function
535 ~LocalScope() override { in ~LocalScope()
618 template <class Emitter> class BlockScope final : public LocalScope<Emitter> {
621 : LocalScope<Emitter>(Ctx, Kind) {}
H A DCompiler.cpp39 template <class Emitter> class DeclScope final : public LocalScope<Emitter> {
42 : LocalScope<Emitter>(Ctx, VD), Scope(Ctx->P), in DeclScope()
2403 LocalScope<Emitter> S(this); in VisitAbstractConditionalOperator()
2800 LocalScope<Emitter> ES(this); in VisitExprWithCleanups()
4507 LocalScope<Emitter> RootScope(this); in visitExpr()
4602 LocalScope<Emitter> VDScope(this, VD); in visitDeclAndReturn()
4696 DeclScope<Emitter> LocalScope(this, VD); in visitVarDecl() local
4726 LocalScope<Emitter> Scope(this); in visitVarDecl()
5357 LocalScope<Emitter> RetScope(this); in visitReturnStmt()
5389 LocalScope<Emitter> SScope(this); in visitIfStmt()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp4560 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskCall() local
4982 CodeGenFunction::OMPPrivateScope LocalScope(CGF); in emitPrivateReduction() local
4983 LocalScope.addPrivate(OutVD, SharedResult); in emitPrivateReduction()
4985 (void)LocalScope.Privatize(); in emitPrivateReduction()
5056 CodeGenFunction::OMPPrivateScope LocalScope(CGF); in emitPrivateReduction() local
5057 LocalScope.addPrivate(cast<VarDecl>(OutDRE->getDecl()), in emitPrivateReduction()
5059 LocalScope.addPrivate(cast<VarDecl>(InDRE->getDecl()), in emitPrivateReduction()
5061 (void)LocalScope.Privatize(); in emitPrivateReduction()
5099 CodeGenFunction::OMPPrivateScope LocalScope(CGF); in emitPrivateReduction() local
5100 LocalScope.addPrivate(OmpOutVD, SharedLV.getAddress()); in emitPrivateReduction()
[all …]
H A DCGStmtOpenMP.cpp704 CodeGenFunction::OMPPrivateScope LocalScope(*this); in GenerateOpenMPCapturedStmtFunction() local
707 LocalScope.addPrivate(LocalAddrPair.second.first, in GenerateOpenMPCapturedStmtFunction()
711 (void)LocalScope.Privatize(); in GenerateOpenMPCapturedStmtFunction()
716 LocalScope.ForceCleanup(); in GenerateOpenMPCapturedStmtFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1972 const DILocalScope *LocalScope = in collectEntityInfo() local
1976 Scope = LScopes.findInlinedScope(LocalScope, IA); in collectEntityInfo()
1978 Scope = LScopes.findLexicalScope(LocalScope); in collectEntityInfo()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp171 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local
172 return LocalScope->getSubprogram(); in getDISubprogram()
H A DVerifier.cpp6735 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument
6736 if (!LocalScope) in getSubprogram()
6739 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram()
6742 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram()
6746 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp8141 ParseScope LocalScope(this, 0); in ParseTypeFromString() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc8351 …space)::CFGBuilder::addLocalScopeForVarDecl(clang::VarDecl*, (anonymous namespace)::LocalScope*)"},
8352 …::addAutomaticObjDtors((anonymous namespace)::LocalScope::const_iterator, (anonymous namespace)::L…