Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp311 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument
317 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix()
325 const std::string &OldPrefix, in getThinLTOOutputFile() argument
327 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
330 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
467 std::string OldPrefix, NewPrefix; in distributedIndexes() local
468 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in distributedIndexes()
482 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes()
499 std::string OldPrefix, NewPrefix; in emitImports() local
500 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in emitImports()
[all …]
/external/llvm-project/llvm/tools/llvm-lto/
Dllvm-lto.cpp465 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument
471 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix()
479 const std::string &OldPrefix, in getThinLTOOutputFile() argument
481 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
484 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
634 std::string OldPrefix, NewPrefix; in distributedIndexes() local
635 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in distributedIndexes()
654 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes()
671 std::string OldPrefix, NewPrefix; in emitImports() local
672 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in emitImports()
[all …]
/external/llvm-project/llvm/tools/gold/
Dgold-plugin.cpp845 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument
850 OldPrefix = std::string(Split.first); in getThinLTOOldAndNewPrefix()
887 std::string OldPrefix, NewPrefix; in createLTO() local
888 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in createLTO()
889 Backend = createWriteIndexesThinBackend(OldPrefix, NewPrefix, in createLTO()
969 const std::string &OldPrefix, in writeEmptyDistributedBuildOutputs() argument
973 getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix); in writeEmptyDistributedBuildOutputs()
1031 std::string OldPrefix, NewPrefix; in runLTO() local
1033 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in runLTO()
1053 writeEmptyDistributedBuildOutputs(Identifier, OldPrefix, NewPrefix, in runLTO()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTO.cpp1176 const std::string &OldPrefix, in getThinLTOOutputFile() argument
1178 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
1181 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
1194 std::string OldPrefix, NewPrefix; member in __anonddb04b480f11::WriteIndexesThinBackend
1203 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in WriteIndexesThinBackend() argument
1206 OldPrefix(OldPrefix), NewPrefix(NewPrefix), in WriteIndexesThinBackend()
1218 getThinLTOOutputFile(ModulePath, OldPrefix, NewPrefix); in start()
1251 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in createWriteIndexesThinBackend() argument
1257 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix, NewPrefix, in createWriteIndexesThinBackend()
/external/llvm-project/llvm/lib/LTO/
DLTO.cpp1247 const std::string &OldPrefix, in getThinLTOOutputFile() argument
1249 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
1252 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
1265 std::string OldPrefix, NewPrefix; member in __anon40cd02541011::WriteIndexesThinBackend
1274 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in WriteIndexesThinBackend() argument
1277 OldPrefix(OldPrefix), NewPrefix(NewPrefix), in WriteIndexesThinBackend()
1289 getThinLTOOutputFile(std::string(ModulePath), OldPrefix, NewPrefix); in start()
1326 std::string OldPrefix, std::string NewPrefix, bool ShouldEmitImportsFiles, in createWriteIndexesThinBackend() argument
1332 Conf, CombinedIndex, ModuleToDefinedGVSummaries, OldPrefix, NewPrefix, in createWriteIndexesThinBackend()
/external/llvm/tools/gold/
Dgold-plugin.cpp1274 static void getThinLTOOldAndNewPrefix(std::string &OldPrefix, in getThinLTOOldAndNewPrefix() argument
1279 OldPrefix = Split.first.str(); in getThinLTOOldAndNewPrefix()
1287 const std::string &OldPrefix, in getThinLTOOutputFile() argument
1289 if (OldPrefix.empty() && NewPrefix.empty()) in getThinLTOOutputFile()
1292 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
1409 std::string OldPrefix, NewPrefix; in thinLTOLink() local
1410 getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix); in thinLTOLink()
1419 getThinLTOOutputFile(F.name, OldPrefix, NewPrefix); in thinLTOLink()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DPath.cpp500 const StringRef &OldPrefix, const StringRef &NewPrefix, in replace_path_prefix() argument
502 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix()
508 if (!strict && OldPrefix.size() > OrigPath.size()) in replace_path_prefix()
512 if (!OldPrefix.empty() && is_separator(OldPrefix.back())) in replace_path_prefix()
513 OldPrefixDir = parent_path(OldPrefix, style); in replace_path_prefix()
515 OldPrefixDir = OldPrefix; in replace_path_prefix()
/external/llvm-project/llvm/include/llvm/LTO/
DLTO.h81 const std::string &OldPrefix,
247 ThinBackend createWriteIndexesThinBackend(std::string OldPrefix,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DLTO.h85 const std::string &OldPrefix,
246 ThinBackend createWriteIndexesThinBackend(std::string OldPrefix,
/external/llvm/lib/Support/
DPath.cpp526 const StringRef &OldPrefix, in replace_path_prefix() argument
528 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix()
532 if (!OrigPath.startswith(OldPrefix)) in replace_path_prefix()
536 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix()
541 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp526 const StringRef &OldPrefix, in replace_path_prefix() argument
528 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix()
532 if (!OrigPath.startswith(OldPrefix)) in replace_path_prefix()
536 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix()
541 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
/external/llvm/include/llvm/Support/
DPath.h159 const StringRef &OldPrefix,
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPath.h159 const StringRef &OldPrefix,
/external/llvm-project/llvm/unittests/Support/
DPath.cpp1482 SmallString<64> OldPrefix("/old"); in TEST() local
1491 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1495 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1499 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST()
1507 Found = path::replace_path_prefix(Path, OldPrefix, EmptyPrefix); in TEST()
1515 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1519 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST()
1526 Path = OldPrefix; in TEST()
1527 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1531 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
[all …]
/external/llvm/unittests/Support/
DPath.cpp977 SmallString<64> OldPrefix("/old"); in TEST() local
983 path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
986 path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
989 path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST()
995 path::replace_path_prefix(Path, OldPrefix, EmptyPrefix); in TEST()
/external/llvm-project/llvm/lib/Support/
DPath.cpp516 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix, in replace_path_prefix() argument
518 if (OldPrefix.empty() && NewPrefix.empty()) in replace_path_prefix()
522 if (!starts_with(OrigPath, OldPrefix, style)) in replace_path_prefix()
526 if (OldPrefix.size() == NewPrefix.size()) { in replace_path_prefix()
531 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPath.h180 const StringRef &OldPrefix, const StringRef &NewPrefix,
/external/llvm-project/llvm/include/llvm/Support/
DPath.h173 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix,
/external/llvm/lib/IR/
DAutoUpgrade.cpp1497 StringRef OldPrefix = "llvm.vectorizer."; in upgradeLoopTag() local
1498 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
1504 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp4111 StringRef OldPrefix = "llvm.vectorizer."; in upgradeLoopTag() local
4112 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
4118 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()
/external/llvm-project/llvm/lib/IR/
DAutoUpgrade.cpp4333 StringRef OldPrefix = "llvm.vectorizer."; in upgradeLoopTag() local
4334 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
4340 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()