Home
last modified time | relevance | path

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

/external/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/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/AsmPrinter/
DDwarfDebug.h330 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> > ScopeVariables;
438 void addScopeVariable(LexicalScope *LS, DbgVariable *Var);
451 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
455 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
458 DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
571 DbgVariable *Var, LexicalScope *Scope);
DDwarfDebug.cpp424 LexicalScope *Scope) { in constructLexicalScopeDIE()
468 LexicalScope *Scope) { in constructInlinedScopeDIE()
548 DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) { in constructScopeDIE()
579 const SmallVector<LexicalScope *, 4> &Scopes = Scope->getChildren(); in constructScopeDIE()
826 DenseMap<const MDNode *, LexicalScope *> DeadFnScopeMap; in collectDeadVariables()
840 LexicalScope *Scope = in collectDeadVariables()
841 new LexicalScope(NULL, DIDescriptor(SP), NULL, false); in collectDeadVariables()
1017 LexicalScope *Scope = LScopes.findAbstractScope(ScopeLoc.getScope(Ctx)); in findAbstractVariable()
1029 DbgVariable *Var, LexicalScope *Scope) { in addCurrentFnArgument()
1063 LexicalScope *Scope = LScopes.findLexicalScope(VP.second); in collectVariableInfoFromMMITable()
[all …]
/external/clang/lib/CodeGen/
DCodeGenFunction.h854 class LexicalScope: protected RunCleanupsScope {
857 LexicalScope(const LexicalScope &) LLVM_DELETED_FUNCTION;
858 void operator=(const LexicalScope &) LLVM_DELETED_FUNCTION;
862 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range)
870 ~LexicalScope() {
DCGObjCRuntime.cpp240 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
DCGStmt.cpp199 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt()
DCGClass.cpp1326 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()