Searched refs:PCM (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/gnu/llvm/clang/lib/Serialization/
H A DInMemoryModuleCache.cpp28 assert(Insertion.second && "Already has a PCM");
35 auto &PCM = PCMs[Filename]; local
36 assert(!PCM.IsFinal && "Trying to override finalized PCM?");
37 assert(!PCM.Buffer && "Trying to override tentative PCM?");
38 PCM.Buffer = std::move(Buffer);
39 PCM.IsFinal = true;
40 return *PCM.Buffer;
61 assert(I != PCMs.end() && "PCM t
63 auto &PCM = I->second; local
77 auto &PCM = I->second; local
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/Serialization/
H A DInMemoryModuleCache.h27 /// PCM. This is used by \a CompilerInstance when building PCMs to ensure that
30 struct PCM { struct in class:clang::InMemoryModuleCache
33 /// Track whether this PCM is known to be good (either built or
38 PCM() = default;
39 PCM(std::unique_ptr<llvm::MemoryBuffer> Buffer) function in struct:clang::InMemoryModuleCache::PCM
44 llvm::StringMap<PCM> PCMs;
47 /// There are four states for a PCM. It must monotonically increase.
49 /// 1. Unknown: the PCM has neither been read from disk nor built.
50 /// 2. Tentative: the PCM has been read from disk but not yet imported or
52 /// 3. ToBuild: the PCM rea
[all...]
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2778 SmallString<0> PCM; local
2781 PCM = getCurrentDirname();
2783 PCM = Mod.getPath();
2785 llvm::sys::path::append(PCM, Mod.getASTFile());
2790 TheCU->getProducer(), false, StringRef(), 0, RemapPath(PCM),

Completed in 68 milliseconds