Searched refs:PCM (Results 1 – 11 of 11) sorted by relevance
/llvm-project/clang/lib/Serialization/ |
H A D | InMemoryModuleCache.cpp | 35 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 64 assert(PCM.Buffer && "PCM to remove is scheduled to be built..."); in tryToDropPCM() 66 if (PCM.IsFinal) in tryToDropPCM() 69 PCM.Buffer.reset(); in tryToDropPCM() [all …]
|
/llvm-project/clang/include/clang/Serialization/ |
H A D | InMemoryModuleCache.h | 30 struct PCM { struct 38 PCM() = default; argument 39 PCM(std::unique_ptr<llvm::MemoryBuffer> Buffer) in PCM() argument 44 llvm::StringMap<PCM> PCMs;
|
/llvm-project/clang/test/Modules/ |
H A D | modules-cache-path-canonicalization.m | 3 // This testcase reproduces a use-after-free after looking up a PCM in
|
H A D | rebuild.m | 22 // The signature is the hash of the PCM content, we will not rebuild rebuild DependsOnModule.
|
H A D | prune-non-affecting-module-map-files.m | 2 // contents of PCM files.
|
/llvm-project/clang/test/Index/ |
H A D | index-module.m | 16 // CHECK-NEXT: [importedASTFile]: [[PCM:.*[/\\]DependsOnModule\.pcm]] | loc: 2:1 | name: "DependsOn… 18 // CHECK: [importedASTFile]: [[PCM]] | loc: 3:1 | name: "DependsOnModule" | isImplicit: 0
|
/llvm-project/clang/tools/clang-scan-deps/ |
H A D | Opts.td | 24 def eager_load_pcm : F<"eager-load-pcm", "Load PCM files eagerly (instead of lazily on import)">;
|
/llvm-project/clang/include/clang/Basic/ |
H A D | DebugOptions.def | 16 // affect the generated PCM.
|
/llvm-project/clang/docs/ |
H A D | Toolchain.rst | 47 :doc:`precompiled module file (PCM) <Modules>`,
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 3088 SmallString<0> PCM; in CreateTypeDefinition() 3091 PCM = getCurrentDirname(); in CreateTypeDefinition() 3093 PCM = Mod.getPath(); in CreateTypeDefinition() 3095 llvm::sys::path::append(PCM, Mod.getASTFile()); in CreateTypeDefinition() 3100 TheCU->getProducer(), false, StringRef(), 0, RemapPath(PCM), in CreateTypeDefinition() 3049 SmallString<0> PCM; getOrCreateModuleRef() local
|
/llvm-project/clang/include/clang/Driver/ |
H A D | Options.td | 3315 HelpText<"Validate PCM input files based on content if mtime differs">; 3405 HelpText<"Skip checks for relocated modules when loading PCM files">, 8162 HelpText<"Accept a PCM file that was created with compiler errors">,
|