Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp107 StringRef OldName = BB->getName(); in FoldBlockIntoPredecessor() local
123 if (!OldName.empty() && !OnlyPred->hasName()) in FoldBlockIntoPredecessor()
124 OnlyPred->setName(OldName); in FoldBlockIntoPredecessor()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2499 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()
[all …]
/external/llvm/lib/TableGen/
DRecord.cpp1748 Init *OldName = getNameInit(); in resolveReferencesTo() local
1750 if (NewName != OldName) { in resolveReferencesTo()