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()
1126 return BitsRecTy::get(Records, Val); in ParseType()
1149 if (Init *I = CurScope->getVar(Records, CurMultiClass, Name, NameLoc, in ParseIDValue()
1156 if (Init *I = Records.getGlobal(Name->getValue())) { in ParseIDValue()
1215 Type = StringRecTy::get(Records); in ParseOperation()
1220 Type = StringRecTy::get(Records); in ParseOperation()
1225 Type = StringRecTy::get(Records); in ParseOperation()
1230 Type = IntRecTy::get(Records); in ParseOperation()
1235 Type = IntRecTy::get(Records); in ParseOperation()
1248 Type = IntRecTy::get(Records); in ParseOperation()
1253 Type = IntRecTy::get(Records); in ParseOperation()
1273 Type = RecordRecTy::get(Records, {}); in ParseOperation()
1491 Type = DagRecTy::get(Records); in ParseOperation()
1492 ArgType = DagRecTy::get(Records); in ParseOperation()
1500 ArgType = DagRecTy::get(Records); in ParseOperation()
1503 Type = StringRecTy::get(Records); in ParseOperation()
1504 ArgType = DagRecTy::get(Records); in ParseOperation()
1516 Type = IntRecTy::get(Records); in ParseOperation()
1517 ArgType = IntRecTy::get(Records); in ParseOperation()
1525 Type = BitRecTy::get(Records); in ParseOperation()
1540 Type = StringRecTy::get(Records); in ParseOperation()
1541 ArgType = StringRecTy::get(Records); in ParseOperation()
1544 Type = StringRecTy::get(Records); in ParseOperation()
1625 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1626 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records)) && in ParseOperation()
1627 !ArgType->typeIsConvertibleTo(RecordRecTy::get(Records, {}))) { in ParseOperation()
1640 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1641 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records))) { in ParseOperation()
1651 if (ArgType != StringRecTy::get(Records)->getListTy() && in ParseOperation()
1653 IntRecTy::get(Records)->getListTy())) { in ParseOperation()
1698 ArgType = RecordRecTy::get(Records, {}); in ParseOperation()
1707 ArgType = IntRecTy::get(Records); in ParseOperation()
1826 LHS = IntInit::get(Records, 0); in ParseOperation()
1827 MHS = UnOpInit::get(UnOpInit::SIZE, Arg0, IntRecTy::get(Records)) in ParseOperation()
1829 RHS = IntInit::get(Records, 1); in ParseOperation()
1833 LHS = IntInit::get(Records, 0); in ParseOperation()
1835 RHS = IntInit::get(Records, 1); in ParseOperation()
1850 RHS = IntInit::get(Records, 1); in ParseOperation()
1853 IntRecTy::get(Records)->getListTy()) in ParseOperation()
1871 Type = DagRecTy::get(Records); in ParseOperation()
1882 Type = DagRecTy::get(Records); in ParseOperation()
1887 Type = DagRecTy::get(Records); in ParseOperation()
1943 if (RHSt && StringRecTy::get(Records)->getListTy() != RHSt->getType()) { in ParseOperation()
1963 MHSTy = BitsRecTy::get(Records, MHSbits->getNumBits()); in ParseOperation()
1965 MHSTy = BitRecTy::get(Records); in ParseOperation()
1970 RHSTy = BitsRecTy::get(Records, RHSbits->getNumBits()); in ParseOperation()
1972 RHSTy = BitRecTy::get(Records); in ParseOperation()
2096 Init *A = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperation()
2114 Init *B = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperation()
2133 ParseRecTmp = std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records); in ParseOperation()
2208 RecTy *Type = StringRecTy::get(Records); in ParseOperationSubstr()
2239 RHS = IntInit::get(Records, std::numeric_limits<int64_t>::max()); in ParseOperationSubstr()
2296 RecTy *Type = IntRecTy::get(Records); in ParseOperationFind()
2327 RHS = IntInit::get(Records, 0); in ParseOperationFind()
2397 Init *LHS = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperationForEachFilter()
2437 : IntRecTy::get(Records); in ParseOperationForEachFilter()
2473 std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records); in ParseOperationForEachFilter()
2558 VTy = BitsRecTy::get(Records, Vbits->getNumBits()); in ParseOperationCond()
2560 VTy = BitRecTy::get(Records); in ParseOperationCond()
2625 R = IntInit::get(Records, 1); in ParseSimpleValue()
2629 R = IntInit::get(Records, 0); in ParseSimpleValue()
2633 R = IntInit::get(Records, Lex.getCurIntVal()); in ParseSimpleValue()
2640 Bits[i] = BitInit::get(Records, BinaryVal.first & (1LL << i)); in ParseSimpleValue()
2641 R = BitsInit::get(Records, Bits); in ParseSimpleValue()
2655 R = StringInit::get(Records, Val); in ParseSimpleValue()
2659 R = StringInit::get(Records, Lex.getCurStrVal(), StringInit::SF_Code); in ParseSimpleValue()
2663 R = UnsetInit::get(Records); in ParseSimpleValue()
2668 StringInit *Name = StringInit::get(Records, Lex.getCurStrVal()); in ParseSimpleValue()
2678 Record *Class = Records.getClass(Name->getValue()); in ParseSimpleValue()
2739 Init *Bit = Vals[i]->getCastTo(BitRecTy::get(Records)); in ParseSimpleValue()
2748 return BitsInit::get(Records, NewBits); in ParseSimpleValue()
2859 OperatorName = StringInit::get(Records, Lex.getCurStrVal()); in ParseSimpleValue()
2966 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseValue()
3023 if (LHS->getType() != StringRecTy::get(Records)) { in ParseValue()
3025 UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get(Records)) in ParseValue()
3047 RHS = StringInit::get(Records, ""); in ParseValue()
3060 if (RHS->getType() != StringRecTy::get(Records)) { in ParseValue()
3062 UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get(Records)) in ParseValue()
3095 StringInit *VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList()
3096 Result.emplace_back(UnsetInit::get(Records), VarName); in ParseDagArgList()
3114 VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList()
3262 Init *DeclName = StringInit::get(Records, Str); in ParseDeclaration()
3317 Init *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseForeachDeclaration()
3371 IterType = IntRecTy::get(Records); in ParseForeachDeclaration()
3374 Values.push_back(IntInit::get(Records, R)); in ParseForeachDeclaration()
3455 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseBodyItem()
3474 Type = BitsRecTy::get(Records, BitList.size()); in ParseBodyItem()
3610 CurRec = std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, in ParseDef()
3611 Records, Record::RK_AnonymousDef); in ParseDef()
3613 CurRec = std::make_unique<Record>(Name, NameLoc, Records); in ParseDef()
3641 StringInit *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDefset()
3642 if (Records.getGlobal(DeclName->getValue())) in ParseDefset()
3663 Records.addExtraGlobal(DeclName->getValue(), in ParseDefset()
3678 StringInit *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDefvar()
3691 if (CurScope->isOutermost() && Records.getGlobal(DeclName->getValue())) in ParseDefvar()
3708 Records.addExtraGlobal(DeclName->getValue(), Value); in ParseDefvar()
3793 ListInit *EmptyList = ListInit::get({}, BitRecTy::get(Records)); in ParseIf()
3795 ListInit::get({BitInit::get(Records, true)}, BitRecTy::get(Records)); in ParseIf()
3796 RecTy *BitListTy = ListRecTy::get(BitRecTy::get(Records)); in ParseIf()
3917 Record *CurRec = Records.getClass(Lex.getCurStrVal()); in ParseClass()
3930 Records, Record::RK_Class); in ParseClass()
3932 Records.addClass(std::move(NewRec)); in ParseClass()
3967 StringInit *Name = StringInit::get(Records, Lex.getCurStrVal()); in ParseLetList()
4068 std::make_unique<MultiClass>(Name, Lex.getLoc(),Records))); in ParseMultiClass()
4165 DefmName = Records.getNewAnonymousName(); in ParseDefm()
4169 StringRecTy::get(Records)), in ParseDefm()
4217 InheritFromClass = (Records.getClass(Lex.getCurStrVal()) != nullptr); in ParseDefm()
4406 Message = UnOpInit::get(UnOpInit::REPR, Message, StringRecTy::get(Records)) in ParseDump()