Lines Matching defs:OldPrefix
511 /// Parse the thinlto_prefix_replace option into the \p OldPrefix and
513 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix,
519 OldPrefix = Split.first.str();
524 /// prefix matching \p OldPrefix with \p NewPrefix. Also, create the
526 static std::string getThinLTOOutputFile(StringRef Path, StringRef OldPrefix,
528 if (OldPrefix.empty() && NewPrefix.empty())
531 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix);
682 std::string OldPrefix, NewPrefix;
683 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix);
703 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix);
720 std::string OldPrefix, NewPrefix;
721 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix);
734 getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix);