• Home
  • Raw
  • Download

Lines Matching refs:CurMultiClass

65     CurRec = &CurMultiClass->Rec;  in AddValue()
86 if (!CurRec) CurRec = &CurMultiClass->Rec; in SetValue()
400 Init *TGParser::ParseObjectName(MultiClass *CurMultiClass) { in ParseObjectName() argument
414 if (CurMultiClass) in ParseObjectName()
415 CurRec = &CurMultiClass->Rec; in ParseObjectName()
739 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name, ":"); in ParseIDValue()
741 if (CurMultiClass) in ParseIDValue()
742 TemplateArgName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name, in ParseIDValue()
752 if (CurMultiClass) { in ParseIDValue()
753 Init *MCName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name, in ParseIDValue()
756 if (CurMultiClass->Rec.isTemplateArg(MCName)) { in ParseIDValue()
757 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName); in ParseIDValue()
902 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass); in ParseOperation()
981 ->Fold(CurRec, CurMultiClass); in ParseOperation()
988 ->Fold(CurRec, CurMultiClass); in ParseOperation()
1110 CurMultiClass); in ParseOperation()
1238 if (!CurMultiClass) { in ParseSimpleValue()
1243 CurMultiClass->DefPrototypes.push_back(NewRec); in ParseSimpleValue()
1247 CurMultiClass->Rec.getTemplateArgs(); in ParseSimpleValue()
1250 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]); in ParseSimpleValue()
1257 const RecordVal *MCNameRV = CurMultiClass->Rec.getValue("NAME"); in ParseSimpleValue()
1580 StringRecTy::get())->Fold(CurRec, CurMultiClass); in ParseValue()
1710 DeclName = QualifyName(*CurRec, CurMultiClass, DeclName, ":"); in ParseDeclaration()
1712 assert(CurMultiClass); in ParseDeclaration()
1714 if (CurMultiClass) in ParseDeclaration()
1715 DeclName = QualifyName(CurMultiClass->Rec, CurMultiClass, DeclName, in ParseDeclaration()
1826 Record *TheRecToAddTo = CurRec ? CurRec : &CurMultiClass->Rec; in ParseTemplateArgList()
1980 bool TGParser::ParseDef(MultiClass *CurMultiClass) { in ParseDef() argument
1987 Init *Name = ParseObjectName(CurMultiClass); in ParseDef()
1994 if (!CurMultiClass && Loops.empty()) { in ParseDef()
2007 } else if (CurMultiClass) { in ParseDef()
2017 for (unsigned i = 0, e = CurMultiClass->DefPrototypes.size(); i != e; ++i) in ParseDef()
2018 if (CurMultiClass->DefPrototypes[i]->getNameInit() in ParseDef()
2024 CurMultiClass->DefPrototypes.push_back(CurRec); in ParseDef()
2028 if (!CurMultiClass) // Def's in multiclasses aren't really defs. in ParseDef()
2037 if (CurMultiClass) { in ParseDef()
2040 CurMultiClass->Rec.getTemplateArgs(); in ParseDef()
2043 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]); in ParseDef()
2064 bool TGParser::ParseForeach(MultiClass *CurMultiClass) { in ParseForeach() argument
2084 if (ParseObject(CurMultiClass)) in ParseForeach()
2093 if (ParseObjectList(CurMultiClass)) in ParseForeach()
2192 bool TGParser::ParseTopLevelLet(MultiClass *CurMultiClass) { in ParseTopLevelLet() argument
2208 if (ParseObject(CurMultiClass)) in ParseTopLevelLet()
2216 if (ParseObjectList(CurMultiClass)) in ParseTopLevelLet()
2252 CurMultiClass = MultiClasses[Name] = new MultiClass(Name, in ParseMultiClass()
2271 ParseSubMultiClassReference(CurMultiClass); in ParseMultiClass()
2277 if (AddSubMultiClass(CurMultiClass, SubMultiClass)) in ParseMultiClass()
2282 SubMultiClass = ParseSubMultiClassReference(CurMultiClass); in ParseMultiClass()
2305 if (ParseObject(CurMultiClass)) in ParseMultiClass()
2313 CurMultiClass = nullptr; in ParseMultiClass()
2379 if (!CurMultiClass) { in InstantiateMulticlassDef()
2453 if (!CurMultiClass) in ResolveMulticlassDef()
2455 for (unsigned i = 0, e = CurMultiClass->DefPrototypes.size(); in ResolveMulticlassDef()
2457 if (CurMultiClass->DefPrototypes[i]->getNameInit() in ResolveMulticlassDef()
2461 CurMultiClass->DefPrototypes.push_back(CurRec); in ResolveMulticlassDef()
2465 CurMultiClass->Rec.getTemplateArgs(); in ResolveMulticlassDef()
2468 const RecordVal *RV = CurMultiClass->Rec.getValue(TA[i]); in ResolveMulticlassDef()
2480 bool TGParser::ParseDefm(MultiClass *CurMultiClass) { in ParseDefm() argument
2486 DefmPrefix = ParseObjectName(CurMultiClass); in ParseDefm()
2587 if (!CurMultiClass) in ParseDefm()