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.h347 typedef DenseMap<LexicalScope *,
459 void addScopeVariable(LexicalScope *LS, DbgVariable *Var);
472 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
476 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
479 DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
604 DbgVariable *Var, LexicalScope *Scope);
DDwarfDebug.cpp437 LexicalScope *Scope) { in constructLexicalScopeDIE()
485 LexicalScope *Scope) { in constructInlinedScopeDIE()
567 DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) { in constructScopeDIE()
598 const SmallVectorImpl<LexicalScope *> &Scopes = Scope->getChildren(); in constructScopeDIE()
928 DenseMap<const MDNode *, LexicalScope *> DeadFnScopeMap; in collectDeadVariables()
942 LexicalScope *Scope = in collectDeadVariables()
943 new LexicalScope(NULL, DIDescriptor(SP), NULL, false); in collectDeadVariables()
1261 LexicalScope *Scope = LScopes.findAbstractScope(ScopeLoc.getScope(Ctx)); in findAbstractVariable()
1273 DbgVariable *Var, LexicalScope *Scope) { in addCurrentFnArgument()
1307 LexicalScope *Scope = LScopes.findLexicalScope(VP.second); in collectVariableInfoFromMMITable()
[all …]
/external/clang/lib/CodeGen/
DCodeGenFunction.h503 class LexicalScope: protected RunCleanupsScope {
506 LexicalScope *ParentScope;
508 LexicalScope(const LexicalScope &) LLVM_DELETED_FUNCTION;
509 void operator=(const LexicalScope &) LLVM_DELETED_FUNCTION;
513 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range) in LexicalScope() function
527 ~LexicalScope() { in ~LexicalScope()
922 LexicalScope *CurLexicalScope;
DCGObjCRuntime.cpp240 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt()
DCGStmt.cpp203 LexicalScope Scope(*this, S.getSourceRange()); in EmitCompoundStmt()
363 void CodeGenFunction::LexicalScope::rescopeLabels() { in rescopeLabels()
429 LexicalScope ConditionScope(*this, S.getSourceRange()); in EmitIfStmt()
DCGClass.cpp1327 LexicalScope Scope(*this, RootCS->getSourceRange()); in emitImplicitAssignmentOperatorBody()