/llvm-project/clang/test/Modules/ |
H A D | validate-system-headers.m | 1 // RUN: rm -rf %t/ModuleCache 8 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul… 9 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved 15 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul… 16 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved 20 …-module-maps -fmodules-validate-system-headers -fmodules-cache-path=%t/ModuleCache -fdisable-modul… 21 // RUN: not diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved 26 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved 27 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul… 28 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved [all …]
|
H A D | serialized-diags.m | 11 // RUN: %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-only… 21 // RUN: not %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-…
|
H A D | outofdate-rebuild.m | 14 // entry from the ModuleCache without notifying its parent ASTReader.
|
H A D | autolink_private_module.m | 9 // RUN: %clang_cc1 -emit-llvm -o - -fmodules-cache-path=%t/ModuleCache -fmodules -fimplicit-module-…
|
/llvm-project/clang/lib/Serialization/ |
H A D | GeneratePCH.cpp | 26 Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef OutputFile, in PCHGenerator() argument 34 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions, in PCHGenerator() 103 InMemoryModuleCache &ModuleCache, in CXX20ModulesGenerator() 108 PP, ModuleCache, OutputFile, llvm::StringRef(), in getEmittingModule() 94 CXX20ModulesGenerator(Preprocessor & PP,InMemoryModuleCache & ModuleCache,StringRef OutputFile,bool GeneratingReducedBMI) CXX20ModulesGenerator() argument
|
H A D | ModuleManager.cpp | 185 NewModule->Buffer = &ModuleCache->addBuiltPCM(FileName, std::move(Buffer)); in addModule() 328 InMemoryModuleCache &ModuleCache, in ModuleManager() 331 : FileMgr(FileMgr), ModuleCache(&ModuleCache), in ModuleManager() 327 ModuleManager(FileManager & FileMgr,InMemoryModuleCache & ModuleCache,const PCHContainerReader & PCHContainerRdr,const HeaderSearch & HeaderSearchInfo) ModuleManager() argument
|
H A D | ASTReader.cpp | 3301 // ModuleCache as when writing. in ReadASTBlock() 3369 // filename for the ModuleCache. in ReadASTBlock() 5126 // If this module has already been finalized in the ModuleCache, we're stuck in InitializeContext() 5653 const InMemoryModuleCache &ModuleCache, in readASTFileControlBlock() 5659 llvm::MemoryBuffer *Buffer = ModuleCache.lookupPCM(Filename); in readASTFileControlBlock() 5949 const InMemoryModuleCache &ModuleCache, in ReadSubmoduleBlock() 5959 return !readASTFileControlBlock(Filename, FileMgr, ModuleCache, in ReadSubmoduleBlock() 10873 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in VisitOMPAcquireClause() 10889 ModuleMgr(PP.getFileManager(), ModuleCache, PCHContainerRdr, in VisitOMPInitClause() 5404 readASTFileControlBlock(StringRef Filename,FileManager & FileMgr,const InMemoryModuleCache & ModuleCache,const PCHContainerReader & PCHContainerRdr,bool FindModuleFileExtensions,ASTReaderListener & Listener,bool ValidateDiagnosticOptions,unsigned ClientLoadCapabilities) readASTFileControlBlock() argument 5697 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 10306 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
|
/llvm-project/llvm/test/tools/dsymutil/X86/ |
H A D | module-warnings.test | 17 # -fmodules-cache-path=ModuleCache \ 22 # RUN: rm -rf %t.dir && mkdir %t.dir && mkdir %t.dir/ModuleCache 24 # RUN: cp %p/../Inputs/module-warnings/Foo.pcm %t.dir/ModuleCache 39 # RUN: rm -rf %t.dir/ModuleCache
|
H A D | object-prefix-path.test | 7 RUN: -object-prefix-map=/ModuleCache=/ModuleCacheRenamed \ 12 RUN: -object-prefix-map=/ModuleCache=/ModuleCacheRenamed \
|
/llvm-project/clang/include/clang/Serialization/ |
H A D | ModuleManager.h | 68 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable 136 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache, 309 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
|
H A D | ASTWriter.h | 120 InMemoryModuleCache &ModuleCache; variable 685 InMemoryModuleCache &ModuleCache, 992 PCHGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 1016 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 1021 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 1023 : CXX20ModulesGenerator(PP, ModuleCache, OutputFile, in addBits() 1034 ReducedBMIGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 1036 : CXX20ModulesGenerator(PP, ModuleCache, OutputFile, 976 CXX20ModulesGenerator(Preprocessor & PP,InMemoryModuleCache & ModuleCache,StringRef OutputFile) CXX20ModulesGenerator() argument 988 ReducedBMIGenerator(Preprocessor & PP,InMemoryModuleCache & ModuleCache,StringRef OutputFile) ReducedBMIGenerator() argument
|
H A D | ASTReader.h | 1745 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, 1958 const InMemoryModuleCache &ModuleCache, 1967 const InMemoryModuleCache &ModuleCache,
|
/llvm-project/lldb/source/Target/ |
H A D | ModuleCache.cpp | 1 //===-- ModuleCache.cpp ---------------------------------------------------===// 9 #include "lldb/Target/ModuleCache.h" 191 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put() 216 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get() 272 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut()
|
H A D | CMakeLists.txt | 26 ModuleCache.cpp
|
/llvm-project/clang/test/Driver/ |
H A D | modules-cache-path.m | 2 // CHECK-DEFAULT: -fmodules-cache-path={{.*}}clang{{[/\\]+}}ModuleCache
|
/llvm-project/lldb/include/lldb/Target/ |
H A D | ModuleCache.h | 47 class ModuleCache {
|
H A D | Platform.h | 44 class ModuleCache; 1023 const std::unique_ptr<ModuleCache> m_module_cache; 42 class ModuleCache; global() variable
|
/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInstance.h | 100 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; 750 InMemoryModuleCache &ModuleCache, ASTContext &Context, 899 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } 99 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; global() variable
|
H A D | ASTUnit.h | 113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
|
/llvm-project/llvm/utils/gn/secondary/lldb/source/Target/ |
H A D | BUILD.gn | 52 "ModuleCache.cpp",
|
/llvm-project/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 222 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData() 223 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} in ASTWriterData() 832 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile() 864 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {}, in LoadFromASTFile() 1549 AST->ModuleCache = new InMemoryModuleCache; 1836 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine() 1847 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); in LoadFromCommandLine() 2382 InMemoryModuleCache ModuleCache; in TranslateStoredDiagnostics() 2383 ASTWriter Writer(Stream, Buffer, ModuleCache, {}); in TranslateStoredDiagnostics() 2373 InMemoryModuleCache ModuleCache; serialize() local
|
H A D | PrecompiledPreamble.cpp | 295 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() argument 298 : PCHGenerator(PP, ModuleCache, "", isysroot, std::move(Buffer), in PrecompilePreambleConsumer()
|
H A D | CompilerInstance.cpp | 72 ModuleCache(SharedModuleCache ? SharedModuleCache in CompilerInstance() 208 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader() 629 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource() 638 PP, ModuleCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource() 1483 // ModuleCache takes care of correctness and locks are only necessary for in compileModuleAndReadASTBehindLock() 1508 // Since ModuleCache takes care of correctness, we try waiting for in compileModuleAndReadASTBehindLock() 628 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
|
/llvm-project/lldb/unittests/Target/ |
H A D | ModuleCacheTest.cpp | 16 #include "lldb/Target/ModuleCache.h" 86 ModuleCache mc; in TryGetAndPut()
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 134 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; 130 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; global() variable
|