/freebsd-src/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ModuleManager.h | 68 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; 136 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache, 309 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } 69 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; global() variable
|
H A D | ASTWriter.h | 120 InMemoryModuleCache &ModuleCache; 643 InMemoryModuleCache &ModuleCache, 948 PCHGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 972 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 976 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 978 : CXX20ModulesGenerator(PP, ModuleCache, OutputFile, 988 ReducedBMIGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 990 : CXX20ModulesGenerator(PP, ModuleCache, OutputFile, 117 InMemoryModuleCache &ModuleCache; global() variable
|
H A D | ASTReader.h | 1584 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 1797 const InMemoryModuleCache &ModuleCache, 1806 const InMemoryModuleCache &ModuleCache,
|
/freebsd-src/contrib/llvm-project/clang/lib/Serialization/ |
H A D | GeneratePCH.cpp | 26 Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef OutputFile, in PCHGenerator() 34 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions, in PCHGenerator() 94 InMemoryModuleCache &ModuleCache, 98 PP, ModuleCache, OutputFile, llvm::StringRef(), 24 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 BuildingImplicitModule,bool ShouldCacheASTInMemory) PCHGenerator() argument
|
H A D | ModuleManager.cpp | 184 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 D | ASTWriter.cpp | 4837 InMemoryModuleCache &ModuleCache, in WriteASTCore() 4841 : Stream(Stream), Buffer(Buffer), ModuleCache(ModuleCache), in WriteASTCore() 4891 ModuleCache.addBuiltPCM(OutputFile, in WriteASTCore() 4602 ASTWriter(llvm::BitstreamWriter & Stream,SmallVectorImpl<char> & Buffer,InMemoryModuleCache & ModuleCache,ArrayRef<std::shared_ptr<ModuleFileExtension>> Extensions,bool IncludeTimestamps,bool BuildingImplicitModule) ASTWriter() argument
|
H A D | ASTReader.cpp | 3120 // ModuleCache as when writing. in ReadControlBlock() 3192 // filename for the ModuleCache. 4884 // If this module has already been finalized in the ModuleCache, we're stuck in readUnhashedControlBlock() 5404 const InMemoryModuleCache &ModuleCache, in readASTFileControlBlock() 5410 llvm::MemoryBuffer *Buffer = ModuleCache.lookupPCM(Filename); in readASTFileControlBlock() 5697 const InMemoryModuleCache &ModuleCache, in isAcceptableASTFile() 5707 return !readASTFileControlBlock(Filename, FileMgr, ModuleCache, in ReadSubmoduleBlock() 10307 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in readClause() 10322 ContextObj(Context), ModuleMgr(PP.getFileManager(), ModuleCache, in readClause() 5399 readASTFileControlBlock(StringRef Filename,FileManager & FileMgr,const InMemoryModuleCache & ModuleCache,const PCHContainerReader & PCHContainerRdr,bool FindModuleFileExtensions,ASTReaderListener & Listener,bool ValidateDiagnosticOptions) readASTFileControlBlock() argument 5691 isAcceptableASTFile(StringRef Filename,FileManager & FileMgr,const InMemoryModuleCache & ModuleCache,const PCHContainerReader & PCHContainerRdr,const LangOptions & LangOpts,const TargetOptions & TargetOpts,const PreprocessorOptions & PPOpts,StringRef ExistingModuleCachePath,bool RequireStrictOptionMatches) isAcceptableASTFile() argument 10166 ASTReader(Preprocessor & PP,InMemoryModuleCache & ModuleCache,ASTContext * Context,const PCHContainerReader & PCHContainerRdr,ArrayRef<std::shared_ptr<ModuleFileExtension>> Extensions,StringRef isysroot,DisableValidationForModuleKind DisableValidationKind,bool AllowASTWithCompilerErrors,bool AllowConfigurationMismatch,bool ValidateSystemInputs,bool ValidateASTInputFilesContent,bool UseGlobalIndex,std::unique_ptr<llvm::Timer> ReadTimer) ASTReader() argument
|
/freebsd-src/contrib/llvm-project/lldb/source/Target/ |
H A D | ModuleCache.cpp | 191 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 D | Platform.cpp | 31 #include "lldb/Target/ModuleCache.h" 241 m_module_cache(std::make_unique<ModuleCache>()) { in GetModuleSpec()
|
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | ModuleCache.h | 47 class ModuleCache {
|
H A D | Platform.h | 42 class ModuleCache; 963 const std::unique_ptr<ModuleCache> m_module_cache; 40 class ModuleCache; global() variable
|
/freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInstance.h | 99 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable 745 InMemoryModuleCache &ModuleCache, ASTContext &Context, 894 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; }
|
H A D | ASTUnit.h | 113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
|
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 222 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData() 223 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} 828 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile() 860 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {}, in LoadFromASTFile() 1545 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCompilerInvocationAction() 1829 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine() 1840 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); in LoadFromCommandLine() 2373 InMemoryModuleCache ModuleCache; in TranslateStoredDiagnostics() 2374 ASTWriter Writer(Stream, Buffer, ModuleCache, {}); in TranslateStoredDiagnostics() 2360 InMemoryModuleCache ModuleCache; serialize() local
|
H A D | PrecompiledPreamble.cpp | 295 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() 298 : PCHGenerator(PP, ModuleCache, "", isysroot, std::move(Buffer), in PrecompilePreambleConsumer() 294 PrecompilePreambleConsumer(PrecompilePreambleAction & Action,const Preprocessor & PP,InMemoryModuleCache & ModuleCache,StringRef isysroot,std::shared_ptr<PCHBuffer> Buffer) PrecompilePreambleConsumer() argument
|
H A D | CompilerInstance.cpp | 70 ModuleCache(SharedModuleCache ? SharedModuleCache in CompilerInstance() 206 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader() 628 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource() 637 PP, ModuleCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource() 1488 // ModuleCache takes care of correctness and locks are only necessary for in compileModuleAndReadASTBehindLock() 1513 // Since ModuleCache takes care of correctness, we try waiting for 629 createPCHExternalASTSource(StringRef Path,StringRef Sysroot,DisableValidationForModuleKind DisableValidation,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) createPCHExternalASTSource() argument
|
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 130 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; 125 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; global() variable
|
H A D | CGDebugInfo.cpp | 2986 auto ModRef = ModuleCache.find(M); in CreateTypeDefinition() 2987 if (ModRef != ModuleCache.end()) in CreateTypeDefinition() 3074 ModuleCache[M].reset(DIMod); in CreateTypeDefinition()
|
/freebsd-src/lib/clang/liblldb/ |
H A D | Makefile | 639 SRCS+= Target/ModuleCache.cpp
|