Lines Matching full:mapping
1 //===--- CoverageMappingGen.cpp - Coverage mapping generation ---*- C++ -*-===//
10 // Instrumentation-based code coverage mapping generator
85 /// coverage mapping region builders.
93 /// \brief Map of clang's FileIDs to IDs used for coverage mapping.
98 /// \brief The coverage mapping regions for this function
100 /// \brief The source mapping regions for this function.
155 /// Fills \c Mapping with the virtual file mapping needed to write out
158 void gatherFileIDs(SmallVectorImpl<unsigned> &Mapping) {
185 FileIDMapping[SM.getFileID(Loc)] = std::make_pair(Mapping.size(), Loc);
186 Mapping.push_back(CVM.getFileID(Entry));
190 /// \brief Get the coverage mapping file ID for \c Loc.
194 auto Mapping = FileIDMapping.find(SM.getFileID(Loc));
195 if (Mapping != FileIDMapping.end())
196 return Mapping->second.first;
210 /// for mapping regions from the appropriate source files.
246 /// \brief Generate the coverage counter mapping regions from collected
264 // Find the spilling locations for the mapping region.
321 /// \brief Write the mapping data to the output stream
332 /// \brief A StmtVisitor that creates coverage mapping regions which map
560 /// \brief Write the mapping data to the output stream
919 // Dump the coverage mapping data for this function by decoding the
920 mapping regions which were