Lines Matching refs:Buffer
21 return I->second.Buffer ? Tentative : ToBuild; in getPCMState()
26 std::unique_ptr<llvm::MemoryBuffer> Buffer) { in addPCM() argument
27 auto Insertion = PCMs.insert(std::make_pair(Filename, std::move(Buffer))); in addPCM()
29 return *Insertion.first->second.Buffer; in addPCM()
34 std::unique_ptr<llvm::MemoryBuffer> Buffer) { in addBuiltPCM() argument
37 assert(!PCM.Buffer && "Trying to override tentative PCM?"); in addBuiltPCM()
38 PCM.Buffer = std::move(Buffer); in addBuiltPCM()
40 return *PCM.Buffer; in addBuiltPCM()
48 return I->second.Buffer.get(); in lookupPCM()
64 assert(PCM.Buffer && "PCM to remove is scheduled to be built..."); in tryToDropPCM()
69 PCM.Buffer.reset(); in tryToDropPCM()
78 assert(PCM.Buffer && "Trying to finalize a dropped PCM..."); in finalizePCM()