Lines Matching refs:DefName
2335 Init *DefName = DefProto->getNameInit();
2336 StringInit *DefNameString = dyn_cast<StringInit>(DefName);
2341 DefName =
2345 DefName, StringRecTy::get())->Fold(DefProto, &MC);
2351 auto CurRec = make_unique<Record>(DefName, Locs, Records, IsAnonymous);
2385 DefName = CurRec->getNameInit();
2386 DefNameString = dyn_cast<StringInit>(DefName);
2394 DefName = CurRec->getNameInit();
2395 DefNameString = dyn_cast<StringInit>(DefName);
2398 DefName = DefName->convertInitializerTo(StringRecTy::get());
2401 DefNameString = dyn_cast<StringInit>(DefName);
2404 DefName->getAsUnquotedString() + " is not a string.");
2408 CurRec->setName(DefName);