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