Home
last modified time | relevance | path

Searched refs:PCM (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/lib/Serialization/
H A DInMemoryModuleCache.cpp35 auto &PCM = PCMs[Filename]; in addBuiltPCM() local
36 assert(!PCM.IsFinal && "Trying to override finalized PCM?"); in addBuiltPCM()
37 assert(!PCM.Buffer && "Trying to override tentative PCM?"); in addBuiltPCM()
38 PCM.Buffer = std::move(Buffer); in addBuiltPCM()
39 PCM.IsFinal = true; in addBuiltPCM()
40 return *PCM.Buffer; in addBuiltPCM()
63 auto &PCM = I->second; in tryToDropPCM() local
66 if (PCM.IsFinal) in tryToDropPCM()
69 PCM.Buffer.reset(); in tryToDropPCM()
77 auto &PCM = I->second; in finalizePCM() local
[all …]
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DInMemoryModuleCache.h31 struct PCM { struct
39 PCM() = default; argument
40 PCM(std::unique_ptr<llvm::MemoryBuffer> Buffer) in PCM() function
45 llvm::StringMap<PCM> PCMs;
/llvm-project-15.0.7/clang/test/Modules/
H A Dadd-remove-irrelevant-module-map.m26 // Neither PCM file considers 'b.modulemap' an input:
54 // The PCM file considers 'd.modulemap' an input because it affects the compilation,
H A Dmodules-cache-path-canonicalization.m3 // This testcase reproduces a use-after-free after looking up a PCM in
H A Drebuild.m22 // The signature is the hash of the PCM content, we will not rebuild rebuild DependsOnModule.
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp22 auto PCM = LookupModuleOutput(MID, ModuleOutputKind::ModuleFile); in getCommandLine() local
23 Ret.push_back("-fmodule-file=" + PCM); in getCommandLine()
/llvm-project-15.0.7/clang/test/Index/
H A Dindex-module.m16 // CHECK-NEXT: [importedASTFile]: [[PCM:.*[/\\]DependsOnModule\.pcm]] | loc: 2:1 | name: "DependsOn…
18 // CHECK: [importedASTFile]: [[PCM]] | loc: 3:1 | name: "DependsOnModule" | isImplicit: 0
/llvm-project-15.0.7/clang/docs/
H A DToolchain.rst47 :doc:`precompiled module file (PCM) <Modules>`,
H A DStandardCPlusPlusModules.rst690 For header units, use ``-fmodule-file`` to include the relevant PCM file for each header unit.
H A DClangCommandLineReference.rst2044 Validate PCM input files based on content if mtime differs
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2768 SmallString<0> PCM; in getOrCreateModuleRef() local
2770 PCM = Mod.getPath(); in getOrCreateModuleRef()
2771 llvm::sys::path::append(PCM, Mod.getASTFile()); in getOrCreateModuleRef()
2776 TheCU->getProducer(), false, StringRef(), 0, RemapPath(PCM), in getOrCreateModuleRef()
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DOptions.td2291 HelpText<"Validate PCM input files based on content if mtime differs">;
6029 HelpText<"Accept a PCM file that was created with compiler errors">,