Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceMangling.cpp38 void incrementSubstitutions(ManglerVector &OldName) { in incrementSubstitutions() argument
41 ManglerVector NewName(OldName.size() * 2); in incrementSubstitutions()
44 const size_t OldLen = OldName.size(); in incrementSubstitutions()
46 if (OldName[OldPos] == '\0') in incrementSubstitutions()
48 if (OldName[OldPos] == 'S') { in incrementSubstitutions()
54 char Ch = OldName[Last]; in incrementSubstitutions()
67 NewName[NewPos++] = OldName[OldPos++]; // 'S' in incrementSubstitutions()
71 assert(OldName[OldPos - 1] == 'S'); in incrementSubstitutions()
72 assert(OldName[OldPos + Length] == '_'); in incrementSubstitutions()
85 char Ch = OldName[OldPos + Offset]; in incrementSubstitutions()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopUnroll.cpp93 std::string OldName = BB->getName(); in FoldBlockIntoPredecessor() local
106 if (!OldName.empty() && !OnlyPred->hasName()) in FoldBlockIntoPredecessor()
107 OnlyPred->setName(OldName); in FoldBlockIntoPredecessor()
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp114 StringRef OldName = BB->getName(); in foldBlockIntoPredecessor() local
137 if (!OldName.empty() && !OnlyPred->hasName()) in foldBlockIntoPredecessor()
138 OnlyPred->setName(OldName); in foldBlockIntoPredecessor()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2279 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() local
2281 size_t LastSROAPrefix = OldName.rfind(".sroa."); in getNewAllocaSlicePtr()
2283 OldName = OldName.substr(LastSROAPrefix + strlen(".sroa.")); in getNewAllocaSlicePtr()
2285 size_t IndexEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2286 if (IndexEnd != StringRef::npos && OldName[IndexEnd] == '.') { in getNewAllocaSlicePtr()
2288 OldName = OldName.substr(IndexEnd + 1); in getNewAllocaSlicePtr()
2289 size_t OffsetEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2290 if (OffsetEnd != StringRef::npos && OldName[OffsetEnd] == '.') in getNewAllocaSlicePtr()
2292 OldName = OldName.substr(OffsetEnd + 1); in getNewAllocaSlicePtr()
2296 OldName = OldName.substr(0, OldName.find(".sroa_")); in getNewAllocaSlicePtr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2359 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() local
2361 size_t LastSROAPrefix = OldName.rfind(".sroa."); in getNewAllocaSlicePtr()
2363 OldName = OldName.substr(LastSROAPrefix + strlen(".sroa.")); in getNewAllocaSlicePtr()
2365 size_t IndexEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2366 if (IndexEnd != StringRef::npos && OldName[IndexEnd] == '.') { in getNewAllocaSlicePtr()
2368 OldName = OldName.substr(IndexEnd + 1); in getNewAllocaSlicePtr()
2369 size_t OffsetEnd = OldName.find_first_not_of("0123456789"); in getNewAllocaSlicePtr()
2370 if (OffsetEnd != StringRef::npos && OldName[OffsetEnd] == '.') in getNewAllocaSlicePtr()
2372 OldName = OldName.substr(OffsetEnd + 1); in getNewAllocaSlicePtr()
2376 OldName = OldName.substr(0, OldName.find(".sroa_")); in getNewAllocaSlicePtr()
[all …]
/external/lzma/CPP/7zip/UI/Common/
DUpdate.cpp462 return !DoesNameContainWildcard(OldName); in Prepare()
487 unsigned num = CompareTwoNames(OldName, src); in GetNewPath()
488 if (OldName[num] == 0) in GetNewPath()
501 || !IsPathSepar(OldName[num]) in GetNewPath()
502 || OldName[num + 1] != 0) in GetNewPath()
DUpdate.h71 UString OldName; member
DArchiveCommandLine.cpp388 pair.OldName = oldName; in AddRenamePair()
396 val += pair.OldName; in AddRenamePair()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp133 StringRef OldName = BB->getName(); in foldBlockIntoPredecessor() local
149 if (!OldName.empty() && !OnlyPred->hasName()) in foldBlockIntoPredecessor()
150 OnlyPred->setName(OldName); in foldBlockIntoPredecessor()
/external/spirv-llvm/lib/SPIRV/
DSPIRVUtil.cpp1220 getSPIRVTypeByChangeBaseTypeName(Module *M, Type *T, StringRef OldName, in getSPIRVTypeByChangeBaseTypeName() argument
1223 if (isSPIRVType(T, OldName, &Postfixes)) in getSPIRVTypeByChangeBaseTypeName()
DOCL20ToSPIRV.cpp311 auto OldName = DemangledName; in transVecLoadStoreName() local
313 if (OldName.find("_r") != std::string::npos) in transVecLoadStoreName()
DSPIRVInternal.h824 getSPIRVTypeByChangeBaseTypeName(Module *M, Type *T, StringRef OldName,
/external/llvm/lib/TableGen/
DRecord.cpp1686 Init *OldName = getNameInit(); in resolveReferencesTo() local
1688 if (NewName != OldName) { in resolveReferencesTo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DRecord.cpp1914 Init *OldName = getNameInit(); in resolveReferences() local
1916 if (NewName != OldName) { in resolveReferences()