Searched refs:OldName (Results 1 – 3 of 3) sorted by relevance
107 StringRef OldName = BB->getName(); in FoldBlockIntoPredecessor() local123 if (!OldName.empty() && !OnlyPred->hasName()) in FoldBlockIntoPredecessor()124 OnlyPred->setName(OldName); in FoldBlockIntoPredecessor()
2499 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() local2501 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()[all …]
1748 Init *OldName = getNameInit(); in resolveReferencesTo() local1750 if (NewName != OldName) { in resolveReferencesTo()