Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLexicalScopes.h33 class LexicalScope; variable
61 bool isCurrentFunctionScope(const LexicalScope *LS) { in isCurrentFunctionScope()
66 LexicalScope *getCurrentFunctionScope() const { return CurrentFnLexicalScope;} in getCurrentFunctionScope()
80 LexicalScope *findLexicalScope(DebugLoc DL);
83 ArrayRef<LexicalScope *> getAbstractScopesList() const { in getAbstractScopesList()
88 LexicalScope *findAbstractScope(const MDNode *N) { in findAbstractScope()
94 LexicalScope *findInlinedScope(DebugLoc DL) { in findInlinedScope()
99 LexicalScope *findLexicalScope(const MDNode *N) { in findLexicalScope()
110 LexicalScope *getOrCreateLexicalScope(DebugLoc DL);
113 LexicalScope *getOrCreateRegularScope(MDNode *Scope);
[all …]
/external/llvm/include/llvm/CodeGen/
DLexicalScopes.h45 class LexicalScope {
48 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, in LexicalScope() function
59 LexicalScope *getParent() const { return Parent; } in getParent()
64 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren()
68 void addChild(LexicalScope *S) { Children.push_back(S); } in addChild()
91 void closeInsnRange(LexicalScope *NewScope = nullptr) {
103 bool dominates(const LexicalScope *S) const { in dominates()
121 LexicalScope *Parent; // Parent to this scope.
126 SmallVector<LexicalScope *, 4> Children; // Scopes defined in scope.
155 LexicalScope *getCurrentFunctionScope() const { in getCurrentFunctionScope()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLexicalScopes.cpp47 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap; in initialize()
59 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { in extractLexicalScopes()
116 LexicalScope *LexicalScopes::findLexicalScope(DebugLoc DL) { in findLexicalScope()
135 LexicalScope *LexicalScopes::getOrCreateLexicalScope(DebugLoc DL) { in getOrCreateLexicalScope()
151 LexicalScope *LexicalScopes::getOrCreateRegularScope(MDNode *Scope) { in getOrCreateRegularScope()
158 LexicalScope *WScope = LexicalScopeMap.lookup(Scope); in getOrCreateRegularScope()
162 LexicalScope *Parent = NULL; in getOrCreateRegularScope()
165 WScope = new LexicalScope(Parent, DIDescriptor(Scope), NULL, false); in getOrCreateRegularScope()
175 LexicalScope *LexicalScopes::getOrCreateInlinedScope(MDNode *Scope, in getOrCreateInlinedScope()
177 LexicalScope *InlinedScope = LexicalScopeMap.lookup(InlinedAt); in getOrCreateInlinedScope()
[all …]
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp44 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap; in initialize()
56 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { in extractLexicalScopes()
109 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) { in findLexicalScope()
127 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope()
140 LexicalScope *
150 LexicalScope *Parent = nullptr; in getOrCreateRegularScope()
168 LexicalScope *
178 LexicalScope *Parent; in getOrCreateInlinedScope()
193 LexicalScope *
202 LexicalScope *Parent = nullptr; in getOrCreateAbstractScope()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h29 class LexicalScope; variable
148 void constructScopeDIE(LexicalScope *Scope,
161 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
165 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
170 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
174 DIE *createScopeChildrenDIE(LexicalScope *Scope,
179 void constructSubprogramScopeDIE(LexicalScope *Scope);
181 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
183 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
DDwarfFile.h32 class LexicalScope; variable
55 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8>> ScopeVariables;
110 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
112 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8>> &getScopeVariables() { in getScopeVariables()
DDebugHandlerBase.cpp32 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers()
35 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers()
37 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers()
DDwarfCompileUnit.cpp322 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE()
437 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) { in constructInlinedScopeDIE()
469 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) { in constructLexicalScopeDIE()
564 const LexicalScope &Scope, in constructVariableDIE()
572 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope, in createScopeChildrenDIE()
582 for (LexicalScope *LS : Scope->getChildren()) in createScopeChildrenDIE()
591 void DwarfCompileUnit::constructSubprogramScopeDIE(LexicalScope *Scope) { in constructSubprogramScopeDIE()
619 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope, in createAndAddScopeChildren()
633 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
DDwarfDebug.h318 void createAbstractVariable(const DILocalVariable *DV, LexicalScope *Scope);
324 DbgVariable *createConcreteVariable(LexicalScope &Scope, InlinedVariable IV);
327 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
561 bool isLexicalScopeDIENull(LexicalScope *Scope);
DDwarfDebug.cpp335 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull()
358 void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE()
691 LexicalScope *Scope) { in createAbstractVariable()
713 if (LexicalScope *Scope = in ensureAbstractVariableIsCreatedIfScoped()
729 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMMITable()
907 DbgVariable *DwarfDebug::createConcreteVariable(LexicalScope &Scope, in createConcreteVariable()
944 LexicalScope *Scope = nullptr; in collectVariableInfo()
989 if (LexicalScope *Scope = LScopes.findLexicalScope(DV->getScope())) in collectVariableInfo()
1058 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in beginFunction()
1114 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunction()
[all …]
DDwarfFile.cpp145 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { in addScopeVariable()
DCodeViewDebug.h33 class LexicalScope; variable
DCodeViewDebug.cpp745 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); in collectVariableInfoFromMMITable()
789 LexicalScope *Scope = nullptr; in collectVariableInfo()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfDebug.h234 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> > ScopeVariables;
313 void addScopeVariable(LexicalScope *LS, DbgVariable *Var);
326 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
331 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
334 DIE *constructVariableDIE(DbgVariable *DV, LexicalScope *S);
337 DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
436 DbgVariable *Var, LexicalScope *Scope);
DDwarfDebug.cpp250 LexicalScope *Scope) { in constructLexicalScopeDIE()
296 LexicalScope *Scope) { in constructInlinedScopeDIE()
375 DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) { in constructScopeDIE()
395 const SmallVector<LexicalScope *, 4> &Scopes = Scope->getChildren(); in constructScopeDIE()
658 DenseMap<const MDNode *, LexicalScope *> DeadFnScopeMap; in endModule()
673 LexicalScope *Scope = in endModule()
674 new LexicalScope(NULL, DIDescriptor(SP), NULL, false); in endModule()
773 LexicalScope *Scope = LScopes.findAbstractScope(ScopeLoc.getScope(Ctx)); in findAbstractVariable()
786 DbgVariable *Var, LexicalScope *Scope) { in addCurrentFnArgument()
821 LexicalScope *Scope = LScopes.findLexicalScope(VP.second); in collectVariableInfoFromMMITable()
[all …]
/external/clang/lib/CodeGen/
DCGStmt.cpp330 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt()
491 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels()
573 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt()
809 LexicalScope ForScope(*this, S.getSourceRange()); in EmitForStmt()
837 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitForStmt()
907 LexicalScope ForScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
956 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt()
DCodeGenFunction.h534 class LexicalScope : public RunCleanupsScope {
537 LexicalScope *ParentScope;
539 LexicalScope(const LexicalScope &) = delete;
540 void operator=(const LexicalScope &) = delete;
544 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range) in LexicalScope() function
558 ~LexicalScope() { in ~LexicalScope()
1164 LexicalScope *CurLexicalScope;
DCGObjCRuntime.cpp241 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
DCGStmtOpenMP.cpp29 class OMPLexicalScope final : public CodeGenFunction::LexicalScope {
58 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()), in OMPLexicalScope()
DCGClass.cpp1604 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()
DCGOpenMPRuntime.cpp1895 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange()); in emitOMPIfClause()