Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A 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()
92 void closeInsnRange(LexicalScope *NewScope = nullptr) {
104 bool dominates(const LexicalScope *S) const { in dominates()
156 LexicalScope *getCurrentFunctionScope() const { in getCurrentFunctionScope()
172 LexicalScope *findLexicalScope(const DILocation *DL);
221 void constructScopeNest(LexicalScope *Scope);
235 LexicalScope,
245 SmallVector<LexicalScope *, 4> AbstractScopesList;
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLexicalScopes.cpp159 LexicalScope *
169 LexicalScope *Parent = nullptr; in getOrCreateRegularScope()
187 LexicalScope *
197 LexicalScope *Parent; in getOrCreateInlinedScope()
211 LexicalScope *
220 LexicalScope *Parent = nullptr; in getOrCreateAbstractScope()
243 LexicalScope *WS = ScopePosition.first; in constructScopeNest()
262 LexicalScope *PrevLexicalScope = nullptr; in assignInstructionRanges()
264 LexicalScope *S = MI2ScopeMap.lookup(R.first); in assignInstructionRanges()
285 LexicalScope *Scope = getOrCreateLexicalScope(DL); in getMachineBasicBlocks()
[all …]
H A DLiveDebugVariables.cpp1187 LexicalScope *Scope = LS.findLexicalScope(dl); in computeIntervals()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A 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()
H A 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);
277 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
H A DCodeViewDebug.h193 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables;
351 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes,
355 void collectLexicalBlockInfo(LexicalScope &Scope,
362 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
H A DDwarfFile.cpp106 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable()
123 void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) { in addScopeLabel()
H A DDebugHandlerBase.cpp114 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers()
117 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers()
119 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
H A DDwarfDebug.h57 class LexicalScope; variable
466 LexicalScope &Scope,
472 void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU, LexicalScope *Scope);
813 bool isLexicalScopeDIENull(LexicalScope *Scope);
H A DDwarfCompileUnit.cpp506 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE()
643 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE()
677 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
698 const LexicalScope &Scope) { in constructLabelDIE()
895 const LexicalScope &Scope, in constructVariableDIE()
1006 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE()
1036 for (LexicalScope *LS : Scope->getChildren()) in createScopeChildrenDIE()
1043 LexicalScope *Scope) { in constructSubprogramScopeDIE()
1070 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
1084 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
[all …]
H A DDwarfDebug.cpp537 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull()
566 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
1509 if (LexicalScope *Scope = in ensureAbstractEntityIsCreatedIfScoped()
1527 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable()
1814 LexicalScope &Scope, in createConcreteEntity()
1855 LexicalScope *Scope = nullptr; in collectEntityInfo()
1925 LexicalScope *Scope = nullptr; in collectEntityInfo()
1951 LexicalScope *Scope = nullptr; in collectEntityInfo()
2182 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl()
2215 for (LexicalScope *AScope : LScopes.getAbstractScopesList()) { in endFunctionImpl()
H A DCodeViewDebug.cpp484 const LexicalScope *LS) { in recordLocalVariable()
1191 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable()
1349 LexicalScope *Scope = nullptr; in collectVariableInfo()
2798 SmallVectorImpl<LexicalScope *> &Scopes, in collectLexicalBlockInfo()
2802 for (LexicalScope *Scope : Scopes) in collectLexicalBlockInfo()
2809 LexicalScope &Scope, in collectLexicalBlockInfo()
2902 if (LexicalScope *CFS = LScopes.getCurrentFunctionScope()) in endFunctionImpl()
H A DDbgEntityHistoryCalculator.cpp150 LexicalScope *Scope = nullptr; in trimLocationRanges()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp445 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt()
628 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels()
714 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt()
958 LexicalScope ForScope(*this, S.getSourceRange()); in EmitForStmt()
982 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitForStmt()
1075 LexicalScope ForScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
1130 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
H A DCGObjCRuntime.cpp245 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
H A DCGStmtOpenMP.cpp1971 LexicalScope ForScope(*this, S->getSourceRange()); in EmitOMPCanonicalLoop()
3913 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective()
3919 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective()
3996 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective()
4002 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective()
4044 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMaskedDirective()
4051 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMaskedDirective()
4086 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPCriticalDirective()
4102 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPCriticalDirective()
4935 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPScanDirective()
[all …]
H A DCodeGenFunction.h893 class LexicalScope : public RunCleanupsScope {
896 LexicalScope *ParentScope;
898 LexicalScope(const LexicalScope &) = delete;
899 void operator=(const LexicalScope &) = delete;
903 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range)
917 ~LexicalScope() {
1873 LexicalScope *CurLexicalScope = nullptr;
H A DCGClass.cpp1559 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()
H A DCGOpenMPRuntime.cpp2039 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in emitIfClause()
6821 CodeGenFunction::LexicalScope Scope(CGF, Cond->getSourceRange()); in getNumThreads()
6845 CodeGenFunction::LexicalScope Scope( in getNumThreads()
7031 CodeGenFunction::LexicalScope Scope( in emitNumThreadsForTargetDirective()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp1619 void vlocDataflow(const LexicalScope *Scope, const DILocation *DILoc,
3179 const LexicalScope *Scope, const DILocation *DILoc, in vlocDataflow()
3618 DenseMap<const LexicalScope *, SmallSet<DebugVariable, 4>> ScopeToVars; in ExtendRanges()
3621 DenseMap<const LexicalScope *, SmallPtrSet<MachineBasicBlock *, 4>> in ExtendRanges()
3625 DenseMap<const LexicalScope *, const DILocation *> ScopeToDILocation; in ExtendRanges()