Home | History | Annotate | Download | only in TableGen

Lines Matching refs:CurMultiClass

62     CurRec = &CurMultiClass->Rec;
83 if (!CurRec) CurRec = &CurMultiClass->Rec;
382 Init *TGParser::ParseObjectName(MultiClass *CurMultiClass) {
396 if (CurMultiClass)
397 CurRec = &CurMultiClass->Rec;
720 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name, ":");
722 if (CurMultiClass)
723 TemplateArgName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name,
733 if (CurMultiClass) {
734 Init *MCName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name,
737 if (CurMultiClass->Rec.isTemplateArg(MCName)) {
738 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName);
873 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass);
954 ->Fold(CurRec, CurMultiClass);
961 ->Fold(CurRec, CurMultiClass);
1083 CurMultiClass);
1222 if (!CurMultiClass) {
1230 CurMultiClass->DefPrototypes.push_back(std::move(NewRecOwner));
1233 for (Init *TArg : CurMultiClass->Rec.getTemplateArgs()) {
1234 const RecordVal *RV = CurMultiClass->Rec.getValue(TArg);
1241 const RecordVal *MCNameRV = CurMultiClass->Rec.getValue("NAME");
1583 StringRecTy::get())->Fold(CurRec, CurMultiClass);
1687 /// which case CurRec will be null, but CurMultiClass will be set). This can
1689 /// CurRec and CurMultiClass.
1713 DeclName = QualifyName(*CurRec, CurMultiClass, DeclName, ":");
1715 assert(CurMultiClass);
1716 if (CurMultiClass)
1717 DeclName = QualifyName(CurMultiClass->Rec, CurMultiClass, DeclName,
1831 Record *TheRecToAddTo = CurRec ? CurRec : &CurMultiClass->Rec;
1984 bool TGParser::ParseDef(MultiClass *CurMultiClass) {
1991 Init *Name = ParseObjectName(CurMultiClass);
1999 if (!CurMultiClass && Loops.empty()) {
2010 } else if (CurMultiClass) {
2020 for (const auto &Proto : CurMultiClass->DefPrototypes)
2024 CurMultiClass->DefPrototypes.push_back(std::move(CurRecOwner));
2029 if (!CurMultiClass) // Def's in multiclasses aren't really defs.
2038 if (CurMultiClass) {
2040 for (Init *TArg : CurMultiClass->Rec.getTemplateArgs()) {
2041 const RecordVal *RV = CurMultiClass->Rec.getValue(TArg);
2060 bool TGParser::ParseForeach(MultiClass *CurMultiClass) {
2080 if (ParseObject(CurMultiClass))
2088 if (ParseObjectList(CurMultiClass))
2189 bool TGParser::ParseTopLevelLet(MultiClass *CurMultiClass) {
2205 if (ParseObject(CurMultiClass))
2213 if (ParseObjectList(CurMultiClass))
2253 CurMultiClass = Result.first->second.get();
2271 ParseSubMultiClassReference(CurMultiClass);
2277 if (AddSubMultiClass(CurMultiClass, SubMultiClass))
2282 SubMultiClass = ParseSubMultiClassReference(CurMultiClass);
2304 if (ParseObject(CurMultiClass))
2312 CurMultiClass = nullptr;
2377 if (!CurMultiClass) {
2481 if (!CurMultiClass)
2483 for (const auto &Proto : CurMultiClass->DefPrototypes)
2487 CurMultiClass->DefPrototypes.push_back(std::unique_ptr<Record>(CurRec));
2490 for (Init * TA : CurMultiClass->Rec.getTemplateArgs()) {
2491 const RecordVal *RV = CurMultiClass->Rec.getValue(TA);
2503 bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
2509 DefmPrefix = ParseObjectName(CurMultiClass);
2568 if (DefProto->isResolveFirst() && !CurMultiClass) {
2619 if (!CurMultiClass)