Lines Matching refs:LexicalScope

47   DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap;  in initialize()
59 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { in extractLexicalScopes()
116 LexicalScope *LexicalScopes::findLexicalScope(DebugLoc DL) { in findLexicalScope()
135 LexicalScope *LexicalScopes::getOrCreateLexicalScope(DebugLoc DL) { in getOrCreateLexicalScope()
151 LexicalScope *LexicalScopes::getOrCreateRegularScope(MDNode *Scope) { in getOrCreateRegularScope()
158 LexicalScope *WScope = LexicalScopeMap.lookup(Scope); in getOrCreateRegularScope()
162 LexicalScope *Parent = NULL; in getOrCreateRegularScope()
165 WScope = new LexicalScope(Parent, DIDescriptor(Scope), NULL, false); in getOrCreateRegularScope()
175 LexicalScope *LexicalScopes::getOrCreateInlinedScope(MDNode *Scope, in getOrCreateInlinedScope()
177 LexicalScope *InlinedScope = LexicalScopeMap.lookup(InlinedAt); in getOrCreateInlinedScope()
182 InlinedScope = new LexicalScope(getOrCreateLexicalScope(InlinedLoc), in getOrCreateInlinedScope()
190 LexicalScope *LexicalScopes::getOrCreateAbstractScope(const MDNode *N) { in getOrCreateAbstractScope()
196 LexicalScope *AScope = AbstractScopeMap.lookup(N); in getOrCreateAbstractScope()
200 LexicalScope *Parent = NULL; in getOrCreateAbstractScope()
206 AScope = new LexicalScope(Parent, DIDescriptor(N), NULL, true); in getOrCreateAbstractScope()
214 void LexicalScopes::constructScopeNest(LexicalScope *Scope) { in constructScopeNest()
216 SmallVector<LexicalScope *, 4> WorkStack; in constructScopeNest()
220 LexicalScope *WS = WorkStack.back(); in constructScopeNest()
221 const SmallVector<LexicalScope *, 4> &Children = WS->getChildren(); in constructScopeNest()
223 for (SmallVector<LexicalScope *, 4>::const_iterator SI = Children.begin(), in constructScopeNest()
225 LexicalScope *ChildScope = *SI; in constructScopeNest()
244 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) in assignInstructionRanges()
247 LexicalScope *PrevLexicalScope = NULL; in assignInstructionRanges()
251 LexicalScope *S = MI2ScopeMap.lookup(R.first); in assignInstructionRanges()
271 LexicalScope *Scope = getOrCreateLexicalScope(DL); in getMachineBasicBlocks()
293 LexicalScope *Scope = getOrCreateLexicalScope(DL); in dominates()
307 if (LexicalScope *IScope = getOrCreateLexicalScope(IDL)) in dominates()
315 void LexicalScope::dump() const { in dump()