Lines Matching refs:PCM
27 /// PCM. This is used by \a CompilerInstance when building PCMs to ensure that
30 struct PCM {
33 /// Track whether this PCM is known to be good (either built or
38 PCM() = default;
39 PCM(std::unique_ptr<llvm::MemoryBuffer> Buffer)
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 read from disk did not work but a new one has not
54 /// 4. Final: indicating that the current PCM was either built in this
58 /// Get the state of the PCM.
61 /// Store the PCM under the Filename.
69 /// Store a just-built PCM under the Filename.
84 /// Mark a PCM as final.
93 /// Check whether the PCM is final and has been shown to work.
98 /// Check whether the PCM is waiting to be built.