Home
last modified time | relevance | path

Searched refs:CurLocalScope (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGParser.h147 std::unique_ptr<TGLocalVarScope> CurLocalScope; variable
187 CurLocalScope = std::make_unique<TGLocalVarScope>(std::move(CurLocalScope)); in PushLocalScope()
191 return CurLocalScope.get(); in PushLocalScope()
194 assert(ExpectedStackTop == CurLocalScope.get() && in PopLocalScope()
196 CurLocalScope = CurLocalScope->extractParent(); in PopLocalScope()
H A DTGParser.cpp896 if (CurLocalScope) in ParseIDValue()
897 if (Init *I = CurLocalScope->getVar(Name->getValue())) in ParseIDValue()
3156 if (CurLocalScope) { in ParseDefvar()
3157 if (CurLocalScope->varAlreadyDefined(DeclName->getValue())) in ParseDefvar()
3175 if (CurLocalScope) in ParseDefvar()
3176 CurLocalScope->addVar(DeclName->getValue(), Value); in ParseDefvar()