Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp26 Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef OutputFile, in PCHGenerator() argument
34 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions, in PCHGenerator()
94 InMemoryModuleCache &ModuleCache, in CXX20ModulesGenerator() argument
98 PP, ModuleCache, OutputFile, llvm::StringRef(), in CXX20ModulesGenerator()
H A DASTReader.cpp5404 const InMemoryModuleCache &ModuleCache, in readASTFileControlBlock() argument
5410 llvm::MemoryBuffer *Buffer = ModuleCache.lookupPCM(Filename); in readASTFileControlBlock()
5697 const InMemoryModuleCache &ModuleCache, in isAcceptableASTFile() argument
5707 return !readASTFileControlBlock(Filename, FileMgr, ModuleCache, in isAcceptableASTFile()
10307 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in ASTReader() argument
10322 ContextObj(Context), ModuleMgr(PP.getFileManager(), ModuleCache, in ASTReader()
H A DASTWriter.cpp4837 InMemoryModuleCache &ModuleCache, in ASTWriter() argument
4841 : Stream(Stream), Buffer(Buffer), ModuleCache(ModuleCache), in ASTWriter()
4891 ModuleCache.addBuiltPCM(OutputFile, in WriteAST()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h68 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
136 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
309 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTWriter.h120 InMemoryModuleCache &ModuleCache; variable
643 InMemoryModuleCache &ModuleCache,
948 PCHGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
972 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
976 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in CXX20ModulesGenerator() argument
978 : CXX20ModulesGenerator(PP, ModuleCache, OutputFile, in CXX20ModulesGenerator()
988 ReducedBMIGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in ReducedBMIGenerator() argument
990 : CXX20ModulesGenerator(PP, ModuleCache, OutputFile, in ReducedBMIGenerator()
H A DASTReader.h1584 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
1797 const InMemoryModuleCache &ModuleCache,
1806 const InMemoryModuleCache &ModuleCache,
/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.cpp241 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.h42 class ModuleCache; variable
963 const std::unique_ptr<ModuleCache> m_module_cache;
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h99 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
745 InMemoryModuleCache &ModuleCache, ASTContext &Context,
894 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.cpp222 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
223 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} in ASTWriterData()
828 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
860 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {}, in LoadFromASTFile()
1545 AST->ModuleCache = new InMemoryModuleCache; in create()
1829 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
1840 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); in LoadFromCommandLine()
2373 InMemoryModuleCache ModuleCache; in serialize() local
2374 ASTWriter Writer(Stream, Buffer, ModuleCache, {}); in serialize()
H A DPrecompiledPreamble.cpp295 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() argument
298 : 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()
628 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource() argument
637 PP, ModuleCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h130 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; variable
H A DCGDebugInfo.cpp2986 auto ModRef = ModuleCache.find(M); in getOrCreateModuleRef()
2987 if (ModRef != ModuleCache.end()) in getOrCreateModuleRef()
3074 ModuleCache[M].reset(DIMod); in getOrCreateModuleRef()
/freebsd/lib/clang/liblldb/
H A DMakefile639 SRCS+= Target/ModuleCache.cpp