Searched refs:LocalScope (Results 1 – 4 of 4) sorted by relevance
174 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() local175 ImportedEntities[LocalScope].push_back(IE); in addImportedEntity()
1641 const DILocalScope *LocalScope = in collectEntityInfo() local1645 Scope = LScopes.findInlinedScope(LocalScope, IA); in collectEntityInfo()1647 Scope = LScopes.findLexicalScope(LocalScope); in collectEntityInfo()
44 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() local45 return LocalScope->getSubprogram(); in getDISubprogram()
4747 static DISubprogram *getSubprogram(Metadata *LocalScope) { in getSubprogram() argument4748 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()