Home | History | Annotate | Download | only in Scalar

Lines Matching refs:OldName

2119     StringRef OldName = OldPtr->getName();
2121 size_t LastSROAPrefix = OldName.rfind(".sroa.");
2123 OldName = OldName.substr(LastSROAPrefix + strlen(".sroa."));
2125 size_t IndexEnd = OldName.find_first_not_of("0123456789");
2126 if (IndexEnd != StringRef::npos && OldName[IndexEnd] == '.') {
2128 OldName = OldName.substr(IndexEnd + 1);
2129 size_t OffsetEnd = OldName.find_first_not_of("0123456789");
2130 if (OffsetEnd != StringRef::npos && OldName[OffsetEnd] == '.')
2132 OldName = OldName.substr(OffsetEnd + 1);
2136 OldName = OldName.substr(0, OldName.find(".sroa_"));
2142 Twine(OldName) + "."