Lines Matching refs:CurMultiClass
65 CurRec = &CurMultiClass->Rec;
86 if (CurRec == 0) CurRec = &CurMultiClass->Rec;
653 if (CurMultiClass)
654 TemplateArgName = CurMultiClass->Rec.getName()+"::"+TemplateArgName;
663 if (CurMultiClass) {
664 std::string MCName = CurMultiClass->Rec.getName()+"::"+Name;
665 if (CurMultiClass->Rec.isTemplateArg(MCName)) {
666 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName);
796 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass);
855 ->Fold(CurRec, CurMultiClass);
862 ->Fold(CurRec, CurMultiClass);
989 CurMultiClass);
1459 /// which case CurRec will be null, but CurMultiClass will be set). This can
1461 /// CurRec and CurMultiClass.
1487 assert(CurMultiClass);
1489 if (CurMultiClass)
1490 DeclName = CurMultiClass->Rec.getName() + "::" + DeclName;
1521 Record *TheRecToAddTo = CurRec ? CurRec : &CurMultiClass->Rec;
1668 bool TGParser::ParseDef(MultiClass *CurMultiClass) {
1676 if (!CurMultiClass) {
1687 for (unsigned i = 0, e = CurMultiClass->DefPrototypes.size(); i != e; ++i)
1688 if (CurMultiClass->DefPrototypes[i]->getName() == CurRec->getName()) {
1693 CurMultiClass->DefPrototypes.push_back(CurRec);
1699 if (CurMultiClass == 0) // Def's in multiclasses aren't really defs.
1708 if (CurMultiClass) {
1711 CurMultiClass->Rec.getTemplateArgs();
1714 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]);
1805 bool TGParser::ParseTopLevelLet(MultiClass *CurMultiClass) {
1821 if (ParseObject(CurMultiClass))
1829 if (ParseObjectList(CurMultiClass))
1860 CurMultiClass = MultiClasses[Name] = new MultiClass(Name,
1879 ParseSubMultiClassReference(CurMultiClass);
1885 if (AddSubMultiClass(CurMultiClass, SubMultiClass))
1890 SubMultiClass = ParseSubMultiClassReference(CurMultiClass);
1912 if (ParseObject(CurMultiClass))
1920 CurMultiClass = 0;
2009 if (CurMultiClass) {
2010 for (unsigned i = 0, e = CurMultiClass->DefPrototypes.size();
2012 if (CurMultiClass->DefPrototypes[i]->getName() == CurRec->getName())
2015 CurMultiClass->DefPrototypes.push_back(CurRec);
2019 CurMultiClass->Rec.getTemplateArgs();
2022 const RecordVal *RV = CurMultiClass->Rec.getValue(TA[i]);
2037 bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
2141 if (!CurMultiClass)