Lines Matching refs:Writer
1 //===--- Bitcode/Writer/BitcodeWriter.cpp - Bitcode Writer ----------------===//
10 // Bitcode writer implementation.
41 /// These are manifest constants used by the bitcode writer. They do not need to
309 const IndexBitcodeWriter &Writer;
331 /// Construct iterator from parent \p Writer and indicate if we are
333 iterator(const IndexBitcodeWriter &Writer, bool IsAtEnd) : Writer(Writer) {
338 if (Writer.ModuleToSummariesForIndex &&
339 !Writer.ModuleToSummariesForIndex->empty()) {
340 for (ModuleSummariesBack = Writer.ModuleToSummariesForIndex->begin();
342 Writer.ModuleToSummariesForIndex->end();
346 ? Writer.ModuleToSummariesForIndex->begin()
350 } else if (!Writer.ModuleToSummariesForIndex &&
351 Writer.Index.begin() != Writer.Index.end()) {
352 for (IndexSummariesBack = Writer.Index.begin();
353 std::next(IndexSummariesBack) != Writer.Index.end();
357 !IsAtEnd ? Writer.Index.begin() : IndexSummariesBack;
368 if (Writer.ModuleToSummariesForIndex) {
389 if (Writer.ModuleToSummariesForIndex)
399 if (Writer.ModuleToSummariesForIndex) {
401 if (Writer.ModuleToSummariesForIndex !=
402 RHS.Writer.ModuleToSummariesForIndex)
406 if (Writer.ModuleToSummariesForIndex->empty())
416 if (RHS.Writer.ModuleToSummariesForIndex ||
417 &Writer.Index != &RHS.Writer.Index)
421 if (Writer.Index.begin() == Writer.Index.end())
3765 // Need a special VST writer for the combined index (we don't have a