Home
last modified time | relevance | path

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

/external/llvm/lib/TableGen/
DTGParser.cpp339 auto IterRec = make_unique<Record>(*CurRec); in ProcessForeachDefs() local
348 IterRec->addValue(RecordVal(IterVar->getName(), IVal->getType(), false)); in ProcessForeachDefs()
350 if (SetValue(IterRec.get(), Loc, IterVar->getName(), in ProcessForeachDefs()
355 IterRec->resolveReferencesTo(IterRec->getValue(IterVar->getName())); in ProcessForeachDefs()
358 IterRec->removeValue(IterVar->getName()); in ProcessForeachDefs()
361 if (Records.getDef(IterRec->getNameInitAsString())) { in ProcessForeachDefs()
363 if (!IterRec->isAnonymous()) in ProcessForeachDefs()
364 return Error(Loc, "def already exists: " +IterRec->getNameInitAsString()); in ProcessForeachDefs()
366 IterRec->setName(GetNewAnonymousName()); in ProcessForeachDefs()
369 Record *IterRecSave = IterRec.get(); // Keep a copy before release. in ProcessForeachDefs()
[all …]