Lines Matching refs:Records
138 Init *TGVarScope::getVar(RecordKeeper &Records, MultiClass *ParsingMultiClass, in getVar() argument
159 ? VarInit::get(ArgName, StringRecTy::get(Records)) in getVar()
204 return Parent->getVar(Records, ParsingMultiClass, Name, NameLoc, in getVar()
259 Init *BI = V->getCastTo(BitsRecTy::get(Records, BitList.size())); in SetValue()
278 V = BitsInit::get(Records, NewBits); in SetValue()
322 StringRecTy::get(Records)); in AddSubClass()
372 StringRecTy::get(Records)), in AddSubMultiClass()
545 if (Record *Prev = Records.getDef(Rec->getNameInitAsString())) { in addDefOne()
552 NewName = Records.getNewAnonymousName(); in addDefOne()
586 Records.addDef(std::move(Rec)); in addDefOne()
678 return UnsetInit::get(Records); in ParseObjectName()
687 Init *Name = ParseValue(CurRec, StringRecTy::get(Records), ParseNameMode); in ParseObjectName()
697 VarInit::get(NameStr, StringRecTy::get(Records)), Name); in ParseObjectName()
714 Record *Result = Records.getClass(Lex.getCurStrVal()); in ParseClassID()
861 RHS = IntInit::get(Records, i); in ParseSliceElement()
880 IntRecTy::get(Records)->getListTy()) in ParseSliceElement()
902 Slices.push_back(ListInit::get(Elems, IntRecTy::get(Records))); in ParseSliceElements()
1096 return StringRecTy::get(Records); in ParseType()
1099 return BitRecTy::get(Records); in ParseType()
1102 return IntRecTy::get(Records); in ParseType()
1105 return DagRecTy::get(Records); in ParseType()
1132 return BitsRecTy::get(Records, Val); in ParseType()
1155 if (Init *I = CurScope->getVar(Records, CurMultiClass, Name, NameLoc, in ParseIDValue()
1162 if (Init *I = Records.getGlobal(Name->getValue())) { in ParseIDValue()
1221 Type = StringRecTy::get(Records); in ParseOperation()
1226 Type = StringRecTy::get(Records); in ParseOperation()
1231 Type = StringRecTy::get(Records); in ParseOperation()
1236 Type = IntRecTy::get(Records); in ParseOperation()
1241 Type = IntRecTy::get(Records); in ParseOperation()
1254 Type = IntRecTy::get(Records); in ParseOperation()
1259 Type = IntRecTy::get(Records); in ParseOperation()
1279 Type = RecordRecTy::get(Records, {}); in ParseOperation()
1497 Type = DagRecTy::get(Records); in ParseOperation()
1498 ArgType = DagRecTy::get(Records); in ParseOperation()
1506 ArgType = DagRecTy::get(Records); in ParseOperation()
1509 Type = StringRecTy::get(Records); in ParseOperation()
1510 ArgType = DagRecTy::get(Records); in ParseOperation()
1522 Type = IntRecTy::get(Records); in ParseOperation()
1523 ArgType = IntRecTy::get(Records); in ParseOperation()
1531 Type = BitRecTy::get(Records); in ParseOperation()
1546 Type = StringRecTy::get(Records); in ParseOperation()
1547 ArgType = StringRecTy::get(Records); in ParseOperation()
1550 Type = StringRecTy::get(Records); in ParseOperation()
1631 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1632 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records)) && in ParseOperation()
1633 !ArgType->typeIsConvertibleTo(RecordRecTy::get(Records, {}))) { in ParseOperation()
1646 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1647 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records))) { in ParseOperation()
1657 if (ArgType != StringRecTy::get(Records)->getListTy() && in ParseOperation()
1659 IntRecTy::get(Records)->getListTy())) { in ParseOperation()
1704 ArgType = RecordRecTy::get(Records, {}); in ParseOperation()
1713 ArgType = IntRecTy::get(Records); in ParseOperation()
1832 LHS = IntInit::get(Records, 0); in ParseOperation()
1833 MHS = UnOpInit::get(UnOpInit::SIZE, Arg0, IntRecTy::get(Records)) in ParseOperation()
1835 RHS = IntInit::get(Records, 1); in ParseOperation()
1839 LHS = IntInit::get(Records, 0); in ParseOperation()
1841 RHS = IntInit::get(Records, 1); in ParseOperation()
1856 RHS = IntInit::get(Records, 1); in ParseOperation()
1859 IntRecTy::get(Records)->getListTy()) in ParseOperation()
1877 Type = DagRecTy::get(Records); in ParseOperation()
1888 Type = DagRecTy::get(Records); in ParseOperation()
1893 Type = DagRecTy::get(Records); in ParseOperation()
1949 if (RHSt && StringRecTy::get(Records)->getListTy() != RHSt->getType()) { in ParseOperation()
1969 MHSTy = BitsRecTy::get(Records, MHSbits->getNumBits()); in ParseOperation()
1971 MHSTy = BitRecTy::get(Records); in ParseOperation()
1976 RHSTy = BitsRecTy::get(Records, RHSbits->getNumBits()); in ParseOperation()
1978 RHSTy = BitRecTy::get(Records); in ParseOperation()
2102 Init *A = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperation()
2120 Init *B = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperation()
2139 ParseRecTmp = std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records); in ParseOperation()
2214 RecTy *Type = StringRecTy::get(Records); in ParseOperationSubstr()
2245 RHS = IntInit::get(Records, std::numeric_limits<int64_t>::max()); in ParseOperationSubstr()
2302 RecTy *Type = IntRecTy::get(Records); in ParseOperationFind()
2333 RHS = IntInit::get(Records, 0); in ParseOperationFind()
2403 Init *LHS = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperationForEachFilter()
2443 : IntRecTy::get(Records); in ParseOperationForEachFilter()
2479 std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records); in ParseOperationForEachFilter()
2564 VTy = BitsRecTy::get(Records, Vbits->getNumBits()); in ParseOperationCond()
2566 VTy = BitRecTy::get(Records); in ParseOperationCond()
2631 R = IntInit::get(Records, 1); in ParseSimpleValue()
2635 R = IntInit::get(Records, 0); in ParseSimpleValue()
2639 R = IntInit::get(Records, Lex.getCurIntVal()); in ParseSimpleValue()
2646 Bits[i] = BitInit::get(Records, BinaryVal.first & (1LL << i)); in ParseSimpleValue()
2647 R = BitsInit::get(Records, Bits); in ParseSimpleValue()
2661 R = StringInit::get(Records, Val); in ParseSimpleValue()
2665 R = StringInit::get(Records, Lex.getCurStrVal(), StringInit::SF_Code); in ParseSimpleValue()
2669 R = UnsetInit::get(Records); in ParseSimpleValue()
2674 StringInit *Name = StringInit::get(Records, Lex.getCurStrVal()); in ParseSimpleValue()
2684 Record *Class = Records.getClass(Name->getValue()); in ParseSimpleValue()
2745 Init *Bit = Vals[i]->getCastTo(BitRecTy::get(Records)); in ParseSimpleValue()
2754 return BitsInit::get(Records, NewBits); in ParseSimpleValue()
2865 OperatorName = StringInit::get(Records, Lex.getCurStrVal()); in ParseSimpleValue()
2972 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseValue()
3029 if (LHS->getType() != StringRecTy::get(Records)) { in ParseValue()
3031 UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get(Records)) in ParseValue()
3053 RHS = StringInit::get(Records, ""); in ParseValue()
3066 if (RHS->getType() != StringRecTy::get(Records)) { in ParseValue()
3068 UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get(Records)) in ParseValue()
3101 StringInit *VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList()
3102 Result.emplace_back(UnsetInit::get(Records), VarName); in ParseDagArgList()
3120 VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList()
3268 Init *DeclName = StringInit::get(Records, Str); in ParseDeclaration()
3323 Init *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseForeachDeclaration()
3377 IterType = IntRecTy::get(Records); in ParseForeachDeclaration()
3380 Values.push_back(IntInit::get(Records, R)); in ParseForeachDeclaration()
3461 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseBodyItem()
3480 Type = BitsRecTy::get(Records, BitList.size()); in ParseBodyItem()
3616 CurRec = std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, in ParseDef()
3617 Records, Record::RK_AnonymousDef); in ParseDef()
3619 CurRec = std::make_unique<Record>(Name, NameLoc, Records); in ParseDef()
3647 StringInit *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDefset()
3648 if (Records.getGlobal(DeclName->getValue())) in ParseDefset()
3669 Records.addExtraGlobal(DeclName->getValue(), in ParseDefset()
3686 if (TypeAliases.count(TypeName) || Records.getClass(TypeName)) in ParseDeftype()
3720 StringInit *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDefvar()
3733 if (CurScope->isOutermost() && Records.getGlobal(DeclName->getValue())) in ParseDefvar()
3750 Records.addExtraGlobal(DeclName->getValue(), Value); in ParseDefvar()
3835 ListInit *EmptyList = ListInit::get({}, BitRecTy::get(Records)); in ParseIf()
3837 ListInit::get({BitInit::get(Records, true)}, BitRecTy::get(Records)); in ParseIf()
3838 RecTy *BitListTy = ListRecTy::get(BitRecTy::get(Records)); in ParseIf()
3960 Record *CurRec = Records.getClass(Name); in ParseClass()
3973 Records, Record::RK_Class); in ParseClass()
3975 Records.addClass(std::move(NewRec)); in ParseClass()
4014 StringInit *Name = StringInit::get(Records, Lex.getCurStrVal()); in ParseLetList()
4115 std::make_unique<MultiClass>(Name, Lex.getLoc(),Records))); in ParseMultiClass()
4212 DefmName = Records.getNewAnonymousName(); in ParseDefm()
4216 StringRecTy::get(Records)), in ParseDefm()
4264 InheritFromClass = (Records.getClass(Lex.getCurStrVal()) != nullptr); in ParseDefm()
4455 Message = UnOpInit::get(UnOpInit::REPR, Message, StringRecTy::get(Records)) in ParseDump()