• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/

Lines Matching refs:FieldName

1431 RecTy *TypedInit::getFieldType(StringInit *FieldName) const {
1434 if (RecordVal *Field = Rec->getValue(FieldName))
1610 RecTy *DefInit::getFieldType(StringInit *FieldName) const {
1611 if (const RecordVal *RV = Def->getValue(FieldName))
1762 return FieldInit::get(NewRec, FieldName)->Fold(R.getCurrentRecord());
1772 FieldName->getAsUnquotedString() + "' of '" +
1774 Init *FieldVal = Def->getValue(FieldName)->getValue();
1783 Init *FieldVal = DI->getDef()->getValue(FieldName)->getValue();
2199 Init *Record::getValueInit(StringRef FieldName) const {
2200 const RecordVal *R = getValue(FieldName);
2203 "' does not have a field named `" + FieldName + "'!\n");
2207 StringRef Record::getValueAsString(StringRef FieldName) const {
2208 const RecordVal *R = getValue(FieldName);
2211 "' does not have a field named `" + FieldName + "'!\n");
2219 FieldName + "' does not have a string initializer!");
2222 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const {
2223 const RecordVal *R = getValue(FieldName);
2226 "' does not have a field named `" + FieldName + "'!\n");
2231 FieldName + "' does not have a BitsInit initializer!");
2234 ListInit *Record::getValueAsListInit(StringRef FieldName) const {
2235 const RecordVal *R = getValue(FieldName);
2238 "' does not have a field named `" + FieldName + "'!\n");
2243 FieldName + "' does not have a list initializer!");
2247 Record::getValueAsListOfDefs(StringRef FieldName) const {
2248 ListInit *List = getValueAsListInit(FieldName);
2255 FieldName + "' list is not entirely DefInit!");
2260 int64_t Record::getValueAsInt(StringRef FieldName) const {
2261 const RecordVal *R = getValue(FieldName);
2264 "' does not have a field named `" + FieldName + "'!\n");
2269 FieldName +
2275 Record::getValueAsListOfInts(StringRef FieldName) const {
2276 ListInit *List = getValueAsListInit(FieldName);
2283 Twine("Record `") + getName() + "', field `" + FieldName +
2291 Record::getValueAsListOfStrings(StringRef FieldName) const {
2292 ListInit *List = getValueAsListInit(FieldName);
2301 Twine("Record `") + getName() + "', field `" + FieldName +
2308 Record *Record::getValueAsDef(StringRef FieldName) const {
2309 const RecordVal *R = getValue(FieldName);
2312 "' does not have a field named `" + FieldName + "'!\n");
2317 FieldName + "' does not have a def initializer!");
2320 Record *Record::getValueAsOptionalDef(StringRef FieldName) const {
2321 const RecordVal *R = getValue(FieldName);
2324 "' does not have a field named `" + FieldName + "'!\n");
2331 FieldName + "' does not have either a def initializer or '?'!");
2335 bool Record::getValueAsBit(StringRef FieldName) const {
2336 const RecordVal *R = getValue(FieldName);
2339 "' does not have a field named `" + FieldName + "'!\n");
2344 FieldName + "' does not have a bit initializer!");
2347 bool Record::getValueAsBitOrUnset(StringRef FieldName, bool &Unset) const {
2348 const RecordVal *R = getValue(FieldName);
2351 "' does not have a field named `" + FieldName.str() + "'!\n");
2361 FieldName + "' does not have a bit initializer!");
2364 DagInit *Record::getValueAsDag(StringRef FieldName) const {
2365 const RecordVal *R = getValue(FieldName);
2368 "' does not have a field named `" + FieldName + "'!\n");
2373 FieldName + "' does not have a dag initializer!");