Lines Matching refs:TArgs

164   const std::vector<Init *> &TArgs = SC->getTemplateArgs();  in AddSubClass()  local
167 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
173 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in AddSubClass()
176 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
181 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i])); in AddSubClass()
184 CurRec->removeValue(TArgs[i]); in AddSubClass()
186 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in AddSubClass()
189 + utostr(i) + " (" + TArgs[i]->getAsUnquotedString() in AddSubClass()
1259 const std::vector<Init *> &TArgs = in ParseSimpleValue() local
1262 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in ParseSimpleValue()
1263 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]); in ParseSimpleValue()
1678 const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
1679 if (TArgs.empty()) { in ParseValueList()
1683 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); in ParseValueList()
1685 errs() << "Cannot find template arg " << ArgN << " (" << TArgs[ArgN] in ParseValueList()
1699 const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
1700 if (ArgN >= TArgs.size()) { in ParseValueList()
1704 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); in ParseValueList()
2077 const std::vector<Init *> &TArgs = in ParseDef() local
2080 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in ParseDef()
2081 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]); in ParseDef()
2457 const std::vector<Init *> &TArgs, in ResolveMulticlassDefArgs() argument
2462 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in ResolveMulticlassDefArgs()
2466 if (SetValue(CurRec, DefmPrefixLoc, TArgs[i], std::vector<unsigned>(), in ResolveMulticlassDefArgs()
2471 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i])); in ResolveMulticlassDefArgs()
2475 CurRec->removeValue(TArgs[i]); in ResolveMulticlassDefArgs()
2477 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in ResolveMulticlassDefArgs()
2479 utostr(i) + " (" + TArgs[i]->getAsUnquotedString() in ResolveMulticlassDefArgs()
2561 const std::vector<Init *> &TArgs = MC->Rec.getTemplateArgs(); in ParseDefm() local
2562 if (TArgs.size() < TemplateVals.size()) in ParseDefm()
2577 TArgs, TemplateVals, true/*Delete args*/)) in ParseDefm()