Searched refs:SMCTArgs (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 229 ArrayRef<Init *> SMCTArgs = SMC->Rec.getTemplateArgs(); in AddSubMultiClass() local 233 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass() 239 for (unsigned i = 0, e = SMCTArgs.size(); i != e; ++i) { in AddSubMultiClass() 243 if (SetValue(CurRec, SubMultiClass.RefRange.Start, SMCTArgs[i], in AddSubMultiClass() 248 CurRec->resolveReferencesTo(CurRec->getValue(SMCTArgs[i])); in AddSubMultiClass() 251 CurRec->removeValue(SMCTArgs[i]); in AddSubMultiClass() 257 if (SetValue(Def.get(), SubMultiClass.RefRange.Start, SMCTArgs[i], in AddSubMultiClass() 262 Def->resolveReferencesTo(Def->getValue(SMCTArgs[i])); in AddSubMultiClass() 265 Def->removeValue(SMCTArgs[i]); in AddSubMultiClass() 267 } else if (!CurRec->getValue(SMCTArgs[i])->getValue()->isComplete()) { in AddSubMultiClass() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 310 ArrayRef<Init *> SMCTArgs = SMC->Rec.getTemplateArgs(); in AddSubMultiClass() local 311 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass() 318 for (unsigned i = 0, e = SMCTArgs.size(); i != e; ++i) { in AddSubMultiClass() 320 TemplateArgs.emplace_back(SMCTArgs[i], SubMultiClass.TemplateArgs[i]); in AddSubMultiClass() 322 Init *Default = SMC->Rec.getValue(SMCTArgs[i])->getValue(); in AddSubMultiClass() 326 " (" + SMCTArgs[i]->getAsUnquotedString() + in AddSubMultiClass() 330 TemplateArgs.emplace_back(SMCTArgs[i], Default); in AddSubMultiClass()
|
/external/llvm-project/llvm/lib/TableGen/ |
D | TGParser.cpp | 311 ArrayRef<Init *> SMCTArgs = SMC->Rec.getTemplateArgs(); in AddSubMultiClass() local 312 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass() 319 for (unsigned i = 0, e = SMCTArgs.size(); i != e; ++i) { in AddSubMultiClass() 321 TemplateArgs.emplace_back(SMCTArgs[i], SubMultiClass.TemplateArgs[i]); in AddSubMultiClass() 323 Init *Default = SMC->Rec.getValue(SMCTArgs[i])->getValue(); in AddSubMultiClass() 327 " (" + SMCTArgs[i]->getAsUnquotedString() + in AddSubMultiClass() 331 TemplateArgs.emplace_back(SMCTArgs[i], Default); in AddSubMultiClass()
|