• Home
  • Raw
  • Download

Lines Matching refs:LexicalScope

33 class LexicalScope;  variable
61 bool isCurrentFunctionScope(const LexicalScope *LS) { in isCurrentFunctionScope()
66 LexicalScope *getCurrentFunctionScope() const { return CurrentFnLexicalScope;} in getCurrentFunctionScope()
80 LexicalScope *findLexicalScope(DebugLoc DL);
83 ArrayRef<LexicalScope *> getAbstractScopesList() const { in getAbstractScopesList()
88 LexicalScope *findAbstractScope(const MDNode *N) { in findAbstractScope()
94 LexicalScope *findInlinedScope(DebugLoc DL) { in findInlinedScope()
99 LexicalScope *findLexicalScope(const MDNode *N) { in findLexicalScope()
110 LexicalScope *getOrCreateLexicalScope(DebugLoc DL);
113 LexicalScope *getOrCreateRegularScope(MDNode *Scope);
116 LexicalScope *getOrCreateInlinedScope(MDNode *Scope, MDNode *InlinedAt);
119 LexicalScope *getOrCreateAbstractScope(const MDNode *N);
124 DenseMap<const MachineInstr *, LexicalScope *> &M);
125 void constructScopeNest(LexicalScope *Scope);
127 DenseMap<const MachineInstr *, LexicalScope *> &M);
134 DenseMap<const MDNode *, LexicalScope *> LexicalScopeMap;
137 DenseMap<DebugLoc, LexicalScope *> InlinedLexicalScopeMap;
141 DenseMap<const MDNode *, LexicalScope *> AbstractScopeMap;
145 SmallVector<LexicalScope *, 4> AbstractScopesList;
149 LexicalScope *CurrentFnLexicalScope;
155 class LexicalScope {
159 LexicalScope(LexicalScope *P, const MDNode *D, const MDNode *I, bool A) in LexicalScope() function
166 virtual ~LexicalScope() {} in ~LexicalScope()
169 LexicalScope *getParent() const { return Parent; } in getParent()
174 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren()
178 void addChild(LexicalScope *S) { Children.push_back(S); } in addChild()
201 void closeInsnRange(LexicalScope *NewScope = NULL) {
213 bool dominates(const LexicalScope *S) const { in dominates()
231 LexicalScope *Parent; // Parent to this scope.
236 SmallVector<LexicalScope *, 4> Children; // Scopes defined in scope.