Home
last modified time | relevance | path

Searched refs:ModCache (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp26 Preprocessor &PP, ModuleCache &ModCache, StringRef OutputFile, in PCHGenerator() argument
34 Writer(Stream, this->Buffer->Data, ModCache, Extensions, in PCHGenerator()
103 ModuleCache &ModCache, in CXX20ModulesGenerator() argument
108 PP, ModCache, OutputFile, llvm::StringRef(), in CXX20ModulesGenerator()
H A DModuleManager.cpp179 ModCache->getModuleTimestamp(NewModule->FileName); in addModule()
330 ModuleManager::ModuleManager(FileManager &FileMgr, ModuleCache &ModCache, in ModuleManager() argument
333 : FileMgr(FileMgr), ModCache(&ModCache), PCHContainerRdr(PCHContainerRdr), in ModuleManager()
H A DASTWriter.cpp5385 SmallVectorImpl<char> &Buffer, ModuleCache &ModCache, in ASTWriter() argument
5389 : Stream(Stream), Buffer(Buffer), ModCache(ModCache), in ASTWriter()
5443 ModCache.updateModuleTimestamp(OutputFile); in WriteAST()
5447 ModCache.getInMemoryModuleCache().addBuiltPCM( in WriteAST()
H A DASTReader.cpp5703 StringRef Filename, FileManager &FileMgr, const ModuleCache &ModCache, in readASTFileControlBlock() argument
5710 ModCache.getInMemoryModuleCache().lookupPCM(Filename); in readASTFileControlBlock()
6017 StringRef Filename, FileManager &FileMgr, const ModuleCache &ModCache, in isAcceptableASTFile() argument
6024 return !readASTFileControlBlock(Filename, FileMgr, ModCache, PCHContainerRdr, in isAcceptableASTFile()
10989 ASTReader::ASTReader(Preprocessor &PP, ModuleCache &ModCache, in ASTReader() argument
11006 ModuleMgr(PP.getFileManager(), ModCache, PCHContainerRdr, in ASTReader()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h68 IntrusiveRefCntPtr<ModuleCache> ModCache; variable
136 ModuleManager(FileManager &FileMgr, ModuleCache &ModCache,
309 ModuleCache &getModuleCache() const { return *ModCache; } in getModuleCache()
H A DASTWriter.h125 ModuleCache &ModCache; variable
689 ModuleCache &ModCache,
1000 PCHGenerator(Preprocessor &PP, ModuleCache &ModCache, StringRef OutputFile,
1023 CXX20ModulesGenerator(Preprocessor &PP, ModuleCache &ModCache,
1028 CXX20ModulesGenerator(Preprocessor &PP, ModuleCache &ModCache,
1030 : CXX20ModulesGenerator(PP, ModCache, OutputFile, in CXX20ModulesGenerator() argument
1041 ReducedBMIGenerator(Preprocessor &PP, ModuleCache &ModCache,
1043 : CXX20ModulesGenerator(PP, ModCache, OutputFile, in CXX20ModulesGenerator() argument
H A DASTReader.h1772 ASTReader(Preprocessor &PP, ModuleCache &ModCache, ASTContext *Context,
1985 StringRef Filename, FileManager &FileMgr, const ModuleCache &ModCache,
1994 const ModuleCache &ModCache,
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h104 IntrusiveRefCntPtr<ModuleCache> ModCache; variable
211 ModuleCache *ModCache = nullptr);
721 bool AllowPCHWithCompilerErrors, Preprocessor &PP, ModuleCache &ModCache,
921 ModuleCache &getModuleCache() const { return *ModCache; } in getModuleCache()
H A DASTUnit.h118 IntrusiveRefCntPtr<ModuleCache> ModCache; variable
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp218 ASTWriterData(ModuleCache &ModCache) in ASTWriterData()
219 : Stream(Buffer), Writer(Stream, Buffer, ModCache, {}) {} in ASTWriterData()
830 AST->ModCache = createCrossProcessModuleCache(); in LoadFromASTFile()
862 PP, *AST->ModCache, AST->Ctx.get(), PCHContainerRdr, {}, /*isysroot=*/"", in LoadFromASTFile()
1551 AST->ModCache = createCrossProcessModuleCache(); in create()
1843 AST->ModCache = createCrossProcessModuleCache(); in LoadFromCommandLine()
1854 AST->WriterData.reset(new ASTWriterData(*AST->ModCache)); in LoadFromCommandLine()
2387 IntrusiveRefCntPtr<ModuleCache> ModCache = createCrossProcessModuleCache(); in serialize() local
2388 ASTWriter Writer(Stream, Buffer, *ModCache, {}); in serialize()
H A DCompilerInstance.cpp71 ModuleCache *ModCache) in CompilerInstance() argument
72 : ModuleLoader(/*BuildingModule=*/ModCache), in CompilerInstance()
74 ModCache(ModCache ? ModCache : createCrossProcessModuleCache()), in CompilerInstance()
205 assert(ModCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader()
626 bool AllowPCHWithCompilerErrors, Preprocessor &PP, ModuleCache &ModCache, in createPCHExternalASTSource() argument
636 PP, ModCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource()
H A DPrecompiledPreamble.cpp295 ModuleCache &ModCache, StringRef isysroot, in PrecompilePreambleConsumer() argument
297 : PCHGenerator(PP, ModCache, "", isysroot, std::move(Buffer), in PrecompilePreambleConsumer()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp413 auto ModCache = makeInProcessModuleCache(Service.getModuleCacheEntries()); in runInvocation() local
415 std::move(PCHContainerOps), ModCache.get()); in runInvocation()