• Home
  • Raw
  • Download

Lines Matching refs:TArgs

155   ArrayRef<Init *> TArgs = SC->getTemplateArgs();  in AddSubClass()  local
158 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
164 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in AddSubClass()
167 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
172 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i])); in AddSubClass()
175 CurRec->removeValue(TArgs[i]); in AddSubClass()
177 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in AddSubClass()
180 Twine(i) + " (" + TArgs[i]->getAsUnquotedString() + in AddSubClass()
1644 ArrayRef<Init *> TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
1645 if (TArgs.empty()) { in ParseValueList()
1649 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); in ParseValueList()
1651 errs() << "Cannot find template arg " << ArgN << " (" << TArgs[ArgN] in ParseValueList()
1665 ArrayRef<Init *> TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
1666 if (ArgN >= TArgs.size()) { in ParseValueList()
1670 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); in ParseValueList()
2319 ArrayRef<Init *> TArgs, in InstantiateMulticlassDef() argument
2392 Lex.getLoc(), TArgs, TemplateVals, in InstantiateMulticlassDef()
2440 ArrayRef<Init *> TArgs, in ResolveMulticlassDefArgs() argument
2445 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in ResolveMulticlassDefArgs()
2449 if (SetValue(CurRec, DefmPrefixLoc, TArgs[i], std::vector<unsigned>(), in ResolveMulticlassDefArgs()
2454 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i])); in ResolveMulticlassDefArgs()
2458 CurRec->removeValue(TArgs[i]); in ResolveMulticlassDefArgs()
2460 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in ResolveMulticlassDefArgs()
2462 Twine(i) + " (" + TArgs[i]->getAsUnquotedString() + in ResolveMulticlassDefArgs()
2539 ArrayRef<Init *> TArgs = MC->Rec.getTemplateArgs(); in ParseDefm() local
2540 if (TArgs.size() < TemplateVals.size()) in ParseDefm()
2554 TArgs, TemplateVals); in ParseDefm()
2560 TArgs, TemplateVals, true/*Delete args*/)) in ParseDefm()