| /freebsd/contrib/llvm-project/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 …]
|
| /freebsd/contrib/llvm-project/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 | 1185 LexicalScope *Scope = LS.findLexicalScope(dl); in computeIntervals()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfFile.h | 32 class LexicalScope; variable 84 DenseMap<LexicalScope *, ScopeVars> ScopeVariables; 88 DenseMap<LexicalScope *, LabelList> ScopeLabels; 153 void addScopeVariable(LexicalScope *LS, DbgVariable *Var); 155 void addScopeLabel(LexicalScope *LS, DbgLabel *Label); 157 DenseMap<LexicalScope *, ScopeVars> &getScopeVariables() { 161 DenseMap<LexicalScope *, LabelList> &getScopeLabels() {
|
| H A D | DwarfCompileUnit.h | 215 void constructScopeDIE(LexicalScope *Scope, DIE &ParentScopeDIE); 228 DIE *constructInlinedScopeDIE(LexicalScope *Scope, DIE &ParentScopeDIE); 232 DIE *constructLexicalScopeDIE(LexicalScope *Scope); 244 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope, 248 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope); 258 LexicalScope *Scope); 260 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE); 262 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope); 304 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
|
| H A D | DwarfFile.cpp | 105 void DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable() 117 void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) { in addScopeVariable()
|
| H A D | CodeViewDebug.h | 227 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables; 389 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes, 393 void collectLexicalBlockInfo(LexicalScope &Scope, 400 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
|
| H A D | DwarfDebug.h | 55 class LexicalScope; variable 537 LexicalScope &Scope, 543 void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU, LexicalScope *Scope); 679 /// Populate LexicalScope entries with variables' info. in useAllLinkageNames() 883 bool isLexicalScopeDIENull(LexicalScope *Scope);
|
| H A D | DebugHandlerBase.cpp | 115 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers() 118 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers() 120 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
|
| H A D | DwarfCompileUnit.cpp | 587 void DwarfCompileUnit::constructScopeDIE(LexicalScope *Scope, in constructScopeDIE() 701 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope, in constructInlinedScopeDIE() 738 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE() 968 const LexicalScope &Scope, in constructVariableDIE() 977 const LexicalScope &Scope) { in constructLabelDIE() 1092 LexicalScope *Scope) { in constructSubprogramScopeDIE() 1119 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren() 1146 auto skipLexicalScope = [this](LexicalScope *S) -> bool { in createAndAddScopeChildren() 1155 for (LexicalScope *LS : Scope->getChildren()) { in createAndAddScopeChildren() 1168 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() [all …]
|
| H A D | DwarfDebug.cpp | 513 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull() 542 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() 1507 if (LexicalScope *Scope = in ensureAbstractEntityIsCreatedIfScoped() 1540 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable() 1851 LexicalScope &Scope, in createConcreteEntity() 1892 LexicalScope *Scope = nullptr; in collectEntityInfo() 1962 LexicalScope *Scope = nullptr; in collectEntityInfo() 1990 LexicalScope *LexS = LScopes.findLexicalScope(LS); in collectEntityInfo() 2277 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() 2312 for (LexicalScope *AScope : LScopes.getAbstractScopesList()) { in endFunctionImpl()
|
| H A D | CodeViewDebug.cpp | 490 const LexicalScope *LS) { in recordLocalVariable() 1289 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable() 1458 LexicalScope *Scope = nullptr; in collectVariableInfo() 2970 SmallVectorImpl<LexicalScope *> &Scopes, in collectLexicalBlockInfo() 2974 for (LexicalScope *Scope : Scopes) in collectLexicalBlockInfo() 2981 LexicalScope &Scope, in collectLexicalBlockInfo() 3074 if (LexicalScope *CFS = LScopes.getCurrentFunctionScope()) in endFunctionImpl()
|
| H A D | DbgEntityHistoryCalculator.cpp | 152 LexicalScope *Scope = nullptr; in trimLocationRanges()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 1153 using ScopeToDILocT = DenseMap<const LexicalScope *, const DILocation *>; 1157 DenseMap<const LexicalScope *, SmallSet<DebugVariableID, 4>>; 1162 using ScopeToAssignBlocksT = DenseMap<const LexicalScope *, SmallPtrSet<MachineBasicBlock *, 4>>;
|
| H A D | InstrRefBasedImpl.cpp | 3488 SmallVector<std::pair<LexicalScope *, ssize_t>, 4> WorkStack; in makeDepthFirstEjectionMap() 3497 LexicalScope *WS = ScopePosition.first; in makeDepthFirstEjectionMap() 3500 const SmallVectorImpl<LexicalScope *> &Children = WS->getChildren(); in makeDepthFirstEjectionMap() 3580 SmallVector<std::pair<LexicalScope *, ssize_t>, 4> WorkStack; in depthFirstVLocAndEmit() 3587 LexicalScope *WS = ScopePosition.first; in depthFirstVLocAndEmit() 3608 const SmallVectorImpl<LexicalScope *> &Children = WS->getChildren(); in depthFirstVLocAndEmit()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 508 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt() 690 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels() 809 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt() 1185 LexicalScope ForScope(*this, S.getSourceRange()); in EmitForStmt() 1209 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitForStmt() 1321 LexicalScope ForScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt() 1383 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
|
| H A D | CGObjCRuntime.cpp | 230 CodeGenFunction::LexicalScope Cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
|
| H A D | CGStmtOpenMP.cpp | 51 class OMPLexicalScope : public CodeGenFunction::LexicalScope { 84 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPLexicalScope() 229 class OMPSimdLexicalScope : public CodeGenFunction::LexicalScope { 241 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPSimdLexicalScope() 1880 CodeGenFunction::LexicalScope Scope(CGF, S->getSourceRange()); in emitBody() 2041 LexicalScope ForScope(*this, S->getSourceRange()); in EmitOMPCanonicalLoop() 4252 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective() 4258 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective() 4333 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective() 4339 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective() [all …]
|
| H A D | CodeGenFunction.h | 1026 class LexicalScope : public RunCleanupsScope { 1029 LexicalScope *ParentScope; 1031 LexicalScope(const LexicalScope &) = delete; 1032 void operator=(const LexicalScope &) = delete; 1036 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range) 1050 ~LexicalScope() { 2081 LexicalScope *CurLexicalScope = nullptr;
|
| H A D | CGClass.cpp | 1560 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()
|
| H A D | CGOpenMPRuntime.cpp | 1832 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in emitIfClause() 6231 CodeGenFunction::LexicalScope Scope(CGF, CondExpr->getSourceRange()); in getNumThreads() 6269 CodeGenFunction::LexicalScope Scope(CGF, NTExpr->getSourceRange()); in getNumThreads() 6338 CodeGenFunction::LexicalScope Scope( in getNumThreadsExprForTargetDirective()
|