Home
last modified time | relevance | path

Searched refs:SubMultiClass (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp203 SubMultiClassReference &SubMultiClass) { in AddSubMultiClass() argument
204 MultiClass *SMC = SubMultiClass.MC; in AddSubMultiClass()
212 if (AddValue(CurRec, SubMultiClass.RefLoc, SMCVals[i])) in AddSubMultiClass()
227 if (AddValue(NewDef, SubMultiClass.RefLoc, MCVals[i])) in AddSubMultiClass()
237 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass()
238 return Error(SubMultiClass.RefLoc, in AddSubMultiClass()
244 if (i < SubMultiClass.TemplateArgs.size()) { in AddSubMultiClass()
247 if (SetValue(CurRec, SubMultiClass.RefLoc, SMCTArgs[i], in AddSubMultiClass()
249 SubMultiClass.TemplateArgs[i])) in AddSubMultiClass()
267 if (SetValue(Def, SubMultiClass.RefLoc, SMCTArgs[i], in AddSubMultiClass()
[all …]
DTGParser.h79 SubMultiClassReference &SubMultiClass);
/external/llvm/lib/TableGen/
DTGParser.cpp205 SubMultiClassReference &SubMultiClass) { in AddSubMultiClass() argument
206 MultiClass *SMC = SubMultiClass.MC; in AddSubMultiClass()
211 if (AddValue(CurRec, SubMultiClass.RefRange.Start, SMCVal)) in AddSubMultiClass()
223 if (AddValue(NewDef.get(), SubMultiClass.RefRange.Start, MCVal)) in AddSubMultiClass()
233 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass()
234 return Error(SubMultiClass.RefRange.Start, in AddSubMultiClass()
240 if (i < SubMultiClass.TemplateArgs.size()) { in AddSubMultiClass()
243 if (SetValue(CurRec, SubMultiClass.RefRange.Start, SMCTArgs[i], in AddSubMultiClass()
244 None, SubMultiClass.TemplateArgs[i])) in AddSubMultiClass()
257 if (SetValue(Def.get(), SubMultiClass.RefRange.Start, SMCTArgs[i], in AddSubMultiClass()
[all …]
DTGParser.h118 SubMultiClassReference &SubMultiClass);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp308 SubMultiClassReference &SubMultiClass) { in AddSubMultiClass() argument
309 MultiClass *SMC = SubMultiClass.MC; in AddSubMultiClass()
312 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass()
313 return Error(SubMultiClass.RefRange.Start, in AddSubMultiClass()
320 if (i < SubMultiClass.TemplateArgs.size()) { in AddSubMultiClass()
321 TemplateArgs.emplace_back(SMCTArgs[i], SubMultiClass.TemplateArgs[i]); in AddSubMultiClass()
325 return Error(SubMultiClass.RefRange.Start, in AddSubMultiClass()
2810 SubMultiClassReference SubMultiClass = in ParseMultiClass() local
2814 if (!SubMultiClass.MC) return true; in ParseMultiClass()
2817 if (AddSubMultiClass(CurMultiClass, SubMultiClass)) in ParseMultiClass()
[all …]
DTGParser.h144 SubMultiClassReference &SubMultiClass);