Home
last modified time | relevance | path

Searched refs:ModuleCache (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h69 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
137 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
310 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTWriter.h117 InMemoryModuleCache &ModuleCache; variable
597 InMemoryModuleCache &ModuleCache,
860 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
H A DASTReader.h1573 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
1784 const InMemoryModuleCache &ModuleCache,
1793 const InMemoryModuleCache &ModuleCache,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache, in PCHGenerator() argument
31 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions, in PCHGenerator()
H A DModuleManager.cpp184 NewModule->Buffer = &ModuleCache->addBuiltPCM(FileName, std::move(Buffer)); in addModule()
327 InMemoryModuleCache &ModuleCache, in ModuleManager() argument
330 : FileMgr(FileMgr), ModuleCache(&ModuleCache), in ModuleManager()
H A DASTWriter.cpp4602 InMemoryModuleCache &ModuleCache, in ASTWriter() argument
4605 : Stream(Stream), Buffer(Buffer), ModuleCache(ModuleCache), in ASTWriter()
4654 ModuleCache.addBuiltPCM(OutputFile, in WriteAST()
H A DASTReader.cpp5399 const InMemoryModuleCache &ModuleCache, in readASTFileControlBlock() argument
5404 llvm::MemoryBuffer *Buffer = ModuleCache.lookupPCM(Filename); in readASTFileControlBlock()
5691 const InMemoryModuleCache &ModuleCache, in isAcceptableASTFile() argument
5701 return !readASTFileControlBlock(Filename, FileMgr, ModuleCache, in isAcceptableASTFile()
10166 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in ASTReader() argument
10181 ContextObj(Context), ModuleMgr(PP.getFileManager(), ModuleCache, in ASTReader()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp191 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put()
215 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get()
269 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut()
H A DPlatform.cpp275 m_module_cache(std::make_unique<ModuleCache>()) { in Platform()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DModuleCache.h47 class ModuleCache {
H A DPlatform.h40 class ModuleCache; variable
976 const std::unique_ptr<ModuleCache> m_module_cache;
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h99 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
703 InMemoryModuleCache &ModuleCache, ASTContext &Context,
852 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTUnit.h113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp221 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
222 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} in ASTWriterData()
816 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
848 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {}, in LoadFromASTFile()
1532 AST->ModuleCache = new InMemoryModuleCache; in create()
1816 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
1827 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); in LoadFromCommandLine()
2360 InMemoryModuleCache ModuleCache; in serialize() local
2361 ASTWriter Writer(Stream, Buffer, ModuleCache, {}); in serialize()
H A DPrecompiledPreamble.cpp294 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() argument
297 : PCHGenerator(PP, ModuleCache, "", isysroot, std::move(Buffer), in PrecompilePreambleConsumer()
H A DCompilerInstance.cpp70 ModuleCache(SharedModuleCache ? SharedModuleCache in CompilerInstance()
206 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader()
629 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource() argument
638 PP, ModuleCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h125 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; variable
H A DCGDebugInfo.cpp2860 auto ModRef = ModuleCache.find(M); in getOrCreateModuleRef()
2861 if (ModRef != ModuleCache.end()) in getOrCreateModuleRef()
2948 ModuleCache[M].reset(DIMod); in getOrCreateModuleRef()
/freebsd/lib/clang/liblldb/
H A DMakefile626 SRCS+= Target/ModuleCache.cpp