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()
1246 const std::vector<Init *> &TArgs =
1249 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) {
1250 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]);
1641 const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs();
1642 if (!TArgs.size()) {
1646 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
1648 errs() << "Cannot find template arg " << ArgN << " (" << TArgs[ArgN]
1662 const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs();
1663 if (ArgN >= TArgs.size()) {
1667 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
2039 const std::vector<Init *> &TArgs =
2042 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) {
2043 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]);
2412 const std::vector<Init *> &TArgs,
2417 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) {
2421 if (SetValue(CurRec, DefmPrefixLoc, TArgs[i], std::vector<unsigned>(),
2426 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i]));
2430 CurRec->removeValue(TArgs[i]);
2432 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) {
2434 utostr(i) + " (" + TArgs[i]->getAsUnquotedString()
2516 const std::vector<Init *> &TArgs = MC->Rec.getTemplateArgs();
2517 if (TArgs.size() < TemplateVals.size())
2532 TArgs, TemplateVals, true/*Delete args*/))