Home | History | Annotate | Download | only in TableGen

Lines Matching full:getvalue

245     return IntInit::get(getValue());
305 Result |= static_cast<int64_t>(Bit->getValue()) << i;
418 int64_t Val = getValue();
424 int64_t Value = getValue();
665 const std::string &Name = LHSs->getValue();
669 if (const RecordVal *RV = CurRec->getValue(Name)) {
679 const RecordVal *RV = CurRec->getValue(TemplateArgName);
694 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName);
741 return IntInit::get(LHSs->getValue().empty());
839 return StringInit::get(LHSs->getValue() + RHSs->getValue());
851 return IntInit::get(L->getValue() == R->getValue());
858 return IntInit::get(LHSs->getValue() == RHSs->getValue());
872 int64_t LHSv = LHSi->getValue(), RHSv = RHSi->getValue();
1070 std::string Val = RHSs->getValue();
1075 found = Val.find(LHSs->getValue(), idx);
1078 Val.replace(found, LHSs->getValue().size(), MHSs->getValue());
1079 idx = found + MHSs->getValue().size();
1099 if (LHSi->getValue())
1120 if (Value->getValue()) {
1153 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName))
1291 return NameString->getValue();
1306 RecordVal *RV = R.getValue(getNameInit());
1308 ListInit *LI = dyn_cast<ListInit>(RV->getValue());
1310 return VarListElementInit::get(cast<TypedInit>(RV->getValue()), Elt);
1326 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName))
1334 if (const RecordVal *Val = R.getValue(VarName)) {
1335 if (RV != Val && (RV || isa<UnsetInit>(Val->getValue())))
1337 Init *TheInit = Val->getValue();
1347 if (RecordVal *Val = R.getValue(VarName))
1348 if (RV == Val || (!RV && !isa<UnsetInit>(Val->getValue())))
1349 return Val->getValue();
1440 if (const RecordVal *RV = Def->getValue(FieldName))
1447 return Def->getValue(FieldName)->getValue();
1609 getValue();
1618 if (getValue())
1619 OS << " = " << *getValue();
1649 return cast<StringInit>(Name)->getValue();
1676 if (Init *V = Values[i].getValue())
1682 "' of (" + RV->getValue()->getAsUnquotedString() +
1706 const RecordVal *RV = R.getValue(TA);
1733 const RecordVal *R = getValue(FieldName);
1734 if (!R || !R->getValue())
1737 return R->getValue();
1742 const RecordVal *R = getValue(FieldName);
1743 if (!R || !R->getValue())
1747 if (StringInit *SI = dyn_cast<StringInit>(R->getValue()))
1748 return SI->getValue();
1749 if (CodeInit *CI = dyn_cast<CodeInit>(R->getValue()))
1750 return CI->getValue();
1757 const RecordVal *R = getValue(FieldName);
1758 if (!R || !R->getValue())
1762 if (BitsInit *BI = dyn_cast<BitsInit>(R->getValue()))
1769 const RecordVal *R = getValue(FieldName);
1770 if (!R || !R->getValue())
1774 if (ListInit *LI = dyn_cast<ListInit>(R->getValue()))
1795 const RecordVal *R = getValue(FieldName);
1796 if (!R || !R->getValue())
1800 if (IntInit *II = dyn_cast<IntInit>(R->getValue()))
1801 return II->getValue();
1812 Ints.push_back(II->getValue());
1826 Strings.push_back(SI->getValue());
1835 const RecordVal *R = getValue(FieldName);
1836 if (!R || !R->getValue())
1840 if (DefInit *DI = dyn_cast<DefInit>(R->getValue()))
1847 const RecordVal *R = getValue(FieldName);
1848 if (!R || !R->getValue())
1852 if (BitInit *BI = dyn_cast<BitInit>(R->getValue()))
1853 return BI->getValue();
1859 const RecordVal *R = getValue(FieldName);
1860 if (!R || !R->getValue())
1864 if (isa<UnsetInit>(R->getValue())) {
1869 if (BitInit *BI = dyn_cast<BitInit>(R->getValue()))
1870 return BI->getValue();
1876 const RecordVal *R = getValue(FieldName);
1877 if (!R || !R->getValue())
1881 if (DagInit *DI = dyn_cast<DagInit>(R->getValue()))