| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | LexicalScopes.h | 44 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | LexicalScopes.cpp | 59 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 …]
|
| H A D | LiveDebugVariables.cpp | 1184 LexicalScope *Scope = LS.findLexicalScope(dl); in computeIntervals()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfFile.h | 31 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()
|
| H A D | DwarfCompileUnit.h | 197 void constructScopeDIE(LexicalScope *Scope, DIE &ParentScopeDIE); 210 DIE *constructInlinedScopeDIE(LexicalScope *Scope, DIE &ParentScopeDIE); 214 DIE *constructLexicalScopeDIE(LexicalScope *Scope); 219 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope, 223 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope); 229 LexicalScope *Scope); 231 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE); 233 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope); 274 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
|
| H A D | DwarfFile.cpp | 105 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable() 122 void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) { in addScopeLabel()
|
| H A D | CodeViewDebug.h | 208 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables; 368 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes, 372 void collectLexicalBlockInfo(LexicalScope &Scope, 379 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
|
| H A D | DwarfDebug.h | 55 class LexicalScope; variable 467 LexicalScope &Scope, 473 void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU, LexicalScope *Scope); 807 bool isLexicalScopeDIENull(LexicalScope *Scope);
|
| H A D | DebugHandlerBase.cpp | 112 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers() 115 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers() 117 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
|
| H A D | DwarfCompileUnit.cpp | 541 void DwarfCompileUnit::constructScopeDIE(LexicalScope *Scope, in constructScopeDIE() 655 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope, in constructInlinedScopeDIE() 691 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE() 712 const LexicalScope &Scope) { in constructLabelDIE() 909 const LexicalScope &Scope, in constructVariableDIE() 1021 LexicalScope *Scope) { in constructSubprogramScopeDIE() 1051 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren() 1076 auto needToEmitLexicalScope = [this](LexicalScope *LS) { in createAndAddScopeChildren() 1087 for (LexicalScope *LS : Scope->getChildren()) { in createAndAddScopeChildren() 1100 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() [all …]
|
| H A D | DwarfDebug.cpp | 534 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull() 563 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() 1529 if (LexicalScope *Scope = in ensureAbstractEntityIsCreatedIfScoped() 1547 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable() 1834 LexicalScope &Scope, in createConcreteEntity() 1875 LexicalScope *Scope = nullptr; in collectEntityInfo() 1945 LexicalScope *Scope = nullptr; in collectEntityInfo() 1971 LexicalScope *Scope = nullptr; in collectEntityInfo() 2240 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() 2273 for (LexicalScope *AScope : LScopes.getAbstractScopesList()) { in endFunctionImpl()
|
| H A D | CodeViewDebug.cpp | 486 const LexicalScope *LS) { in recordLocalVariable() 1272 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable() 1434 LexicalScope *Scope = nullptr; in collectVariableInfo() 2937 SmallVectorImpl<LexicalScope *> &Scopes, in collectLexicalBlockInfo() 2941 for (LexicalScope *Scope : Scopes) in collectLexicalBlockInfo() 2948 LexicalScope &Scope, in collectLexicalBlockInfo() 3041 if (LexicalScope *CFS = LScopes.getCurrentFunctionScope()) in endFunctionImpl()
|
| H A D | DbgEntityHistoryCalculator.cpp | 149 LexicalScope *Scope = nullptr; in trimLocationRanges()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 1067 using ScopeToDILocT = DenseMap<const LexicalScope *, const DILocation *>; 1070 using ScopeToVarsT = DenseMap<const LexicalScope *, SmallSet<DebugVariable, 4>>; 1075 using ScopeToAssignBlocksT = DenseMap<const LexicalScope *, SmallPtrSet<MachineBasicBlock *, 4>>;
|
| H A D | InstrRefBasedImpl.cpp | 3441 SmallVector<std::pair<LexicalScope *, ssize_t>, 4> WorkStack; in makeDepthFirstEjectionMap() 3450 LexicalScope *WS = ScopePosition.first; in makeDepthFirstEjectionMap() 3453 const SmallVectorImpl<LexicalScope *> &Children = WS->getChildren(); in makeDepthFirstEjectionMap() 3534 SmallVector<std::pair<LexicalScope *, ssize_t>, 4> WorkStack; in depthFirstVLocAndEmit() 3541 LexicalScope *WS = ScopePosition.first; in depthFirstVLocAndEmit() 3562 const SmallVectorImpl<LexicalScope *> &Children = WS->getChildren(); in depthFirstVLocAndEmit()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 484 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt() 666 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels() 777 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt() 1030 LexicalScope ForScope(*this, S.getSourceRange()); in EmitForStmt() 1054 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitForStmt() 1147 LexicalScope ForScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt() 1202 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
|
| H A D | CodeGenFunction.h | 932 class LexicalScope : public RunCleanupsScope { 935 LexicalScope *ParentScope; 937 LexicalScope(const LexicalScope &) = delete; 938 void operator=(const LexicalScope &) = delete; 942 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range) 956 ~LexicalScope() { 1934 LexicalScope *CurLexicalScope = nullptr;
|
| H A D | CGObjCRuntime.cpp | 232 CodeGenFunction::LexicalScope Cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
|
| H A D | CGStmtOpenMP.cpp | 47 class OMPLexicalScope : public CodeGenFunction::LexicalScope { 80 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPLexicalScope() 203 class OMPSimdLexicalScope : public CodeGenFunction::LexicalScope { 215 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPSimdLexicalScope() 1852 CodeGenFunction::LexicalScope Scope(CGF, S->getSourceRange()); in emitBody() 2013 LexicalScope ForScope(*this, S->getSourceRange()); in EmitOMPCanonicalLoop() 4207 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective() 4213 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective() 4288 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective() 4294 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective() [all …]
|
| H A D | CGClass.cpp | 1558 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()
|
| H A D | CGOpenMPRuntime.cpp | 2000 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in emitIfClause() 6375 CodeGenFunction::LexicalScope Scope(CGF, Cond->getSourceRange()); in getNumThreads() 6399 CodeGenFunction::LexicalScope Scope( in getNumThreads() 6585 CodeGenFunction::LexicalScope Scope( in emitNumThreadsForTargetDirective()
|