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

/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DLexicalScopes.h33 class LexicalScope;
61 bool isCurrentFunctionScope(const LexicalScope *LS) {
66 LexicalScope *getCurrentFunctionScope() const { return CurrentFnLexicalScope;}
80 LexicalScope *findLexicalScope(DebugLoc DL);
83 ArrayRef<LexicalScope *> getAbstractScopesList() const {
88 LexicalScope *findAbstractScope(const MDNode *N) {
94 LexicalScope *findInlinedScope(DebugLoc DL) {
99 LexicalScope *findLexicalScope(const MDNode *N) {
110 LexicalScope *getOrCreateLexicalScope(DebugLoc DL);
113 LexicalScope *getOrCreateRegularScop
155 class LexicalScope { class in namespace:llvm
158 LexicalScope(LexicalScope *P, const MDNode *D, const MDNode *I, bool A) function in class:llvm::LexicalScope
[all...]
/external/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h43 /// LexicalScope - This class is used to track scope information.
45 class LexicalScope { class in namespace:llvm
48 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, function in class:llvm::LexicalScope
59 LexicalScope *getParent() const { return Parent; }
64 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; }
68 void addChild(LexicalScope *S) { Children.push_back(S); }
91 void closeInsnRange(LexicalScope *NewScope = nullptr) {
103 bool dominates(const LexicalScope *S) const {
111 // Depth First Search support to walk and manipulate LexicalScope hierarch
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DLexicalScopes.cpp47 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap;
59 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) {
116 LexicalScope *LexicalScopes::findLexicalScope(DebugLoc DL) {
135 LexicalScope *LexicalScopes::getOrCreateLexicalScope(DebugLoc DL) {
151 LexicalScope *LexicalScopes::getOrCreateRegularScope(MDNode *Scope) {
158 LexicalScope *WScope = LexicalScopeMap.lookup(Scope);
162 LexicalScope *Parent = NULL;
165 WScope = new LexicalScope(Parent, DIDescriptor(Scope), NULL, false);
175 LexicalScope *LexicalScopes::getOrCreateInlinedScope(MDNode *Scope,
177 LexicalScope *InlinedScop
[all...]
/external/llvm/lib/CodeGen/
H A DLexicalScopes.cpp44 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap;
56 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) {
109 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) {
127 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope,
140 LexicalScope *
150 LexicalScope *Parent = nullptr;
168 LexicalScope *
178 LexicalScope *Parent;
193 LexicalScope *
202 LexicalScope *Paren
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.h32 class LexicalScope;
55 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8>> ScopeVariables;
110 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
112 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8>> &getScopeVariables() {
H A DDwarfCompileUnit.h29 class LexicalScope;
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);
H A DDebugHandlerBase.cpp27 // Each LexicalScope has first instruction and last instruction to mark
32 SmallVector<LexicalScope *, 4> WorkList;
35 LexicalScope *S = WorkList.pop_back_val();
37 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren();
H A DDwarfCompileUnit.cpp322 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) {
437 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) {
469 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) {
564 const LexicalScope &Scope,
572 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope,
582 for (LexicalScope *LS : Scope->getChildren())
591 void DwarfCompileUnit::constructSubprogramScopeDIE(LexicalScope *Scope) {
619 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope,
633 LexicalScope *Scope) {
H A DDwarfDebug.h318 void createAbstractVariable(const DILocalVariable *DV, LexicalScope *Scope);
324 DbgVariable *createConcreteVariable(LexicalScope &Scope, InlinedVariable IV);
327 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
437 /// Populate LexicalScope entries with variables' info.
561 bool isLexicalScopeDIENull(LexicalScope *Scope);
H A DDwarfFile.cpp145 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
H A DDwarfDebug.cpp335 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) {
358 void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) {
691 LexicalScope *Scope) {
713 if (LexicalScope *Scope =
729 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc);
907 DbgVariable *DwarfDebug::createConcreteVariable(LexicalScope &Scope,
944 LexicalScope *Scope = nullptr;
989 if (LexicalScope *Scope = LScopes.findLexicalScope(DV->getScope()))
1058 LexicalScope *FnScope = LScopes.getCurrentFunctionScope();
1114 LexicalScope *FnScop
[all...]
H A DCodeViewDebug.h33 class LexicalScope;
H A DCodeViewDebug.cpp745 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc);
789 LexicalScope *Scope = nullptr;
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
H A 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);
438 /// collectVariableInfo - Populate LexicalScope entries with variables' info.
H A DDwarfDebug.cpp250 LexicalScope *Scope) {
296 LexicalScope *Scope) {
300 && "LexicalScope does not have instruction markers!");
375 DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) {
395 const SmallVector<LexicalScope *, 4> &Scopes = Scope->getChildren();
658 DenseMap<const MDNode *, LexicalScope *> DeadFnScopeMap;
673 LexicalScope *Scope =
674 new LexicalScope(NULL, DIDescriptor(SP), NULL, false);
773 LexicalScope *Scope = LScopes.findAbstractScope(ScopeLoc.getScope(Ctx));
786 DbgVariable *Var, LexicalScope *Scop
[all...]
/external/clang/lib/CodeGen/
H A DCGStmt.cpp330 LexicalScope Scope(*this, S.getSourceRange());
491 void CodeGenFunction::LexicalScope::rescopeLabels() {
573 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange());
809 LexicalScope ForScope(*this, S.getSourceRange());
837 LexicalScope ConditionScope(*this, S.getSourceRange());
907 LexicalScope ForScope(*this, S.getSourceRange());
956 LexicalScope BodyScope(*this, S.getSourceRange());
H A DCGObjCRuntime.cpp241 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange());
H A DCodeGenFunction.h534 class LexicalScope : public RunCleanupsScope { class in class:clang::CodeGen::CodeGenFunction
537 LexicalScope *ParentScope;
539 LexicalScope(const LexicalScope &) = delete;
540 void operator=(const LexicalScope &) = delete;
544 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range) function in class:clang::CodeGen::CodeGenFunction::LexicalScope
558 ~LexicalScope() {
1164 LexicalScope *CurLexicalScope;
H A DCGStmtOpenMP.cpp29 class OMPLexicalScope final : public CodeGenFunction::LexicalScope {
58 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()),
H A DCGClass.cpp1604 LexicalScope Scope(*this, RootCS->getSourceRange());
H A DCGOpenMPRuntime.cpp1895 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange());

Completed in 1923 milliseconds