Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp513 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument
519 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix()
526 static std::string getThinLTOOutputFile(StringRef Path, StringRef OldPrefix, in getThinLTOOutputFile() argument
528 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
531 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
682 std::string OldPrefix, NewPrefix; in distributedIndexes() local
683 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in distributedIndexes()
703 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes()
720 std::string OldPrefix, NewPrefix; in emitImports() local
721 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in emitImports()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp1595 std::string lto::getThinLTOOutputFile(StringRef Path, StringRef OldPrefix, in getThinLTOOutputFile() argument
1597 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
1600 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
1613 std::string OldPrefix, NewPrefix, NativeObjectPrefix; member in __anona29527bd1511::WriteIndexesThinBackend
1620 std::string OldPrefix, std::string NewPrefix, in WriteIndexesThinBackend() argument
1625 OldPrefix(OldPrefix), NewPrefix(NewPrefix), in WriteIndexesThinBackend()
1637 getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix); in start()
1643 getThinLTOOutputFile(ModulePath, OldPrefix, ObjectPrefix); in start()
1664 std::string OldPrefix, std::string NewPrefix, in createWriteIndexesThinBackend() argument
1672 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix, in createWriteIndexesThinBackend()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h83 std::string getThinLTOOutputFile(StringRef Path, StringRef OldPrefix,
233 ThinBackend createWriteIndexesThinBackend(std::string OldPrefix,
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp519 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix, in replace_path_prefix() argument
521 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix()
525 if (!starts_with(OrigPath, OldPrefix, style)) in replace_path_prefix()
529 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix()
534 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPath.h194 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp5294 StringRef OldPrefix = "llvm.vectorizer."; in upgradeLoopTag() local
5295 assert(OldTag.starts_with(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
5301 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()