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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h42 /// LexicalScope - This class is used to track scope information.
44 class LexicalScope { class in namespace:llvm
46 LexicalScope(LexicalScope *P, const DILocalScope *D, const DILocation *I, function in class:llvm::LexicalScope
60 LexicalScope *getParent() const { return Parent; }
65 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; }
69 void addChild(LexicalScope *S) { Children.push_back(S); }
92 void closeInsnRange(LexicalScope *NewScope = nullptr) {
104 bool dominates(const LexicalScope *S) const {
112 // Depth First Search support to walk and manipulate LexicalScope hierarch
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLexicalScopes.cpp58 DenseMap<const MachineInstr *, LexicalScope *> MI2ScopeMap;
70 DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) {
123 LexicalScope *LexicalScopes::findLexicalScope(const DILocation *DL) {
141 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope,
158 LexicalScope *
168 LexicalScope *Parent = nullptr;
186 LexicalScope *
196 LexicalScope *Parent;
210 LexicalScope *
219 LexicalScope *Paren
[all...]
H A DLiveDebugVariables.cpp909 LexicalScope *Scope = LS.findLexicalScope(dl);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.h31 class LexicalScope;
82 DenseMap<LexicalScope *, ScopeVars> ScopeVariables;
86 DenseMap<LexicalScope *, LabelList> ScopeLabels;
152 bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
154 void addScopeLabel(LexicalScope *LS, DbgLabel *Label);
156 DenseMap<LexicalScope *, ScopeVars> &getScopeVariables() {
160 DenseMap<LexicalScope *, LabelList> &getScopeLabels() {
H A DDwarfCompileUnit.h189 void constructScopeDIE(LexicalScope *Scope,
203 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
207 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
212 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
216 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope);
219 DIE *createScopeChildrenDIE(LexicalScope *Scope,
227 LexicalScope *Scope);
229 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
231 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
272 void createAbstractEntity(const DINode *Node, LexicalScope *Scop
[all...]
H A DDwarfFile.cpp104 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
121 void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) {
H A DCodeViewDebug.h117 // Combines information from DILexicalBlock and LexicalScope.
193 DenseMap<const LexicalScope *, SmallVector<LocalVariable, 1>> ScopeVariables;
348 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes,
352 void collectLexicalBlockInfo(LexicalScope &Scope,
359 void recordLocalVariable(LocalVariable &&Var, const LexicalScope *LS);
H A DDebugHandlerBase.cpp89 // Each LexicalScope has first instruction and last instruction to mark
94 SmallVector<LexicalScope *, 4> WorkList;
97 LexicalScope *S = WorkList.pop_back_val();
99 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren();
H A DDwarfDebug.h58 class LexicalScope;
437 LexicalScope &Scope,
443 void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &SrcCU, LexicalScope *Scope);
578 /// Populate LexicalScope entries with variables' info.
749 bool isLexicalScopeDIENull(LexicalScope *Scope);
H A DDwarfCompileUnit.cpp424 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) {
532 DIE *DwarfCompileUnit::constructInlinedScopeDIE(LexicalScope *Scope) {
566 DIE *DwarfCompileUnit::constructLexicalScopeDIE(LexicalScope *Scope) {
587 const LexicalScope &Scope) {
708 const LexicalScope &Scope,
791 DIE *DwarfCompileUnit::createScopeChildrenDIE(LexicalScope *Scope,
821 for (LexicalScope *LS : Scope->getChildren())
828 LexicalScope *Scope) {
855 DIE *DwarfCompileUnit::createAndAddScopeChildren(LexicalScope *Scope,
869 LexicalScope *Scop
[all...]
H A DDwarfDebug.cpp490 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) {
519 LexicalScope *Scope) {
1302 if (LexicalScope *Scope =
1319 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc);
1530 LexicalScope &Scope,
1568 LexicalScope *Scope = nullptr;
1638 LexicalScope *Scope = nullptr;
1664 LexicalScope *Scope = nullptr;
1868 LexicalScope *FnScope = LScopes.getCurrentFunctionScope();
1899 for (LexicalScope *AScop
[all...]
H A DCodeViewDebug.cpp476 const LexicalScope *LS) {
1156 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc);
1311 LexicalScope *Scope = nullptr;
2734 SmallVectorImpl<LexicalScope *> &Scopes,
2738 for (LexicalScope *Scope : Scopes)
2745 LexicalScope &Scope,
2838 if (LexicalScope *CFS = LScopes.getCurrentFunctionScope())
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp393 LexicalScope Scope(*this, S.getSourceRange());
576 void CodeGenFunction::LexicalScope::rescopeLabels() {
642 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange());
870 LexicalScope ForScope(*this, S.getSourceRange());
899 LexicalScope ConditionScope(*this, S.getSourceRange());
969 LexicalScope ForScope(*this, S.getSourceRange());
1021 LexicalScope BodyScope(*this, S.getSourceRange());
H A DCGObjCRuntime.cpp244 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange());
H A DCodeGenFunction.h768 class LexicalScope : public RunCleanupsScope { class in class:clang::CodeGen::CodeGenFunction
771 LexicalScope *ParentScope;
773 LexicalScope(const LexicalScope &) = delete;
774 void operator=(const LexicalScope &) = delete;
778 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range) function in class:clang::CodeGen::CodeGenFunction::LexicalScope
792 ~LexicalScope() {
1576 LexicalScope *CurLexicalScope = nullptr;
H A DCGStmtOpenMP.cpp32 class OMPLexicalScope : public CodeGenFunction::LexicalScope {
64 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()),
183 class OMPSimdLexicalScope : public CodeGenFunction::LexicalScope {
195 : CodeGenFunction::LexicalScope(CGF, S.getSourceRange()),
1455 CodeGenFunction::LexicalScope Scope(CGF, S->getSourceRange());
H A DCGOpenMPRuntime.cpp3053 CodeGenFunction::LexicalScope ConditionScope(CGF, Cond->getSourceRange());
6732 CodeGenFunction::LexicalScope Scope(CGF, Cond->getSourceRange());
6756 CodeGenFunction::LexicalScope Scope(
6829 CodeGenFunction::LexicalScope Scope(
H A DCGClass.cpp1540 LexicalScope Scope(*this, RootCS->getSourceRange());

Completed in 430 milliseconds