Home | History | Annotate | Download | only in TableGen

Lines Matching refs:Name

338 // bits initializer will resolve into VarBitInit to keep the field name and bit
631 std::string Name = LHSs->getValue();
635 if (const RecordVal *RV = CurRec->getValue(Name)) {
638 return VarInit::get(Name, RV->getType());
641 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name,
656 Init *MCName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name,
670 if (Record *D = (CurRec->getRecords()).getDef(Name))
674 "Undefined reference:'" + Name + "'\n");
1450 ArrayRef<std::string>::iterator Name = NameRange.begin();
1452 assert(Name != NameRange.end() && "Arg name underflow!");
1454 ID.AddString(*Name++);
1456 assert(Name == NameRange.end() && "Arg name overflow!");
1572 // replaced with the top-level def name at instantiation time.
1573 RecordVal DN("NAME", StringRecTy::get(), 0);
1578 // Ensure the record name has string type.
1579 const TypedInit *TypedName = cast<const TypedInit>(Name);
1581 PrintFatalError(getLoc(), "Record name is not a string!");
1591 return cast<StringInit>(Name)->getValue();
1595 Name = NewName;
1597 // DO NOT resolve record values to the name at this point because
1604 name. Indeed, the reason for having the
1605 // record name be an Init is to provide this flexibility. The extra
1610 void Record::setName(const std::string &Name) {
1611 setName(StringInit::get(Name));
1632 Init *NewName = Name->resolveReferences(*this, RV);
1677 /// getValueInit - Return the initializer for a value with the specified name,
1898 /// that derive from the specified class name. If a class with the specified
1899 /// name does not exist, an error is printed and true is returned.
1915 /// to CurRec's name.
1917 Init *Name, const std::string &Scoper) {
1918 RecTy *Type = cast<TypedInit>(Name)->getType();
1926 Name,
1944 /// to CurRec's name.
1946 const std::string &Name,
1948 return QualifyName(CurRec, CurMultiClass, StringInit::get(Name), Scoper);