Lines Matching refs:TArgs
156 const std::vector<Init *> &TArgs = SC->getTemplateArgs();
159 if (TArgs.size() < SubClass.TemplateArgs.size())
165 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) {
168 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i],
173 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i]));
176 CurRec->removeValue(TArgs[i]);
178 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) {
181 + utostr(i) + " (" + TArgs[i]->getAsUnquotedString()
1593 const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs();
1594 if (!TArgs.size()) {
1598 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
1600 errs() << "Cannot find template arg " << ArgN << " (" << TArgs[ArgN]
1614 TArgs = ArgsRec->getTemplateArgs();
1615 if (ArgN >= TArgs.size()) {
1619 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
1982 const std::vector<Init *> &TArgs =
1985 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) {
1986 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]);
2355 const std::vector<Init *> &TArgs,
2360 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) {
2364 if (SetValue(CurRec, DefmPrefixLoc, TArgs[i], std::vector<unsigned>(),
2369 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i]));
2373 CurRec->removeValue(TArgs[i]);
2375 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) {
2377 utostr(i) + " (" + TArgs[i]->getAsUnquotedString()
2459 const std::vector<Init *> &TArgs = MC->Rec.getTemplateArgs();
2460 if (TArgs.size() < TemplateVals.size())
2475 TArgs, TemplateVals, true/*Delete args*/))