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)
105 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue());
138 if (RV->setValue(V))
140 + RV->getType()->getAsString() +
736 if (const RecordVal *RV = CurRec->getValue(Name))
737 return VarInit::get(Name, RV->getType());
746 const RecordVal *RV = CurRec->getValue(TemplateArgName);
747 assert(RV && "Template arg doesn't exist??");
748 return VarInit::get(TemplateArgName, RV->getType());
757 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName);
758 assert(RV && "Template arg doesn't exist??");
759 return VarInit::get(MCName, RV->getType());
1250 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]);
1251 assert(RV && "Template arg doesn't exist?");
1252 NewRec->addValue(*RV);
1646 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
1647 if (!RV) {
1651 assert(RV && "Template argument record not found??");
1652 ItemType = RV->getType();
1667 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]);
1668 assert(RV && "Template argument record not found??");
1669 ItemType = RV->getType();
2043 const RecordVal *RV = CurMultiClass->Rec.getValue(TArgs[i]);
2044 assert(RV && "Template arg doesn't exist?");
2045 CurRec->addValue(*RV);
2468 const RecordVal *RV = CurMultiClass->Rec.getValue(TA[i]);
2469 assert(RV && "Template arg doesn't exist?");
2470 CurRec->addValue(*RV);