Home
last modified time | relevance | path

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

/external/llvm/tools/lli/
Dlli.cpp248 LLIObjectCache(const std::string& CacheDir) : CacheDir(CacheDir) { in LLIObjectCache() argument
250 if (!this->CacheDir.empty() && in LLIObjectCache()
251 this->CacheDir[this->CacheDir.size() - 1] != '/') in LLIObjectCache()
252 this->CacheDir += '/'; in LLIObjectCache()
261 if (!CacheDir.empty()) { // Create user-defined cache dir. in notifyObjectCompiled()
290 std::string CacheDir; member in LLIObjectCache
305 CacheName = CacheDir + CacheSubdir; in getCacheFilename()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lli/
Dlli.cpp218 LLIObjectCache(const std::string& CacheDir) : CacheDir(CacheDir) { in LLIObjectCache() argument
220 if (!this->CacheDir.empty() && in LLIObjectCache()
221 this->CacheDir[this->CacheDir.size() - 1] != '/') in LLIObjectCache()
222 this->CacheDir += '/'; in LLIObjectCache()
231 if (!CacheDir.empty()) { // Create user-defined cache dir. in notifyObjectCompiled()
260 std::string CacheDir; member in LLIObjectCache
275 CacheName = CacheDir + CacheSubdir; in getCacheFilename()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
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
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
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
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/complete/
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
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/cached/
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
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto2/
Dllvm-lto2.cpp49 static cl::opt<std::string> CacheDir("cache-dir", cl::desc("Cache Directory"), variable
313 if (!CacheDir.empty()) in run()
314 Cache = check(localCache(CacheDir, AddBuffer), "failed to create cache"); in run()
/external/llvm/unittests/Support/
DPath.cpp327 SmallString<13> CacheDir; in TEST() local
329 auto Status = path::user_cache_directory(CacheDir, ""); in TEST()
330 EXPECT_TRUE(Status ^ CacheDir.empty()); in TEST()
334 EXPECT_EQ(CacheDir, CacheDir2); // and return same paths in TEST()
336 EXPECT_TRUE(path::user_cache_directory(CacheDir, "A", "B", "file.c")); in TEST()
337 auto It = path::rbegin(CacheDir); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp351 SmallString<13> CacheDir; in TEST() local
353 auto Status = path::user_cache_directory(CacheDir, ""); in TEST()
354 EXPECT_TRUE(Status ^ CacheDir.empty()); in TEST()
358 EXPECT_EQ(CacheDir, CacheDir2); // and return same paths in TEST()
360 EXPECT_TRUE(path::user_cache_directory(CacheDir, "A", "B", "file.c")); in TEST()
361 auto It = path::rbegin(CacheDir); in TEST()
/external/mesa3d/scons/
Dgallium.py304 env.CacheDir(os.environ['SCONS_CACHE_DIR'])