Searched refs:CacheDir (Results 1 – 5 of 5) sorted by relevance
251 LLIObjectCache(const std::string& CacheDir) : CacheDir(CacheDir) { in LLIObjectCache() argument253 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 LLIObjectCache308 CacheName = CacheDir + CacheSubdir; in getCacheFilename()
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
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
326 SmallString<13> CacheDir; in TEST() local328 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()
228 env.CacheDir(os.environ['SCONS_CACHE_DIR'])