Lines Matching refs:MC

39   MultiClass *MC;  member
41 SubMultiClassReference() : MC(0) {} in SubMultiClassReference()
43 bool isInvalid() const { return MC == 0; } in isInvalid()
50 MC->dump(); in dump()
204 MultiClass *SMC = SubMultiClass.MC; in AddSubMultiClass()
363 MultiClass *MC = MultiClasses[Lex.getCurStrVal()]; in ParseDefmID() local
364 if (MC == 0) { in ParseDefmID()
370 return &MC->Rec; in ParseDefmID()
430 Result.MC = ParseMultiClassID(); in ParseSubMultiClassReference()
431 if (Result.MC == 0) return Result; in ParseSubMultiClassReference()
440 Result.MC = 0; in ParseSubMultiClassReference()
444 Result.TemplateArgs = ParseValueList(&CurMC->Rec, &Result.MC->Rec); in ParseSubMultiClassReference()
446 Result.MC = 0; // Error parsing value list. in ParseSubMultiClassReference()
452 Result.MC = 0; in ParseSubMultiClassReference()
1882 if (SubMultiClass.MC == 0) return true; in ParseMultiClass()
1925 InstantiateMulticlassDef(MultiClass &MC, in InstantiateMulticlassDef() argument
1956 bool TGParser::ResolveMulticlassDefArgs(MultiClass &MC, in ResolveMulticlassDefArgs() argument
1983 MC.Rec.getName() + "'"); in ResolveMulticlassDefArgs()
1989 bool TGParser::ResolveMulticlassDef(MultiClass &MC, in ResolveMulticlassDef() argument
2068 MultiClass *MC = MultiClasses[Ref.Rec->getName()]; in ParseDefm() local
2069 assert(MC && "Didn't lookup multiclass correctly?"); in ParseDefm()
2073 const std::vector<std::string> &TArgs = MC->Rec.getTemplateArgs(); in ParseDefm()
2079 for (unsigned i = 0, e = MC->DefPrototypes.size(); i != e; ++i) { in ParseDefm()
2080 Record *DefProto = MC->DefPrototypes[i]; in ParseDefm()
2082 Record *CurRec = InstantiateMulticlassDef(*MC, DefProto, DefmPrefix, DefmPrefixLoc); in ParseDefm()
2084 if (ResolveMulticlassDefArgs(*MC, CurRec, DefmPrefixLoc, SubClassLoc, in ParseDefm()
2088 if (ResolveMulticlassDef(*MC, CurRec, DefProto, DefmPrefixLoc)) in ParseDefm()
2162 bool TGParser::ParseObject(MultiClass *MC) { in ParseObject() argument
2166 case tgtok::Let: return ParseTopLevelLet(MC); in ParseObject()
2167 case tgtok::Def: return ParseDef(MC); in ParseObject()
2168 case tgtok::Defm: return ParseDefm(MC); in ParseObject()
2176 bool TGParser::ParseObjectList(MultiClass *MC) { in ParseObjectList() argument
2178 if (ParseObject(MC)) in ParseObjectList()