Searched refs:CacheDir (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/Debuginfod/ |
| H A D | DebuginfodTests.cpp | 38 StringRef CacheDir = sys::path::parent_path(CachedFilePath); in TEST() local 43 OF << CacheDir << "\n"; in TEST() 46 UniqueKey, /*UrlPath=*/"/null", CacheDir, in TEST() 54 SmallString<32> CacheDir; in TEST() local 56 sys::fs::createUniqueDirectory("debuginfod-unittest", CacheDir)); in TEST() 57 sys::path::append(CacheDir, "cachedir"); in TEST() 58 ASSERT_FALSE(sys::fs::exists(CacheDir)); in TEST() 59 setenv("DEBUGINFOD_CACHE_PATH", CacheDir.c_str(), in TEST() 68 EXPECT_FALSE(sys::fs::exists(CacheDir)); in TEST()
|
| /llvm-project-15.0.7/llvm/tools/lli/ |
| H A D | lli.cpp | 309 LLIObjectCache(const std::string& CacheDir) : CacheDir(CacheDir) { in LLIObjectCache() argument 311 if (!this->CacheDir.empty() && in LLIObjectCache() 312 this->CacheDir[this->CacheDir.size() - 1] != '/') in LLIObjectCache() 313 this->CacheDir += '/'; in LLIObjectCache() 322 if (!CacheDir.empty()) { // Create user-defined cache dir. in notifyObjectCompiled() 353 std::string CacheDir; member in LLIObjectCache 369 CacheName = CacheDir + CacheSubdir; in getCacheFilename()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy.cpp | 676 sys::fs::current_path(CacheDir); in MCJITObjectCache() 677 sys::path::append(CacheDir, "toy_object_cache"); in MCJITObjectCache() 690 SmallString<128>IRCacheFile = CacheDir; in notifyObjectCompiled() 692 if (!sys::fs::exists(CacheDir.str()) && sys::fs::create_directory(CacheDir.str())) { in notifyObjectCompiled() 712 SmallString<128> IRCacheFile = CacheDir; in getObject() 731 SmallString<128> CacheDir; member in MCJITObjectCache
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 695 sys::fs::current_path(CacheDir); in MCJITObjectCache() 696 sys::path::append(CacheDir, "toy_object_cache"); in MCJITObjectCache() 709 SmallString<128>IRCacheFile = CacheDir; in notifyObjectCompiled() 711 if (!sys::fs::exists(CacheDir.str()) && sys::fs::create_directory(CacheDir.str())) { in notifyObjectCompiled() 731 SmallString<128> IRCacheFile = CacheDir; in getObject() 750 SmallString<128> CacheDir; member in MCJITObjectCache
|
| /llvm-project-15.0.7/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 57 static cl::opt<std::string> CacheDir("cache-dir", cl::desc("Cache Directory"), variable 428 if (!CacheDir.empty()) in run() 429 Cache = check(localCache("ThinLTO", "Thin", CacheDir, AddBuffer), in run()
|
| /llvm-project-15.0.7/llvm/lib/Debuginfod/ |
| H A D | Debuginfod.cpp | 117 SmallString<10> CacheDir; in getCachedOrDownloadArtifact() local 122 CacheDir = *CacheDirOrErr; in getCachedOrDownloadArtifact() 129 return getCachedOrDownloadArtifact(UniqueKey, UrlPath, CacheDir, in getCachedOrDownloadArtifact()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Path.cpp | 525 SmallString<128> CacheDir; in TEST() local 527 EXPECT_EQ(Fallback, CacheDir); in TEST() 533 SmallString<128> CacheDir; in TEST() local 534 EXPECT_TRUE(path::cache_directory(CacheDir)); in TEST() 535 EXPECT_EQ("/xdg/cache", CacheDir); in TEST() 545 SmallString<128> CacheDir; in TEST() local 547 EXPECT_EQ(Fallback, CacheDir); in TEST() 569 SmallString<128> CacheDir; in TEST() local 571 EXPECT_EQ(Expected, CacheDir); in TEST() 579 SmallString<128> CacheDir; in TEST() local [all …]
|