/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | HoverTests.cpp | 78 HI.LocalScope = "Foo::"; in TEST() 99 HI.LocalScope = "Foo::foo::"; in TEST() 115 HI.LocalScope = "(anonymous struct)::"; in TEST() 238 HI.LocalScope = "foo::"; in TEST() 259 HI.LocalScope = "foo::"; in TEST() 280 HI.LocalScope = "foo::"; in TEST() 303 HI.LocalScope = "foo::"; in TEST() 323 HI.LocalScope = "foo::(anonymous class)::operator()::"; in TEST() 348 HI.LocalScope = "X<T *>::"; // FIXME: X<T *, void>:: in TEST() 358 HI.LocalScope = "X::"; in TEST() [all …]
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | ByteCodeExprGen.h | 34 template <class Emitter> class LocalScope; variable 162 friend class LocalScope<Emitter>; variable 282 template <class Emitter> class LocalScope : public VariableScope<Emitter> { 284 LocalScope(ByteCodeExprGen<Emitter> *Ctx) : VariableScope<Emitter>(Ctx) {} in LocalScope() function 286 ~LocalScope() override { this->emitDestruction(); } in ~LocalScope() 309 template <class Emitter> class BlockScope final : public LocalScope<Emitter> { 311 BlockScope(ByteCodeExprGen<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in BlockScope() 320 template <class Emitter> class ExprScope final : public LocalScope<Emitter> { 322 ExprScope(ByteCodeExprGen<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in ExprScope()
|
D | ByteCodeExprGen.cpp | 29 template <class Emitter> class DeclScope final : public LocalScope<Emitter> { 32 : LocalScope<Emitter>(Ctx), Scope(Ctx->P, VD) {} in DeclScope() 538 DeclScope<Emitter> LocalScope(this, VD); in visitDecl() local 552 DeclScope<Emitter> LocalScope(this, VD); in visitDecl() local
|
/external/llvm-project/clang/lib/Analysis/ |
D | CFG.cpp | 224 class LocalScope { class 231 const LocalScope* Scope = nullptr; 245 const_iterator(const LocalScope& S, unsigned I) in const_iterator() 313 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anon99fcb4940111::LocalScope 329 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance() 346 LocalScope::const_iterator 347 LocalScope::const_iterator::shared_parent(LocalScope::const_iterator L) { in shared_parent() 348 llvm::SmallPtrSet<const LocalScope *, 4> ScopesOfL; in shared_parent() 373 LocalScope::const_iterator scopePosition; 376 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair() [all …]
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 169 class LocalScope { class 176 const LocalScope* Scope; 191 const_iterator(const LocalScope& S, unsigned I) in const_iterator() 251 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anon30bb6a660111::LocalScope 265 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance() 283 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair() 287 LocalScope::const_iterator scopePosition; 382 LocalScope::const_iterator ScopePos; 580 void addAutomaticObjDtors(LocalScope::const_iterator B, 581 LocalScope::const_iterator E, Stmt *S); [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.h | 127 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() local 128 ImportedEntities[LocalScope].push_back(IE); in addImportedEntity()
|
/external/llvm/lib/IR/ |
D | DebugInfo.cpp | 35 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local 36 return LocalScope->getSubprogram(); in getDISubprogram()
|
D | Verifier.cpp | 4137 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument 4138 if (!LocalScope) in getSubprogram() 4141 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram() 4144 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram() 4148 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.h | 179 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() local 180 ImportedEntities[LocalScope].push_back(IE); in addImportedEntity()
|
D | DwarfDebug.cpp | 1838 const DILocalScope *LocalScope = in collectEntityInfo() local 1842 Scope = LScopes.findInlinedScope(LocalScope, IA); in collectEntityInfo() 1844 Scope = LScopes.findLexicalScope(LocalScope); in collectEntityInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.h | 174 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() local 175 ImportedEntities[LocalScope].push_back(IE); in addImportedEntity()
|
D | DwarfDebug.cpp | 1641 const DILocalScope *LocalScope = in collectEntityInfo() local 1645 Scope = LScopes.findInlinedScope(LocalScope, IA); in collectEntityInfo() 1647 Scope = LScopes.findLexicalScope(LocalScope); in collectEntityInfo()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Hover.h | 53 std::string LocalScope; member
|
D | Hover.cpp | 502 HI.LocalScope = getLocalScope(D); in getHoverContents() 503 if (!HI.LocalScope.empty()) in getHoverContents() 504 HI.LocalScope.append("::"); in getHoverContents() 968 if (!LocalScope.empty()) { in present() 973 "// In " + llvm::StringRef(LocalScope).rtrim(':').str() + '\n'; in present()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DebugInfo.cpp | 44 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local 45 return LocalScope->getSubprogram(); in getDISubprogram()
|
D | Verifier.cpp | 4747 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument 4748 if (!LocalScope) in getSubprogram() 4751 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram() 4754 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram() 4758 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
|
/external/llvm-project/llvm/lib/IR/ |
D | DebugInfo.cpp | 44 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local 45 return LocalScope->getSubprogram(); in getDISubprogram()
|
D | Verifier.cpp | 5168 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument 5169 if (!LocalScope) in getSubprogram() 5172 if (auto *SP = dyn_cast<DISubprogram>(LocalScope)) in getSubprogram() 5175 if (auto *LB = dyn_cast<DILexicalBlockBase>(LocalScope)) in getSubprogram() 5179 assert(!isa<DILocalScope>(LocalScope) && "Unknown type of local scope"); in getSubprogram()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 604 CodeGenFunction::OMPPrivateScope LocalScope(*this); in GenerateOpenMPCapturedStmtFunction() local 607 LocalScope.addPrivate(LocalAddrPair.second.first, [&LocalAddrPair]() { in GenerateOpenMPCapturedStmtFunction() 612 (void)LocalScope.Privatize(); in GenerateOpenMPCapturedStmtFunction() 617 (void)LocalScope.ForceCleanup(); in GenerateOpenMPCapturedStmtFunction()
|
D | CGOpenMPRuntime.cpp | 5140 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskCall() local
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 4020 CodeGenFunction::RunCleanupsScope LocalScope(CGF); in emitTaskCall() local
|