Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h70 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
142 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
316 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTWriter.h129 InMemoryModuleCache &ModuleCache; variable
552 InMemoryModuleCache &ModuleCache,
782 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
H A DASTReader.h1504 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
/freebsd-13.1/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.cpp189 NewModule->Buffer = &ModuleCache->addBuiltPCM(FileName, std::move(Buffer)); in addModule()
349 InMemoryModuleCache &ModuleCache, in ModuleManager() argument
352 : FileMgr(FileMgr), ModuleCache(&ModuleCache), in ModuleManager()
H A DASTWriter.cpp4261 InMemoryModuleCache &ModuleCache, in ASTWriter() argument
4264 : Stream(Stream), Buffer(Buffer), ModuleCache(ModuleCache), in ASTWriter()
4313 ModuleCache.addBuiltPCM(OutputFile, in WriteAST()
H A DASTReader.cpp11646 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in ASTReader() argument
11661 ContextObj(Context), ModuleMgr(PP.getFileManager(), ModuleCache, in ASTReader()
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp190 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put()
214 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get()
268 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut()
H A DPlatform.cpp393 m_module_cache(std::make_unique<ModuleCache>()) { in Platform()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/
H A DModuleCache.h47 class ModuleCache {
H A DPlatform.h39 class ModuleCache; variable
907 const std::unique_ptr<ModuleCache> m_module_cache;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h94 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
668 InMemoryModuleCache &ModuleCache, ASTContext &Context,
816 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTUnit.h113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp223 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
224 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} in ASTWriterData()
785 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
818 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {}, in LoadFromASTFile()
1498 AST->ModuleCache = new InMemoryModuleCache; in create()
1773 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
1784 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); in LoadFromCommandLine()
2323 InMemoryModuleCache ModuleCache; in serialize() local
2324 ASTWriter Writer(Stream, Buffer, ModuleCache, {}); in serialize()
H A DPrecompiledPreamble.cpp233 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() argument
236 : PCHGenerator(PP, ModuleCache, "", isysroot, in PrecompilePreambleConsumer()
H A DCompilerInstance.cpp63 ModuleCache(SharedModuleCache ? SharedModuleCache in CompilerInstance()
202 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader()
579 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource() argument
588 PP, ModuleCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h127 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; variable
H A DCGDebugInfo.cpp2578 auto ModRef = ModuleCache.find(M); in getOrCreateModuleRef()
2579 if (ModRef != ModuleCache.end()) in getOrCreateModuleRef()
2662 ModuleCache[M].reset(DIMod); in getOrCreateModuleRef()
/freebsd-13.1/lib/clang/liblldb/
H A DMakefile585 SRCS+= Target/ModuleCache.cpp