Searched refs:OldPrefix (Results 1 – 8 of 8) sorted by relevance
/external/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 311 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument 317 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix() 325 const std::string &OldPrefix, in getThinLTOOutputFile() argument 327 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile() 330 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile() 467 std::string OldPrefix, NewPrefix; in distributedIndexes() local 468 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in distributedIndexes() 482 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes() 499 std::string OldPrefix, NewPrefix; in emitImports() local 500 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in emitImports() [all …]
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 1274 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument 1279 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix() 1287 const std::string &OldPrefix, in getThinLTOOutputFile() argument 1289 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile() 1292 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile() 1409 std::string OldPrefix, NewPrefix; in thinLTOLink() local 1410 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in thinLTOLink() 1419 getThinLTOOutputFile(F.name, OldPrefix, NewPrefix); in thinLTOLink()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Path.cpp | 526 const StringRef &OldPrefix, in replace_path_prefix() argument 528 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix() 532 if (!OrigPath.startswith(OldPrefix)) in replace_path_prefix() 536 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix() 541 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
|
/external/llvm/lib/Support/ |
D | Path.cpp | 526 const StringRef &OldPrefix, in replace_path_prefix() argument 528 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix() 532 if (!OrigPath.startswith(OldPrefix)) in replace_path_prefix() 536 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix() 541 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Path.h | 159 const StringRef &OldPrefix,
|
/external/llvm/include/llvm/Support/ |
D | Path.h | 159 const StringRef &OldPrefix,
|
/external/llvm/unittests/Support/ |
D | Path.cpp | 977 SmallString<64> OldPrefix("/old"); in TEST() local 983 path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST() 986 path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST() 989 path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST() 995 path::replace_path_prefix(Path, OldPrefix, EmptyPrefix); in TEST()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 1497 StringRef OldPrefix = "llvm.vectorizer."; in upgradeLoopTag() local 1498 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag() 1504 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()
|