Home
last modified time | relevance | path

Searched refs:OldPrefix (Results 1 – 8 of 8) 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/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-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/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/include/llvm/Support/
DPath.h159 const StringRef &OldPrefix,
/external/llvm/include/llvm/Support/
DPath.h159 const StringRef &OldPrefix,
/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/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()