Home
last modified time | relevance | path

Searched refs:OldPrefix (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/tools/gold/
H A Dgold-plugin.cpp865 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument
870 OldPrefix = std::string(Split.first); in getThinLTOOldAndNewPrefix()
907 std::string OldPrefix, NewPrefix; in createLTO() local
908 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in createLTO()
909 Backend = createWriteIndexesThinBackend(OldPrefix, NewPrefix, in createLTO()
992 const std::string &OldPrefix, in writeEmptyDistributedBuildOutputs() argument
996 getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix); in writeEmptyDistributedBuildOutputs()
1054 std::string OldPrefix, NewPrefix; in runLTO() local
1056 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in runLTO()
1076 writeEmptyDistributedBuildOutputs(Identifier, OldPrefix, NewPrefix, in runLTO()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp506 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument
512 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix()
520 const std::string &OldPrefix, in getThinLTOOutputFile() argument
522 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
525 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
676 std::string OldPrefix, NewPrefix; in distributedIndexes() local
677 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in distributedIndexes()
696 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes()
713 std::string OldPrefix, NewPrefix; in emitImports() local
714 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in emitImports()
[all …]
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTO.cpp1364 const std::string &OldPrefix, in getThinLTOOutputFile() argument
1366 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
1369 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
1382 std::string OldPrefix, NewPrefix; member in __anon5d5e48ed1011::WriteIndexesThinBackend
1389 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in WriteIndexesThinBackend() argument
1393 OldPrefix(OldPrefix), NewPrefix(NewPrefix), in WriteIndexesThinBackend()
1404 getThinLTOOutputFile(std::string(ModulePath), OldPrefix, NewPrefix); in start()
1426 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in createWriteIndexesThinBackend() argument
1432 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix, NewPrefix, in createWriteIndexesThinBackend()
/llvm-project-15.0.7/llvm/include/llvm/LTO/
H A DLTO.h82 const std::string &OldPrefix,
225 ThinBackend createWriteIndexesThinBackend(std::string OldPrefix,
/llvm-project-15.0.7/llvm/unittests/Support/
H A DPath.cpp1601 SmallString<64> OldPrefix("/old"); in TEST() local
1610 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1614 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1618 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST()
1626 Found = path::replace_path_prefix(Path, OldPrefix, EmptyPrefix); in TEST()
1634 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1638 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST()
1645 Path = OldPrefix; in TEST()
1646 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1650 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp518 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix, in replace_path_prefix() argument
520 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix()
524 if (!starts_with(OrigPath, OldPrefix, style)) in replace_path_prefix()
528 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix()
533 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DPath.h194 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix,
/llvm-project-15.0.7/llvm/lib/IR/
H A DAutoUpgrade.cpp4585 StringRef OldPrefix = "llvm.vectorizer."; in upgradeLoopTag() local
4586 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
4592 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()