14#ifndef LLVM_PROFILEDATA_COVERAGE_COVERAGEMAPPINGWRITER_H
15#define LLVM_PROFILEDATA_COVERAGE_COVERAGEMAPPINGWRITER_H
50 : VirtualFileMapping(VirtualFileMapping), Expressions(Expressions),
51 MappingRegions(MappingRegions) {}
68 : ProfileNamesAddr(ProfileNamesAddr), ProfileNamesData(ProfileNamesData),
69 CoverageMappingData(CoverageMappingData),
70 CoverageRecordsData(CoverageRecordsData) {}
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
MutableArrayRef - Represent a mutable reference to an array (0 or more elements consecutively in memo...
StringRef - Represent a constant reference to a string, i.e.
Writer of the filenames section for the instrumentation based code coverage.
void write(raw_ostream &OS, bool Compress=true)
Write encoded filenames to the given output stream.
Writer for instrumentation based coverage mapping data.
CoverageMappingWriter(ArrayRef< unsigned > VirtualFileMapping, ArrayRef< CounterExpression > Expressions, MutableArrayRef< CounterMappingRegion > MappingRegions)
void write(raw_ostream &OS)
Write encoded coverage mapping data to the given output stream.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.