Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp70 std::string OldName = Name.str(); in promoteInternals() local
86 if (isa<Function>(&ExportGV) && allowPromotionAlias(OldName)) { in promoteInternals()
90 ".lto_set_conditional " + OldName + "," + NewName + "\n"; in promoteInternals()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DSROA.cpp2673 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() local
2675 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 …]
/openbsd/src/gnu/llvm/llvm/lib/TableGen/
DRecord.cpp2593 Init *OldName = getNameInit(); in resolveReferences() local
2595 if (NewName != OldName) { in resolveReferences()