Home
last modified time | relevance | path

Searched refs:LexicalScope (Results 1 – 25 of 51) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLexicalScopes.h44 class LexicalScope {
46 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() function
60 LexicalScope *getParent() const { return Parent; } in getParent()
65 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren()
69 void addChild(LexicalScope *S) { Children.push_back(S); } in addChild()
92 void closeInsnRange(LexicalScope *NewScope = nullptr) {
104 bool dominates(const LexicalScope *S) const { in dominates()
122 LexicalScope *Parent; // Parent to this scope.
127 SmallVector<LexicalScope *, 4> Children; // Scopes defined in scope.
156 LexicalScope *getCurrentFunctionScope() const { in getCurrentFunctionScope()
[all …]
/external/llvm/include/llvm/CodeGen/
DLexicalScopes.h45 class LexicalScope {
48 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() function
59 LexicalScope *getParent() const { return Parent; } in getParent()
64 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren()
68 void addChild(LexicalScope *S) { Children.push_back(S); } in addChild()
91 void closeInsnRange(LexicalScope *NewScope = nullptr) {
103 bool dominates(const LexicalScope *S) const { in dominates()
121 LexicalScope *Parent; // Parent to this scope.
126 SmallVector<LexicalScope *, 4> Children; // Scopes defined in scope.
155 LexicalScope *getCurrentFunctionScope() const { in getCurrentFunctionScope()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DLexicalScopes.h44 class LexicalScope {
46 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() function
60 LexicalScope *getParent() const { return Parent; } in getParent()
65 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren()
69 void addChild(LexicalScope *S) { Children.push_back(S); } in addChild()
92 void closeInsnRange(LexicalScope *NewScope = nullptr) {
104 bool dominates(const LexicalScope *S) const { in dominates()
122 LexicalScope *Parent; // Parent to this scope.
127 SmallVector<LexicalScope *, 4> Children; // Scopes defined in scope.
156 LexicalScope *getCurrentFunctionScope() const { in getCurrentFunctionScope()
[all …]
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp44 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()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLexicalScopes.cpp58 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap; in initialize()
70 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { in extractLexicalScopes()
123 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) { in findLexicalScope()
141 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope()
158 LexicalScope *
168 LexicalScope *Parent = nullptr; in getOrCreateRegularScope()
186 LexicalScope *
196 LexicalScope *Parent; in getOrCreateInlinedScope()
210 LexicalScope *
219 LexicalScope *Parent = nullptr; in getOrCreateAbstractScope()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DLexicalScopes.cpp59 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap; in initialize()
71 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { in extractLexicalScopes()
124 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) { in findLexicalScope()
142 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope()
159 LexicalScope *
169 LexicalScope *Parent = nullptr; in getOrCreateRegularScope()
187 LexicalScope *
197 LexicalScope *Parent; in getOrCreateInlinedScope()
211 LexicalScope *
220 LexicalScope *Parent = nullptr; in getOrCreateAbstractScope()
[all …]
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.h31 class LexicalScope; variable
83 DenseMap<LexicalScope *, ScopeVars> ScopeVariables;
87 DenseMap<LexicalScope *, LabelList> ScopeLabels;
153 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
155 void addScopeLabel(LexicalScope *LS, DbgLabel *Label);
157 DenseMap<LexicalScope *, ScopeVars> &getScopeVariables() { in getScopeVariables()
161 DenseMap<LexicalScope *, LabelList> &getScopeLabels() { in getScopeLabels()
DDwarfCompileUnit.h194 void constructScopeDIE(LexicalScope *Scope,
208 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
212 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
217 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
221 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope);
224 DIE *createScopeChildrenDIE(LexicalScope *Scope,
232 LexicalScope *Scope);
234 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
236 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
279 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
DDwarfFile.cpp106 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable()
123 void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) { in addScopeLabel()
DCodeViewDebug.h193 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables;
349 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes,
353 void collectLexicalBlockInfo(LexicalScope &Scope,
360 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
DDebugHandlerBase.cpp104 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers()
107 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers()
109 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.h31 class LexicalScope; variable
82 DenseMap<LexicalScope *, ScopeVars> ScopeVariables;
86 DenseMap<LexicalScope *, LabelList> ScopeLabels;
152 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
154 void addScopeLabel(LexicalScope *LS, DbgLabel *Label);
156 DenseMap<LexicalScope *, ScopeVars> &getScopeVariables() { in getScopeVariables()
160 DenseMap<LexicalScope *, LabelList> &getScopeLabels() { in getScopeLabels()
DDwarfCompileUnit.h189 void constructScopeDIE(LexicalScope *Scope,
203 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
207 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
212 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
216 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope);
219 DIE *createScopeChildrenDIE(LexicalScope *Scope,
227 LexicalScope *Scope);
229 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
231 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
272 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
DCodeViewDebug.h193 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables;
348 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes,
352 void collectLexicalBlockInfo(LexicalScope &Scope,
359 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
DDwarfFile.cpp104 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable()
121 void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) { in addScopeLabel()
DDebugHandlerBase.cpp94 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers()
97 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers()
99 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
DDwarfCompileUnit.cpp424 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE()
532 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE()
566 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
587 const LexicalScope &Scope) { in constructLabelDIE()
708 const LexicalScope &Scope, in constructVariableDIE()
791 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE()
821 for (LexicalScope *LS : Scope->getChildren()) in createScopeChildrenDIE()
828 LexicalScope *Scope) { in constructSubprogramScopeDIE()
855 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
869 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
[all …]
DDwarfDebug.h58 class LexicalScope; variable
437 LexicalScope &Scope,
443 void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU, LexicalScope *Scope);
749 bool isLexicalScopeDIENull(LexicalScope *Scope);
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h29 class LexicalScope; variable
148 void constructScopeDIE(LexicalScope *Scope,
161 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
165 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
170 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
174 DIE *createScopeChildrenDIE(LexicalScope *Scope,
179 void constructSubprogramScopeDIE(LexicalScope *Scope);
181 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
183 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
DDwarfFile.h32 class LexicalScope; variable
55 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8>> ScopeVariables;
110 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
112 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8>> &getScopeVariables() { in getScopeVariables()
DDebugHandlerBase.cpp32 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers()
35 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers()
37 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
DDwarfCompileUnit.cpp322 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE()
437 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE()
469 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
564 const LexicalScope &Scope, in constructVariableDIE()
572 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE()
582 for (LexicalScope *LS : Scope->getChildren()) in createScopeChildrenDIE()
591 void DwarfCompileUnit::constructSubprogramScopeDIE(LexicalScope *Scope) { in constructSubprogramScopeDIE()
619 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
633 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
DDwarfDebug.h318 void createAbstractVariable(const DILocalVariable *DV, LexicalScope *Scope);
324 DbgVariable *createConcreteVariable(LexicalScope &Scope, InlinedVariable IV);
327 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
561 bool isLexicalScopeDIENull(LexicalScope *Scope);
/external/llvm-project/llvm/unittests/CodeGen/
DLexicalScopesTest.cpp141 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F()
183 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F()
218 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F()
253 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F()
274 LexicalScope *BlockScope = LS.findLexicalScope(InBlockLoc.get()); in TEST_F()
288 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F()
307 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F()
308 LexicalScope *BlockScope = LS.findLexicalScope(InBlockLoc.get()); in TEST_F()
309 LexicalScope *OtherBlockScope = LS.findLexicalScope(NotNestedBlockLoc.get()); in TEST_F()
345 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F()
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
Ddebug-nodebug-crash.ll3 ; LexicalScope objects were not cleared when a nodebug function is handled in
4 ; LiveDebugValues. This may lead to an assertion in the constructor for LexicalScope,

123