Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h45 class LexicalScope {
47 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() function
61 LexicalScope *getParent() const { return Parent; } in getParent()
93 void closeInsnRange(LexicalScope *NewScope = nullptr) {
105 bool dominates(const LexicalScope *S) const { in dominates()
157 LexicalScope *getCurrentFunctionScope() const { in getCurrentFunctionScope()
173 LexicalScope *findLexicalScope(const DILocation *DL);
225 void constructScopeNest(LexicalScope *Scope);
239 LexicalScope,
249 SmallVector<LexicalScope *, 4> AbstractScopesList;
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLexicalScopes.cpp158 LexicalScope *
168 LexicalScope *Parent = nullptr; in getOrCreateRegularScope()
186 LexicalScope *
196 LexicalScope *Parent; in getOrCreateInlinedScope()
210 LexicalScope *
219 LexicalScope *Parent = nullptr; in getOrCreateAbstractScope()
235 SmallVector<LexicalScope *, 4> WorkStack; in constructScopeNest()
239 LexicalScope *WS = WorkStack.back(); in constructScopeNest()
261 LexicalScope *PrevLexicalScope = nullptr; in assignInstructionRanges()
263 LexicalScope *S = MI2ScopeMap.lookup(R.first); in assignInstructionRanges()
[all …]
H A DLiveDebugVariables.cpp802 LexicalScope *Scope = LS.findLexicalScope(dl); in computeIntervals()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h169 void constructScopeDIE(LexicalScope *Scope,
183 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
187 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
192 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
196 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope);
199 DIE *createScopeChildrenDIE(LexicalScope *Scope,
205 LexicalScope *Scope);
207 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
209 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
227 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
H A DDwarfFile.h32 class LexicalScope; variable
103 DenseMap<LexicalScope *, ScopeVars> ScopeVariables;
107 DenseMap<LexicalScope *, LabelList> ScopeLabels;
176 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
178 void addScopeLabel(LexicalScope *LS, DbgLabel *Label);
180 DenseMap<LexicalScope *, ScopeVars> &getScopeVariables() { in getScopeVariables()
184 DenseMap<LexicalScope *, LabelList> &getScopeLabels() { in getScopeLabels()
H A DDwarfCompileUnit.cpp364 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE()
475 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE()
507 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
528 const LexicalScope &Scope) { in constructLabelDIE()
622 const LexicalScope &Scope, in constructVariableDIE()
705 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE()
735 for (LexicalScope *LS : Scope->getChildren()) in createScopeChildrenDIE()
742 LexicalScope *Scope) { in constructSubprogramScopeDIE()
769 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
783 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
[all …]
H A DCodeViewDebug.h191 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables;
347 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes,
351 void collectLexicalBlockInfo(LexicalScope &Scope,
358 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
H A DDwarfFile.cpp95 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable()
112 void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) { in addScopeLabel()
H A DDebugHandlerBase.cpp95 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers()
98 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers()
100 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
H A DDwarfDebug.h57 class LexicalScope; variable
421 LexicalScope &Scope,
427 void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU, LexicalScope *Scope);
712 bool isLexicalScopeDIENull(LexicalScope *Scope);
H A DDwarfDebug.cpp453 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull()
482 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
1026 if (LexicalScope *Scope = in ensureAbstractEntityIsCreatedIfScoped()
1043 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable()
1235 LexicalScope &Scope, in createConcreteEntity()
1331 LexicalScope *Scope = nullptr; in collectEntityInfo()
1384 LexicalScope *Scope = nullptr; in collectEntityInfo()
1407 LexicalScope *Scope = nullptr; in collectEntityInfo()
1573 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl()
1604 for (LexicalScope *AScope : LScopes.getAbstractScopesList()) { in endFunctionImpl()
H A DCodeViewDebug.cpp437 const LexicalScope *LS) { in recordLocalVariable()
1112 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable()
1261 LexicalScope *Scope = nullptr; in collectVariableInfo()
2681 SmallVectorImpl<LexicalScope *> &Scopes, in collectLexicalBlockInfo()
2685 for (LexicalScope *Scope : Scopes) in collectLexicalBlockInfo()
2692 LexicalScope &Scope, in collectLexicalBlockInfo()
2785 if (LexicalScope *CFS = LScopes.getCurrentFunctionScope()) in endFunctionImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp376 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt()
537 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels()
603 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt()
831 LexicalScope ForScope(*this, S.getSourceRange()); in EmitForStmt()
860 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitForStmt()
930 LexicalScope ForScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
982 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
H A DCodeGenFunction.h759 class LexicalScope : public RunCleanupsScope {
762 LexicalScope *ParentScope;
764 LexicalScope(const LexicalScope &) = delete;
765 void operator=(const LexicalScope &) = delete;
769 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range)
783 ~LexicalScope() {
1541 LexicalScope *CurLexicalScope = nullptr;
H A DCGObjCRuntime.cpp247 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
H A DCGStmtOpenMP.cpp29 class OMPLexicalScope : public CodeGenFunction::LexicalScope {
61 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPLexicalScope()
145 class OMPSimdLexicalScope : public CodeGenFunction::LexicalScope {
157 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPSimdLexicalScope()
H A DCGClass.cpp1523 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()
H A DCGOpenMPRuntime.cpp2802 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in emitOMPIfClause()