Lines Matching refs:LexicalScope
44 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap; in initialize()
56 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { in extractLexicalScopes()
109 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) { in findLexicalScope()
127 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope()
140 LexicalScope *
150 LexicalScope *Parent = nullptr; in getOrCreateRegularScope()
168 LexicalScope *
178 LexicalScope *Parent; in getOrCreateInlinedScope()
193 LexicalScope *
202 LexicalScope *Parent = nullptr; in getOrCreateAbstractScope()
216 void LexicalScopes::constructScopeNest(LexicalScope *Scope) { in constructScopeNest()
218 SmallVector<LexicalScope *, 4> WorkStack; in constructScopeNest()
222 LexicalScope *WS = WorkStack.back(); in constructScopeNest()
223 const SmallVectorImpl<LexicalScope *> &Children = WS->getChildren(); in constructScopeNest()
225 for (SmallVectorImpl<LexicalScope *>::const_iterator SI = Children.begin(), in constructScopeNest()
228 LexicalScope *ChildScope = *SI; in constructScopeNest()
247 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { in assignInstructionRanges()
249 LexicalScope *PrevLexicalScope = nullptr; in assignInstructionRanges()
254 LexicalScope *S = MI2ScopeMap.lookup(R.first); in assignInstructionRanges()
273 LexicalScope *Scope = getOrCreateLexicalScope(DL); in getMachineBasicBlocks()
295 LexicalScope *Scope = getOrCreateLexicalScope(DL); in dominates()
307 if (LexicalScope *IScope = getOrCreateLexicalScope(IDL)) in dominates()
315 void LexicalScope::dump(unsigned Indent) const { in dump()