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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
31 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions,
23 PCHGenerator( const Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef OutputFile, StringRef isysroot, std::shared_ptr<PCHBuffer> Buffer, ArrayRef<std::shared_ptr<ModuleFileExtension>> Extensions, bool AllowASTWithErrors, bool IncludeTimestamps, bool ShouldCacheASTInMemory) argument
H A DModuleManager.cpp166 NewModule->Buffer = &ModuleCache->addBuiltPCM(FileName, std::move(Buffer));
319 InMemoryModuleCache &ModuleCache,
322 : FileMgr(FileMgr), ModuleCache(&ModuleCache),
318 ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache, const PCHContainerReader &PCHContainerRdr, const HeaderSearch &HeaderSearchInfo) argument
H A DASTWriter.cpp4266 InMemoryModuleCache &ModuleCache,
4269 : Stream(Stream), Buffer(Buffer), ModuleCache(ModuleCache),
4320 ModuleCache.addBuiltPCM(OutputFile,
H A DASTReader.cpp2810 // ModuleCache as when writing.
2877 // filename for the ModuleCache.
4624 // If this module has already been finalized in the ModuleCache, we're stuck
11438 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
11452 ContextObj(Context), ModuleMgr(PP.getFileManager(), ModuleCache,
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DModuleCache.h1 //===-- ModuleCache.h -------------------------------------------*- C++ -*-===//
28 /// \class ModuleCache ModuleCache.h "lldb/Target/ModuleCache.h"
47 class ModuleCache { class in namespace:lldb_private
H A DPlatform.h38 class ModuleCache;
860 const std::unique_ptr<ModuleCache> m_module_cache;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h70 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; member in class:clang::serialization::ModuleManager
142 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
318 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; }
H A DASTWriter.h126 InMemoryModuleCache &ModuleCache; member in class:clang::ASTWriter
536 InMemoryModuleCache &ModuleCache,
757 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
H A DASTReader.h1477 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp1 //===--------------------- ModuleCache.cpp ----------------------*- C++ -*-===//
9 #include "lldb/Target/ModuleCache.h"
190 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname,
214 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname,
268 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec,
H A DPlatform.cpp32 #include "lldb/Target/ModuleCache.h"
387 m_module_cache(std::make_unique<ModuleCache>()) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h92 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; member in class:clang::CompilerInstance
672 InMemoryModuleCache &ModuleCache, ASTContext &Context,
831 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; }
H A DASTUnit.h113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; member in class:clang::ASTUnit
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp222 ASTWriterData(InMemoryModuleCache &ModuleCache) argument
223 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {}
785 AST->ModuleCache = new InMemoryModuleCache;
819 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {},
1507 AST->ModuleCache = new InMemoryModuleCache;
1790 AST->ModuleCache = new InMemoryModuleCache;
1801 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache));
2345 InMemoryModuleCache ModuleCache; local
2346 ASTWriter Writer(Stream, Buffer, ModuleCache, {});
H A DPrecompiledPreamble.cpp161 InMemoryModuleCache &ModuleCache,
164 : PCHGenerator(PP, ModuleCache, "", isysroot,
159 PrecompilePreambleConsumer(PrecompilePreambleAction &Action, const Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef isysroot, std::unique_ptr<raw_ostream> Out) argument
H A DCompilerInstance.cpp63 ModuleCache(SharedModuleCache ? SharedModuleCache
142 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() &&
509 InMemoryModuleCache &ModuleCache, ASTContext &Context,
518 PP, ModuleCache, &Context, PCHContainerRdr, Extensions,
1276 // ModuleCache takes care of correctness and locks are only necessary for
1303 // Since ModuleCache takes care of correctness, we try waiting for
506 createPCHExternalASTSource( StringRef Path, StringRef Sysroot, bool DisablePCHValidation, bool AllowPCHWithCompilerErrors, Preprocessor &PP, InMemoryModuleCache &ModuleCache, ASTContext &Context, const PCHContainerReader &PCHContainerRdr, ArrayRef<std::shared_ptr<ModuleFileExtension>> Extensions, ArrayRef<std::shared_ptr<DependencyCollector>> DependencyCollectors, void *DeserializationListener, bool OwnDeserializationListener, bool Preamble, bool UseGlobalModuleIndex) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h125 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; member in class:clang::DynamicInitKind::CGDebugInfo
H A DCGDebugInfo.cpp2409 auto ModRef = ModuleCache.find(M);
2410 if (ModRef != ModuleCache.end())
2475 ModuleCache[M].reset(DIMod);
/freebsd-11-stable/lib/clang/liblldb/
H A DMakefile554 SRCS+= Target/ModuleCache.cpp

Completed in 356 milliseconds