Home | History | Annotate | Download | only in TableGen

Lines Matching refs:RV

63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) {
67 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) {
69 if (ERV->setValue(RV.getValue()))
70 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" +
71 RV.getType()->getAsString() + "' is incompatible with " +
75 CurRec->addValue(RV);
88 RecordVal *RV = CurRec->getValue(ValName);
89 if (RV == 0)
105 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue());
138 if (RV->setValue(V))
140 + RV->getType()->getAsString() +
746 if (const RecordVal *RV = CurRec->getValue(Name))
747 return VarInit::get(Name, RV->getType());
756 const RecordVal *RV = CurRec->getValue(TemplateArgName);
757 assert(RV && "Template arg doesn't exist??");
758 return VarInit::get(TemplateArgName, RV->getType());
767 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName);
768 assert(RV && "Template arg doesn't exist??");
769 return VarInit::get(MCName, RV->getType());
1609 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
1610 if (!RV) {
1614 assert(RV && "Template argument record not found??");
1615 ItemType = RV->getType();
1630 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
1631 assert(RV && "Template argument record not found??");
1632 ItemType = RV->getType();
1997 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]);
1998 assert(RV && "Template arg doesn't exist?");
1999 CurRec->addValue(*RV);
2422 const RecordVal *RV = CurMultiClass->Rec.getValue(TA[i]);
2423 assert(RV && "Template arg doesn't exist?");
2424 CurRec->addValue(*RV);