Home
last modified time | relevance | path

Searched refs:OldName (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp68 std::string OldName = Name.str(); in promoteInternals() local
84 if (isa<Function>(&ExportGV) && allowPromotionAlias(OldName)) { in promoteInternals()
88 ".lto_set_conditional " + OldName + "," + NewName + "\n"; in promoteInternals()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2856 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() local
2858 size_t LastSROAPrefix = OldName.rfind(".sroa."); in getNewAllocaSlicePtr()
2860 OldName = OldName.substr(LastSROAPrefix + strlen(".sroa.")); in getNewAllocaSlicePtr()
2862 size_t IndexEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2863 if (IndexEnd != StringRef::npos && OldName[IndexEnd] == '.') { in getNewAllocaSlicePtr()
2865 OldName = OldName.substr(IndexEnd + 1); in getNewAllocaSlicePtr()
2866 size_t OffsetEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2867 if (OffsetEnd != StringRef::npos && OldName[OffsetEnd] == '.') in getNewAllocaSlicePtr()
2869 OldName = OldName.substr(OffsetEnd + 1); in getNewAllocaSlicePtr()
2873 OldName = OldName.substr(0, OldName.find(".sroa_")); in getNewAllocaSlicePtr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp2937 const Init *OldName = getNameInit(); in resolveReferences() local
2939 if (NewName != OldName) { in resolveReferences()