Lines Matching refs:OldName
2499 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() local
2501 size_t LastSROAPrefix = OldName.rfind(".sroa."); in getNewAllocaSlicePtr()
2503 OldName = OldName.substr(LastSROAPrefix + strlen(".sroa.")); in getNewAllocaSlicePtr()
2505 size_t IndexEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2506 if (IndexEnd != StringRef::npos && OldName[IndexEnd] == '.') { in getNewAllocaSlicePtr()
2508 OldName = OldName.substr(IndexEnd + 1); in getNewAllocaSlicePtr()
2509 size_t OffsetEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2510 if (OffsetEnd != StringRef::npos && OldName[OffsetEnd] == '.') in getNewAllocaSlicePtr()
2512 OldName = OldName.substr(OffsetEnd + 1); in getNewAllocaSlicePtr()
2516 OldName = OldName.substr(0, OldName.find(".sroa_")); in getNewAllocaSlicePtr()
2522 Twine(OldName) + "." in getNewAllocaSlicePtr()