Searched refs:OldName (Results 1 – 3 of 3) sorted by relevance
70 std::string OldName = Name.str(); in promoteInternals() local86 if (isa<Function>(&ExportGV) && allowPromotionAlias(OldName)) { in promoteInternals()90 ".lto_set_conditional " + OldName + "," + NewName + "\n"; in promoteInternals()
2673 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() local2675 size_t LastSROAPrefix = OldName.rfind(".sroa."); in getNewAllocaSlicePtr()2677 OldName = OldName.substr(LastSROAPrefix + strlen(".sroa.")); in getNewAllocaSlicePtr()2679 size_t IndexEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()2680 if (IndexEnd != StringRef::npos && OldName[IndexEnd] == '.') { in getNewAllocaSlicePtr()2682 OldName = OldName.substr(IndexEnd + 1); in getNewAllocaSlicePtr()2683 size_t OffsetEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()2684 if (OffsetEnd != StringRef::npos && OldName[OffsetEnd] == '.') in getNewAllocaSlicePtr()2686 OldName = OldName.substr(OffsetEnd + 1); in getNewAllocaSlicePtr()2690 OldName = OldName.substr(0, OldName.find(".sroa_")); in getNewAllocaSlicePtr()[all …]
2593 Init *OldName = getNameInit(); in resolveReferences() local2595 if (NewName != OldName) { in resolveReferences()