Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLexicalScopes.cpp59 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 DLiveDebugVariables.cpp1138 LexicalScope *Scope = LS.findLexicalScope(dl); in computeIntervals()
/netbsd-src/external/apache2/llvm/dist/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);
279 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
H A DCodeViewDebug.h193 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables;
349 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes,
353 void collectLexicalBlockInfo(LexicalScope &Scope,
360 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);
816 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()
886 const LexicalScope &Scope, in constructVariableDIE()
997 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE()
1027 for (LexicalScope *LS : Scope->getChildren()) in createScopeChildrenDIE()
1034 LexicalScope *Scope) { in constructSubprogramScopeDIE()
1061 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
1075 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
[all …]
H A DDwarfDebug.cpp537 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull()
566 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
1521 if (LexicalScope *Scope = in ensureAbstractEntityIsCreatedIfScoped()
1539 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMFTable()
1764 LexicalScope &Scope, in createConcreteEntity()
1805 LexicalScope *Scope = nullptr; in collectEntityInfo()
1875 LexicalScope *Scope = nullptr; in collectEntityInfo()
1901 LexicalScope *Scope = nullptr; in collectEntityInfo()
2132 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl()
2165 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()
2797 SmallVectorImpl<LexicalScope *> &Scopes, in collectLexicalBlockInfo()
2801 for (LexicalScope *Scope : Scopes) in collectLexicalBlockInfo()
2808 LexicalScope &Scope, in collectLexicalBlockInfo()
2901 if (LexicalScope *CFS = LScopes.getCurrentFunctionScope()) in endFunctionImpl()
H A DDbgEntityHistoryCalculator.cpp150 LexicalScope *Scope = nullptr; in trimLocationRanges()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp442 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt()
625 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels()
711 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt()
955 LexicalScope ForScope(*this, S.getSourceRange()); in EmitForStmt()
979 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitForStmt()
1072 LexicalScope ForScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
1127 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
H A DCGStmtOpenMP.cpp41 class OMPLexicalScope : public CodeGenFunction::LexicalScope {
74 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPLexicalScope()
196 class OMPSimdLexicalScope : public CodeGenFunction::LexicalScope {
208 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPSimdLexicalScope()
1816 CodeGenFunction::LexicalScope Scope(CGF, S->getSourceRange()); in emitBody()
1963 LexicalScope ForScope(*this, S->getSourceRange()); in EmitOMPCanonicalLoop()
3887 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective()
3893 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPSectionDirective()
3970 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective()
3976 LexicalScope Scope(*this, S.getSourceRange()); in EmitOMPMasterDirective()
[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 DCGObjCRuntime.cpp245 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
H A DCGClass.cpp1562 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()
H A DCGOpenMPRuntime.cpp2035 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in emitIfClause()
6752 CodeGenFunction::LexicalScope Scope(CGF, Cond->getSourceRange()); in getNumThreads()
6776 CodeGenFunction::LexicalScope Scope( in getNumThreads()
6849 CodeGenFunction::LexicalScope Scope( in emitNumThreadsForTargetDirective()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp1467 void vlocDataflow(const LexicalScope *Scope, const DILocation *DILoc,
2883 const LexicalScope *Scope, const DILocation *DILoc, in vlocDataflow()
3285 DenseMap<const LexicalScope *, SmallSet<DebugVariable, 4>> ScopeToVars; in ExtendRanges()
3288 DenseMap<const LexicalScope *, SmallPtrSet<MachineBasicBlock *, 4>> in ExtendRanges()
3292 DenseMap<const LexicalScope *, const DILocation *> ScopeToDILocation; in ExtendRanges()