Searched refs:OldPrefix (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp457 /// Parse the thinlto_prefix_replace option into the \p OldPrefix and
459 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, argument
465 OldPrefix = Split.first.str();
470 /// prefix matching \p OldPrefix with \p NewPrefix. Also, create the
473 const std::string &OldPrefix,
475 if (OldPrefix.empty() && NewPrefix.empty())
478 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix);
628 std::string OldPrefix, NewPrefix; local
629 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix);
648 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefi
472 getThinLTOOutputFile(const std::string &Path, const std::string &OldPrefix, const std::string &NewPrefix) argument
665 std::string OldPrefix, NewPrefix; local
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/gold/
H A Dgold-plugin.cpp851 /// Parse the thinlto_prefix_replace option into the \p OldPrefix and
853 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix,
858 OldPrefix = std::string(Split.first);
895 std::string OldPrefix, NewPrefix;
896 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix);
897 Backend = createWriteIndexesThinBackend(OldPrefix, NewPrefix,
980 const std::string &OldPrefix,
984 getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix);
1042 std::string OldPrefix, NewPrefix;
1044 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefi
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/LTO/
H A DLTO.h78 /// prefix matching \p OldPrefix with \p NewPrefix. Also, create the
81 const std::string &OldPrefix,
238 /// prefix of OldPrefix; if so, it replaces that prefix with NewPrefix. It then
247 ThinBackend createWriteIndexesThinBackend(std::string OldPrefix,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/LTO/
H A DLTO.cpp1306 // prefix matching \p OldPrefix with \p NewPrefix. Also, create the
1309 const std::string &OldPrefix,
1311 if (OldPrefix.empty() && NewPrefix.empty())
1314 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix);
1327 std::string OldPrefix, NewPrefix;
1336 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles,
1339 OldPrefix(OldPrefix), NewPrefix(NewPrefix),
1351 getThinLTOOutputFile(std::string(ModulePath), OldPrefix, NewPrefix);
1388 std::string OldPrefix, st
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DPath.h166 /// @param Path If \a Path starts with \a OldPrefix modify to instead
168 /// @param OldPrefix The path prefix to strip from \a Path.
172 /// @result true if \a Path begins with OldPrefix
173 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DPath.cpp516 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix,
518 if (OldPrefix.empty() && NewPrefix.empty())
522 if (!starts_with(OrigPath, OldPrefix, style))
526 if (OldPrefix.size() == NewPrefix.size()) {
531 StringRef RelPath = OrigPath.substr(OldPrefix.size());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DAutoUpgrade.cpp4400 StringRef OldPrefix = "llvm.vectorizer."; local
4401 assert(OldTag.startswith(OldPrefix) && "Expected old prefix");
4407 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size()))

Completed in 2014 milliseconds