Home
last modified time | relevance | path

Searched refs:CacheDir (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/lli/
H A Dlli.cpp310 LLIObjectCache(const std::string& CacheDir) : CacheDir(CacheDir) { in LLIObjectCache() argument
312 if (!this->CacheDir.empty() && in LLIObjectCache()
313 this->CacheDir[this->CacheDir.size() - 1] != '/') in LLIObjectCache()
314 this->CacheDir += '/'; in LLIObjectCache()
323 if (!CacheDir.empty()) { // Create user-defined cache dir. in notifyObjectCompiled()
354 std::string CacheDir; member in LLIObjectCache
370 CacheName = CacheDir + CacheSubdir; in getCacheFilename()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp676 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
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp695 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
/openbsd-src/gnu/llvm/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp56 static cl::opt<std::string> CacheDir("cache-dir", cl::desc("Cache Directory"), variable
419 if (!CacheDir.empty()) in run()
420 Cache = check(localCache("ThinLTO", "Thin", CacheDir, AddBuffer), in run()
/openbsd-src/gnu/llvm/llvm/lib/Debuginfod/
H A DDebuginfod.cpp126 SmallString<10> CacheDir; in getCachedOrDownloadArtifact() local
131 CacheDir = *CacheDirOrErr; in getCachedOrDownloadArtifact()
133 return getCachedOrDownloadArtifact(UniqueKey, UrlPath, CacheDir, in getCachedOrDownloadArtifact()