/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 396 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument 402 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix() 410 const std::string &OldPrefix, in getThinLTOOutputFile() argument 412 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile() 415 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile() 555 std::string OldPrefix, NewPrefix; in distributedIndexes() local 556 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in distributedIndexes() 570 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes() 587 std::string OldPrefix, NewPrefix; in emitImports() local 588 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in emitImports() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/gold/ |
D | gold-plugin.cpp | 816 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument 820 std::tie(OldPrefix, NewPrefix) = PrefixReplace.split(';'); in getThinLTOOldAndNewPrefix() 852 std::string OldPrefix, NewPrefix; in createLTO() local 853 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in createLTO() 854 Backend = createWriteIndexesThinBackend(OldPrefix, NewPrefix, in createLTO() 919 const std::string &OldPrefix, in writeEmptyDistributedBuildOutputs() argument 923 getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix); in writeEmptyDistributedBuildOutputs() 981 std::string OldPrefix, NewPrefix; in runLTO() local 983 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in runLTO() 1003 writeEmptyDistributedBuildOutputs(Identifier, OldPrefix, NewPrefix, in runLTO() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTO.cpp | 1049 const std::string &OldPrefix, in getThinLTOOutputFile() argument 1051 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile() 1054 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile() 1067 std::string OldPrefix, NewPrefix; member in __anon8ca600a00f11::WriteIndexesThinBackend 1076 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in WriteIndexesThinBackend() argument 1079 OldPrefix(OldPrefix), NewPrefix(NewPrefix), in WriteIndexesThinBackend() 1091 getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix); in start() 1124 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in createWriteIndexesThinBackend() argument 1130 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix, NewPrefix, in createWriteIndexesThinBackend()
|
/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-7.0/llvm/include/llvm/LTO/ |
D | LTO.h | 69 const std::string &OldPrefix, 217 ThinBackend createWriteIndexesThinBackend(std::string OldPrefix,
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Path.cpp | 516 const StringRef &OldPrefix, const StringRef &NewPrefix, in replace_path_prefix() argument 518 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix() 522 if (!OrigPath.startswith(OldPrefix)) in replace_path_prefix() 526 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix() 531 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Path.h | 164 const StringRef &OldPrefix, const StringRef &NewPrefix,
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | Path.cpp | 1207 SmallString<64> OldPrefix("/old"); in TEST() local 1213 path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST() 1216 path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST() 1219 path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST() 1225 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 3674 StringRef OldPrefix = "llvm.vectorizer."; in upgradeLoopTag() local 3675 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag() 3681 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()
|