Lines Matching defs:CacheName
315 std::string CacheName;
316 if (!getCacheFilename(ModuleID, CacheName))
319 SmallString<128> dir(sys::path::parent_path(CacheName));
324 raw_fd_ostream outfile(CacheName, EC, sys::fs::OF_None);
331 std::string CacheName;
332 if (!getCacheFilename(ModuleID, CacheName))
336 MemoryBuffer::getFile(CacheName, /*IsText=*/false,
351 bool getCacheFilename(StringRef ModID, std::string &CacheName) {
363 CacheName = CacheDir + CacheSubdir;
364 size_t pos = CacheName.rfind('.');
365 CacheName.replace(pos, CacheName.length() - pos, ".o");
466 std::string CacheName("file:");
467 CacheName.append(InputFile);
468 Mod->setModuleIdentifier(CacheName);
546 std::string CacheName("file:");
547 CacheName.append(ExtraModules[i]);
548 XMod->setModuleIdentifier(CacheName);