Lines Matching defs:CacheName
314 std::string CacheName;
315 if (!getCacheFilename(ModuleID, CacheName))
318 SmallString<128> dir(sys::path::parent_path(CacheName));
323 raw_fd_ostream outfile(CacheName, EC, sys::fs::OF_None);
330 std::string CacheName;
331 if (!getCacheFilename(ModuleID, CacheName))
335 MemoryBuffer::getFile(CacheName, /*IsText=*/false,
350 bool getCacheFilename(StringRef ModID, std::string &CacheName) {
362 CacheName = CacheDir + CacheSubdir;
363 size_t pos = CacheName.rfind('.');
364 CacheName.replace(pos, CacheName.length() - pos, ".o");
465 std::string CacheName("file:");
466 CacheName.append(InputFile);
467 Mod->setModuleIdentifier(CacheName);
545 std::string CacheName("file:");
546 CacheName.append(ExtraModules[i]);
547 XMod->setModuleIdentifier(CacheName);