Lines Matching refs:Scope
317 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull() argument
318 if (Scope->isAbstractScope()) in isLexicalScopeDIENull()
322 const SmallVectorImpl<InsnRange> &Ranges = Scope->getRanges(); in isLexicalScopeDIENull()
340 void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() argument
341 assert(Scope && Scope->getScopeNode()); in constructAbstractSubprogramScopeDIE()
342 assert(Scope->isAbstractScope()); in constructAbstractSubprogramScopeDIE()
343 assert(!Scope->getInlinedAt()); in constructAbstractSubprogramScopeDIE()
345 const MDNode *SP = Scope->getScopeNode(); in constructAbstractSubprogramScopeDIE()
353 CU.constructAbstractSubprogramScopeDIE(Scope); in constructAbstractSubprogramScopeDIE()
680 LexicalScope *Scope) { in createAbstractVariable() argument
682 InfoHolder.addScopeVariable(Scope, AbsDbgVariable.get()); in createAbstractVariable()
702 if (LexicalScope *Scope = in ensureAbstractVariableIsCreatedIfScoped() local
704 createAbstractVariable(Cleansed, Scope); in ensureAbstractVariableIsCreatedIfScoped()
718 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMMITable() local
721 if (!Scope) in collectVariableInfoFromMMITable()
724 ensureAbstractVariableIsCreatedIfScoped(Var, Scope->getScopeNode()); in collectVariableInfoFromMMITable()
727 if (InfoHolder.addScopeVariable(Scope, RegVar.get())) in collectVariableInfoFromMMITable()
871 DbgVariable *DwarfDebug::createConcreteVariable(LexicalScope &Scope, in createConcreteVariable() argument
873 ensureAbstractVariableIsCreatedIfScoped(IV, Scope.getScopeNode()); in createConcreteVariable()
876 InfoHolder.addScopeVariable(&Scope, ConcreteVariables.back().get()); in createConcreteVariable()
897 LexicalScope *Scope = nullptr; in collectVariableInfo() local
899 Scope = LScopes.findInlinedScope(IV.first->getScope(), IA); in collectVariableInfo()
901 Scope = LScopes.findLexicalScope(IV.first->getScope()); in collectVariableInfo()
903 if (!Scope) in collectVariableInfo()
907 DbgVariable *RegVar = createConcreteVariable(*Scope, IV); in collectVariableInfo()
939 if (LexicalScope *Scope = LScopes.findLexicalScope(DV->getScope())) in collectVariableInfo() local
940 createConcreteVariable(*Scope, InlinedVariable(DV, nullptr)); in collectVariableInfo()
976 const MDNode *Scope = DL.getScope(); in beginInstruction() local
977 recordSourceLine(DL.getLine(), DL.getCol(), Scope, Flags); in beginInstruction()
1255 if (auto *Scope = cast_or_null<DIScope>(S)) { in recordSourceLine() local
1256 Fn = Scope->getFilename(); in recordSourceLine()
1257 Dir = Scope->getDirectory(); in recordSourceLine()
1258 if (auto *LBF = dyn_cast<DILexicalBlockFile>(Scope)) in recordSourceLine()