Lines Matching refs:Records

192     Init *BI = V->getCastTo(BitsRecTy::get(Records, BitList.size()));  in SetValue()
211 V = BitsInit::get(Records, NewBits); in SetValue()
268 StringRecTy::get(Records)); in AddSubClass()
340 StringRecTy::get(Records))); in AddSubMultiClass()
469 if (Record *Prev = Records.getDef(Rec->getNameInitAsString())) { in addDefOne()
476 NewName = Records.getNewAnonymousName(); in addDefOne()
507 Records.addDef(std::move(Rec)); in addDefOne()
545 return UnsetInit::get(Records); in ParseObjectName()
554 Init *Name = ParseValue(CurRec, StringRecTy::get(Records), ParseNameMode); in ParseObjectName()
564 VarInit::get(NameStr, StringRecTy::get(Records)), Name); in ParseObjectName()
581 Record *Result = Records.getClass(Lex.getCurStrVal()); in ParseClassID()
819 return StringRecTy::get(Records); in ParseType()
822 return BitRecTy::get(Records); in ParseType()
825 return IntRecTy::get(Records); in ParseType()
828 return DagRecTy::get(Records); in ParseType()
849 return BitsRecTy::get(Records, Val); in ParseType()
892 return VarInit::get(TemplateArgName, StringRecTy::get(Records)); in ParseIDValue()
912 if (Init *I = Records.getGlobal(Name->getValue())) in ParseIDValue()
961 Type = IntRecTy::get(Records); in ParseOperation()
974 Type = IntRecTy::get(Records); in ParseOperation()
979 Type = IntRecTy::get(Records); in ParseOperation()
999 Type = RecordRecTy::get(Records, {}); in ParseOperation()
1203 Type = DagRecTy::get(Records); in ParseOperation()
1204 ArgType = DagRecTy::get(Records); in ParseOperation()
1215 Type = IntRecTy::get(Records); in ParseOperation()
1216 ArgType = IntRecTy::get(Records); in ParseOperation()
1224 Type = BitRecTy::get(Records); in ParseOperation()
1235 Type = StringRecTy::get(Records); in ParseOperation()
1236 ArgType = StringRecTy::get(Records); in ParseOperation()
1239 Type = StringRecTy::get(Records); in ParseOperation()
1313 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1314 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records)) && in ParseOperation()
1315 !ArgType->typeIsConvertibleTo(RecordRecTy::get(Records, {}))) { in ParseOperation()
1326 if (!ArgType->typeIsConvertibleTo(IntRecTy::get(Records)) && in ParseOperation()
1327 !ArgType->typeIsConvertibleTo(StringRecTy::get(Records))) { in ParseOperation()
1337 if (ArgType != StringRecTy::get(Records)->getListTy() && in ParseOperation()
1339 IntRecTy::get(Records)->getListTy())) { in ParseOperation()
1384 ArgType = RecordRecTy::get(Records, {}); in ParseOperation()
1444 Type = DagRecTy::get(Records); in ParseOperation()
1506 if (RHSt && StringRecTy::get(Records)->getListTy() != RHSt->getType()) { in ParseOperation()
1526 MHSTy = BitsRecTy::get(Records, MHSbits->getNumBits()); in ParseOperation()
1528 MHSTy = BitRecTy::get(Records); in ParseOperation()
1533 RHSTy = BitsRecTy::get(Records, RHSbits->getNumBits()); in ParseOperation()
1535 RHSTy = BitRecTy::get(Records); in ParseOperation()
1630 Init *A = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperation()
1648 Init *B = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperation()
1667 ParseRecTmp = std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records); in ParseOperation()
1740 RecTy *Type = StringRecTy::get(Records); in ParseOperationSubstr()
1771 RHS = IntInit::get(Records, std::numeric_limits<int64_t>::max()); in ParseOperationSubstr()
1828 RecTy *Type = IntRecTy::get(Records); in ParseOperationFind()
1859 RHS = IntInit::get(Records, 0); in ParseOperationFind()
1929 Init *LHS = StringInit::get(Records, Lex.getCurStrVal()); in ParseOperationForEachFilter()
1969 : IntRecTy::get(Records); in ParseOperationForEachFilter()
2005 std::make_unique<Record>(".parse", ArrayRef<SMLoc>{}, Records); in ParseOperationForEachFilter()
2089 VTy = BitsRecTy::get(Records, Vbits->getNumBits()); in ParseOperationCond()
2091 VTy = BitRecTy::get(Records); in ParseOperationCond()
2145 R = IntInit::get(Records, 1); in ParseSimpleValue()
2149 R = IntInit::get(Records, 0); in ParseSimpleValue()
2153 R = IntInit::get(Records, Lex.getCurIntVal()); in ParseSimpleValue()
2160 Bits[i] = BitInit::get(Records, BinaryVal.first & (1LL << i)); in ParseSimpleValue()
2161 R = BitsInit::get(Records, Bits); in ParseSimpleValue()
2175 R = StringInit::get(Records, Val); in ParseSimpleValue()
2179 R = StringInit::get(Records, Lex.getCurStrVal(), StringInit::SF_Code); in ParseSimpleValue()
2183 R = UnsetInit::get(Records); in ParseSimpleValue()
2188 StringInit *Name = StringInit::get(Records, Lex.getCurStrVal()); in ParseSimpleValue()
2195 Record *Class = Records.getClass(Name->getValue()); in ParseSimpleValue()
2263 Init *Bit = Vals[i]->getCastTo(BitRecTy::get(Records)); in ParseSimpleValue()
2272 return BitsInit::get(Records, NewBits); in ParseSimpleValue()
2383 OperatorName = StringInit::get(Records, Lex.getCurStrVal()); in ParseSimpleValue()
2513 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseValue()
2556 if (LHS->getType() != StringRecTy::get(Records)) { in ParseValue()
2558 UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get(Records)) in ParseValue()
2580 RHS = StringInit::get(Records, ""); in ParseValue()
2593 if (RHS->getType() != StringRecTy::get(Records)) { in ParseValue()
2595 UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get(Records)) in ParseValue()
2628 StringInit *VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList()
2629 Result.emplace_back(UnsetInit::get(Records), VarName); in ParseDagArgList()
2647 VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList()
2754 Init *DeclName = StringInit::get(Records, Str); in ParseDeclaration()
2807 Init *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseForeachDeclaration()
2861 IterType = IntRecTy::get(Records); in ParseForeachDeclaration()
2864 Values.push_back(IntInit::get(Records, R)); in ParseForeachDeclaration()
2941 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseBodyItem()
2960 Type = BitsRecTy::get(Records, BitList.size()); in ParseBodyItem()
3088 CurRec = std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, Records, in ParseDef()
3091 CurRec = std::make_unique<Record>(Name, DefLoc, Records); in ParseDef()
3118 StringInit *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDefset()
3119 if (Records.getGlobal(DeclName->getValue())) in ParseDefset()
3140 Records.addExtraGlobal(DeclName->getValue(), in ParseDefset()
3155 StringInit *DeclName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDefvar()
3160 if (Records.getGlobal(DeclName->getValue())) in ParseDefvar()
3178 Records.addExtraGlobal(DeclName->getValue(), Value); in ParseDefvar()
3263 ListInit *EmptyList = ListInit::get({}, BitRecTy::get(Records)); in ParseIf()
3265 ListInit::get({BitInit::get(Records, true)}, BitRecTy::get(Records)); in ParseIf()
3266 RecTy *BitListTy = ListRecTy::get(BitRecTy::get(Records)); in ParseIf()
3386 Record *CurRec = Records.getClass(Lex.getCurStrVal()); in ParseClass()
3399 std::make_unique<Record>(Lex.getCurStrVal(), Lex.getLoc(), Records, in ParseClass()
3402 Records.addClass(std::move(NewRec)); in ParseClass()
3433 StringInit *Name = StringInit::get(Records, Lex.getCurStrVal()); in ParseLetList()
3533 std::make_unique<MultiClass>(Name, Lex.getLoc(),Records))); in ParseMultiClass()
3630 DefmName = Records.getNewAnonymousName(); in ParseDefm()
3634 StringRecTy::get(Records)), in ParseDefm()
3698 InheritFromClass = (Records.getClass(Lex.getCurStrVal()) != nullptr); in ParseDefm()