Lines Matching refs:InMemoryFile
548 class InMemoryFile : public InMemoryNode { class
553 InMemoryFile(Status Stat, std::unique_ptr<llvm::MemoryBuffer> Buffer) in InMemoryFile() function in llvm::vfs::detail::InMemoryFile
577 const InMemoryFile &ResolvedFile;
580 InMemoryHardLink(StringRef Path, const InMemoryFile &ResolvedFile) in InMemoryHardLink()
582 const InMemoryFile &getResolvedFile() const { return ResolvedFile; } in getResolvedFile()
598 const InMemoryFile &Node;
603 explicit InMemoryFileAdaptor(const InMemoryFile &Node, in InMemoryFileAdaptor()
671 if (auto File = dyn_cast<detail::InMemoryFile>(Node)) in getNodeStatus()
699 const detail::InMemoryFile *HardLinkTarget) { in addFile()
744 new detail::InMemoryFile(std::move(Stat), std::move(Buffer))); in addFile()
765 assert((isa<detail::InMemoryFile>(Node) || in addFile()
778 return cast<detail::InMemoryFile>(Node)->getBuffer()->getBuffer() == in addFile()
830 if (auto File = dyn_cast<detail::InMemoryFile>(Node)) { in lookupInMemoryNode()
855 if (!ToNode || FromNode || !isa<detail::InMemoryFile>(*ToNode)) in addHardLink()
858 cast<detail::InMemoryFile>(*ToNode)); in addHardLink()
876 if (auto *F = dyn_cast<detail::InMemoryFile>(*Node)) in openFileForRead()