Lines Matching refs:CacheName
258 std::string CacheName; in notifyObjectCompiled() local
259 if (!getCacheFilename(ModuleID, CacheName)) in notifyObjectCompiled()
262 SmallString<128> dir(sys::path::parent_path(CacheName)); in notifyObjectCompiled()
266 raw_fd_ostream outfile(CacheName, EC, sys::fs::F_None); in notifyObjectCompiled()
273 std::string CacheName; in getObject() local
274 if (!getCacheFilename(ModuleID, CacheName)) in getObject()
278 MemoryBuffer::getFile(CacheName.c_str(), -1, false); in getObject()
292 bool getCacheFilename(const std::string &ModID, std::string &CacheName) { in getCacheFilename() argument
305 CacheName = CacheDir + CacheSubdir; in getCacheFilename()
306 size_t pos = CacheName.rfind('.'); in getCacheFilename()
307 CacheName.replace(pos, CacheName.length() - pos, ".o"); in getCacheFilename()
404 std::string CacheName("file:"); in main() local
405 CacheName.append(InputFile); in main()
406 Mod->setModuleIdentifier(CacheName); in main()
485 std::string CacheName("file:"); in main() local
486 CacheName.append(ExtraModules[i]); in main()
487 XMod->setModuleIdentifier(CacheName); in main()