Lines Matching refs:TArgs
236 ArrayRef<Init *> TArgs = SC->getTemplateArgs(); in AddSubClass() local
239 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
247 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in AddSubClass()
250 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
253 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in AddSubClass()
256 Twine(i) + " (" + TArgs[i]->getAsUnquotedString() + in AddSubClass()
260 R.set(TArgs[i], CurRec->getValue(TArgs[i])->getValue()); in AddSubClass()
262 CurRec->removeValue(TArgs[i]); in AddSubClass()
2439 ArrayRef<Init *> TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
2440 if (TArgs.empty()) { in ParseValueList()
2445 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); in ParseValueList()
2447 errs() << "Cannot find template arg " << ArgN << " (" << TArgs[ArgN] in ParseValueList()
2466 ArrayRef<Init *> TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
2467 if (ArgN >= TArgs.size()) { in ParseValueList()
2472 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); in ParseValueList()
3348 ArrayRef<Init *> TArgs = MC->Rec.getTemplateArgs(); in ParseDefm() local
3349 if (TArgs.size() < TemplateVals.size()) in ParseDefm()
3354 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in ParseDefm()
3356 Substs.emplace_back(TArgs[i], TemplateVals[i]); in ParseDefm()
3358 Init *Default = MC->Rec.getValue(TArgs[i])->getValue(); in ParseDefm()
3362 Twine(i) + " (" + TArgs[i]->getAsUnquotedString() + in ParseDefm()
3366 Substs.emplace_back(TArgs[i], Default); in ParseDefm()