/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | LexicalScopes.h | 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); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | LexicalScopes.h | 45 class LexicalScope { 47 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() function 61 LexicalScope *getParent() const { return Parent; } in getParent() 66 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren() 70 void addChild(LexicalScope *S) { Children.push_back(S); } in addChild() 93 void closeInsnRange(LexicalScope *NewScope = nullptr) { 105 bool dominates(const LexicalScope *S) const { in dominates() 123 LexicalScope *Parent; // Parent to this scope. 128 SmallVector<LexicalScope *, 4> Children; // Scopes defined in scope. 157 LexicalScope *getCurrentFunctionScope() const { in getCurrentFunctionScope() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | LexicalScopes.h | 45 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/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | LexicalScopes.cpp | 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() [all …]
|
/external/llvm/lib/CodeGen/ |
D | LexicalScopes.cpp | 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() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LexicalScopes.cpp | 58 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/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.h | 29 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);
|
D | DwarfFile.h | 32 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()
|
D | DebugHandlerBase.cpp | 32 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers() 35 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers() 37 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
|
D | DwarfCompileUnit.cpp | 322 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()
|
D | DwarfDebug.h | 318 void createAbstractVariable(const DILocalVariable *DV, LexicalScope *Scope); 324 DbgVariable *createConcreteVariable(LexicalScope &Scope, InlinedVariable IV); 327 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope); 561 bool isLexicalScopeDIENull(LexicalScope *Scope);
|
D | DwarfDebug.cpp | 335 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull() 358 void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() 691 LexicalScope *Scope) { in createAbstractVariable() 713 if (LexicalScope *Scope = in ensureAbstractVariableIsCreatedIfScoped() 729 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMMITable() 907 DbgVariable *DwarfDebug::createConcreteVariable(LexicalScope &Scope, in createConcreteVariable() 944 LexicalScope *Scope = nullptr; in collectVariableInfo() 989 if (LexicalScope *Scope = LScopes.findLexicalScope(DV->getScope())) in collectVariableInfo() 1058 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in beginFunction() 1114 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunction() [all …]
|
D | DwarfFile.cpp | 145 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.h | 171 void constructScopeDIE(LexicalScope *Scope, 185 DIE *constructInlinedScopeDIE(LexicalScope *Scope); 189 DIE *constructLexicalScopeDIE(LexicalScope *Scope); 194 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope, 198 DIE *createScopeChildrenDIE(LexicalScope *Scope, 203 void constructSubprogramScopeDIE(const DISubprogram *Sub, LexicalScope *Scope); 205 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE); 207 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope); 220 void createAbstractVariable(const DILocalVariable *Var, LexicalScope *Scope);
|
D | DwarfFile.h | 30 class LexicalScope; variable 63 DenseMap<LexicalScope *, ScopeVars> ScopeVariables; 123 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var); 125 DenseMap<LexicalScope *, ScopeVars> &getScopeVariables() { in getScopeVariables()
|
D | CodeViewDebug.h | 155 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables; 288 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes, 291 void collectLexicalBlockInfo(LexicalScope &Scope, 297 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
|
D | DwarfCompileUnit.cpp | 351 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE() 457 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE() 489 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE() 592 const LexicalScope &Scope, in constructVariableDIE() 675 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE() 702 for (LexicalScope *LS : Scope->getChildren()) in createScopeChildrenDIE() 708 void DwarfCompileUnit::constructSubprogramScopeDIE(const DISubprogram *Sub, LexicalScope *Scope) { in constructSubprogramScopeDIE() 733 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren() 747 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() 856 LexicalScope *Scope) { in createAbstractVariable()
|
D | DwarfDebug.h | 57 class LexicalScope; variable 343 LexicalScope &Scope, InlinedVariable IV); 346 void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU, LexicalScope *Scope); 627 bool isLexicalScopeDIENull(LexicalScope *Scope);
|
D | DebugHandlerBase.cpp | 95 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers() 98 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers() 100 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
|
D | DwarfFile.cpp | 85 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable()
|
D | DwarfDebug.cpp | 453 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull() 482 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() 934 if (LexicalScope *Scope = in ensureAbstractVariableIsCreatedIfScoped() 951 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable() 1130 LexicalScope &Scope, in createConcreteVariable() 1214 LexicalScope *Scope = nullptr; in collectVariableInfo() 1261 if (LexicalScope *Scope = LScopes.findLexicalScope(DV->getScope())) in collectVariableInfo() 1416 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() 1442 for (LexicalScope *AScope : LScopes.getAbstractScopesList()) { in endFunctionImpl()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.h | 234 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> > ScopeVariables; 313 void addScopeVariable(LexicalScope *LS, DbgVariable *Var); 326 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope); 331 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope); 334 DIE *constructVariableDIE(DbgVariable *DV, LexicalScope *S); 337 DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope); 436 DbgVariable *Var, LexicalScope *Scope);
|
D | DwarfDebug.cpp | 250 LexicalScope *Scope) { in constructLexicalScopeDIE() 296 LexicalScope *Scope) { in constructInlinedScopeDIE() 375 DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) { in constructScopeDIE() 395 const SmallVector<LexicalScope *, 4> &Scopes = Scope->getChildren(); in constructScopeDIE() 658 DenseMap<const MDNode *, LexicalScope *> DeadFnScopeMap; in endModule() 673 LexicalScope *Scope = in endModule() 674 new LexicalScope(NULL, DIDescriptor(SP), NULL, false); in endModule() 773 LexicalScope *Scope = LScopes.findAbstractScope(ScopeLoc.getScope(Ctx)); in findAbstractVariable() 786 DbgVariable *Var, LexicalScope *Scope) { in addCurrentFnArgument() 821 LexicalScope *Scope = LScopes.findLexicalScope(VP.second); in collectVariableInfoFromMMITable() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | debug-nodebug-crash.ll | 3 ; 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,
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 330 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt() 491 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels() 573 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt() 809 LexicalScope ForScope(*this, S.getSourceRange()); in EmitForStmt() 837 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitForStmt() 907 LexicalScope ForScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt() 956 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
|