Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h147 std::unique_ptr<TGLocalVarScope> CurLocalScope; variable
184 CurLocalScope = std::make_unique<TGLocalVarScope>(std::move(CurLocalScope)); in PushLocalScope()
188 return CurLocalScope.get(); in PushLocalScope()
191 assert(ExpectedStackTop == CurLocalScope.get() && in PopLocalScope()
193 CurLocalScope = CurLocalScope->extractParent(); in PopLocalScope()
H A DTGParser.cpp885 if (CurLocalScope) in ParseIDValue()
886 if (Init *I = CurLocalScope->getVar(Name->getValue())) in ParseIDValue()
3097 if (CurLocalScope) { in ParseDefvar()
3098 if (CurLocalScope->varAlreadyDefined(DeclName->getValue())) in ParseDefvar()
3116 if (CurLocalScope) in ParseDefvar()
3117 CurLocalScope->addVar(DeclName->getValue(), Value); in ParseDefvar()