Home
last modified time | relevance | path

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

/external/llvm/tools/lli/
Dlli.cpp251 LLIObjectCache(const std::string& CacheDir) : CacheDir(CacheDir) { in LLIObjectCache() argument
253 if (!this->CacheDir.empty() && in LLIObjectCache()
254 this->CacheDir[this->CacheDir.size() - 1] != '/') in LLIObjectCache()
255 this->CacheDir += '/'; in LLIObjectCache()
264 if (!CacheDir.empty()) { // Create user-defined cache dir. in notifyObjectCompiled()
293 std::string CacheDir; member in LLIObjectCache
308 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/llvm/unittests/Support/
DPath.cpp326 SmallString<13> CacheDir; in TEST() local
328 auto Status = path::user_cache_directory(CacheDir, ""); in TEST()
329 EXPECT_TRUE(Status ^ CacheDir.empty()); in TEST()
333 EXPECT_EQ(CacheDir, CacheDir2); // and return same paths in TEST()
335 EXPECT_TRUE(path::user_cache_directory(CacheDir, "A", "B", "file.c")); in TEST()
336 auto It = path::rbegin(CacheDir); in TEST()
/external/mesa3d/scons/
Dgallium.py228 env.CacheDir(os.environ['SCONS_CACHE_DIR'])