| /llvm-project-15.0.7/llvm/tools/gold/ |
| H A D | gold-plugin.cpp | 866 std::string &NewPrefix) { in getThinLTOOldAndNewPrefix() argument 871 NewPrefix = std::string(Split.second); in getThinLTOOldAndNewPrefix() 907 std::string OldPrefix, NewPrefix; in createLTO() local 908 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in createLTO() 909 Backend = createWriteIndexesThinBackend(OldPrefix, NewPrefix, in createLTO() 993 const std::string &NewPrefix, 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 D | llvm-lto.cpp | 507 std::string &NewPrefix) { in getThinLTOOldAndNewPrefix() argument 513 NewPrefix = Split.second.str(); in getThinLTOOldAndNewPrefix() 521 const std::string &NewPrefix) { 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/utils/TableGen/ |
| H A D | OptParserEmitter.cpp | 233 unsigned NewPrefix = CurPrefix + 1; in EmitOptParser() local 234 std::string Prefix = (Twine("prefix_") + Twine(NewPrefix)).str(); in EmitOptParser() 236 CurPrefix = NewPrefix; in EmitOptParser()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTO.cpp | 1365 const std::string &NewPrefix) { 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 D | LTO.h | 83 const std::string &NewPrefix); 226 std::string NewPrefix,
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Path.cpp | 1604 SmallString<64> NewPrefix("/new"); 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() 1622 Found = path::replace_path_prefix(Path, EmptyPrefix, NewPrefix); in TEST() 1634 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST() 1642 Found = path::replace_path_prefix(Path, EmptyPrefix, NewPrefix); in TEST() 1646 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST() 1650 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST() 1654 Found = path::replace_path_prefix(Path, OldPrefixSep, NewPrefix); in TEST() 1658 Found = path::replace_path_prefix(Path, OldPrefixWin, NewPrefix, in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Path.cpp | 519 StringRef NewPrefix, Style style) { in replace_path_prefix() argument 520 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix() 528 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix() 529 llvm::copy(NewPrefix, Path.begin()); in replace_path_prefix() 535 (Twine(NewPrefix) + RelPath).toVector(NewPath); in replace_path_prefix()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Path.h | 195 StringRef NewPrefix,
|