/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 47 ArrayRef<CounterMappingRegion> MappingRegions) in CounterExpressionsMinimizer() 121 [](const CounterMappingRegion &CMR) { in write() 130 [](const CounterMappingRegion &LHS, const CounterMappingRegion &RHS) { in write() 173 case CounterMappingRegion::CodeRegion: in write() 174 case CounterMappingRegion::GapRegion: in write() 177 case CounterMappingRegion::ExpansionRegion: { in write() 191 case CounterMappingRegion::SkippedRegion: in write()
|
D | CoverageMappingReader.cpp | 154 std::vector<CounterMappingRegion> &MappingRegions, unsigned InferredFileID, in readMappingRegionsSubArray() 162 CounterMappingRegion::RegionKind Kind = CounterMappingRegion::CodeRegion; in readMappingRegionsSubArray() 177 Kind = CounterMappingRegion::ExpansionRegion; in readMappingRegionsSubArray() 185 case CounterMappingRegion::CodeRegion: in readMappingRegionsSubArray() 188 case CounterMappingRegion::SkippedRegion: in readMappingRegionsSubArray() 189 Kind = CounterMappingRegion::SkippedRegion; in readMappingRegionsSubArray() 214 Kind = CounterMappingRegion::GapRegion; in readMappingRegionsSubArray() 235 if (Kind == CounterMappingRegion::ExpansionRegion) in readMappingRegionsSubArray() 242 auto CMR = CounterMappingRegion(C, InferredFileID, ExpandedFileID, in readMappingRegionsSubArray() 300 SmallVector<CounterMappingRegion *, 8> FileIDExpansionRegionMapping; in read() [all …]
|
D | CoverageMapping.cpp | 332 (Region.Kind != CounterMappingRegion::SkippedRegion); in startSegment() 345 Region.Kind == CounterMappingRegion::GapRegion); in startSegment() 433 bool GapRegion = CR.value().Kind == CounterMappingRegion::GapRegion; in buildSegmentsImpl() 474 static_assert(CounterMappingRegion::CodeRegion < in sortNestedRegions() 475 CounterMappingRegion::ExpansionRegion && in sortNestedRegions() 476 CounterMappingRegion::ExpansionRegion < in sortNestedRegions() 477 CounterMappingRegion::SkippedRegion, in sortNestedRegions() 579 if (CR.Kind == CounterMappingRegion::ExpansionRegion) in findMainViewFileID() 598 return R.Kind == CounterMappingRegion::ExpansionRegion && R.FileID == FileID; in isExpansion()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 190 struct CounterMappingRegion { struct 210 CounterMappingRegion(Counter Count, unsigned FileID, unsigned ExpandedFileID, in CounterMappingRegion() argument 217 static CounterMappingRegion 220 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() argument 224 static CounterMappingRegion 227 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() argument 232 static CounterMappingRegion 235 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() argument 248 bool operator<(const CounterMappingRegion &Other) const { argument 254 bool contains(const CounterMappingRegion &Other) const { in contains() argument [all …]
|
D | CoverageMappingWriter.h | 43 MutableArrayRef<CounterMappingRegion> MappingRegions; 48 MutableArrayRef<CounterMappingRegion> MappingRegions) in CoverageMappingWriter() 53 MutableArrayRef<CounterMappingRegion> MappingRegions) in CoverageMappingWriter()
|
D | CoverageMappingReader.h | 39 ArrayRef<CounterMappingRegion> MappingRegions; 121 std::vector<CounterMappingRegion> &MappingRegions; 132 std::vector<CounterMappingRegion> &MappingRegions) in RawCoverageMappingReader() 144 readMappingRegionsSubArray(std::vector<CounterMappingRegion> &MappingRegions, 175 std::vector<CounterMappingRegion> MappingRegions;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 205 struct CounterMappingRegion { struct 229 CounterMappingRegion(Counter Count, unsigned FileID, unsigned ExpandedFileID, in CounterMappingRegion() argument 236 static CounterMappingRegion 239 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() argument 243 static CounterMappingRegion 246 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() argument 251 static CounterMappingRegion 254 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() argument 258 static CounterMappingRegion 261 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeGapRegion() argument [all …]
|
D | CoverageMappingReader.h | 41 ArrayRef<CounterMappingRegion> MappingRegions; 146 std::vector<CounterMappingRegion> &MappingRegions; 153 std::vector<CounterMappingRegion> &MappingRegions) in RawCoverageMappingReader() 168 readMappingRegionsSubArray(std::vector<CounterMappingRegion> &MappingRegions, 199 std::vector<CounterMappingRegion> MappingRegions;
|
D | CoverageMappingWriter.h | 45 MutableArrayRef<CounterMappingRegion> MappingRegions; 50 MutableArrayRef<CounterMappingRegion> MappingRegions) in CoverageMappingWriter()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 58 ArrayRef<CounterMappingRegion> MappingRegions) in CounterExpressionsMinimizer() 149 case CounterMappingRegion::CodeRegion: in write() 152 case CounterMappingRegion::ExpansionRegion: { in write() 166 case CounterMappingRegion::SkippedRegion: in write()
|
D | CoverageMappingReader.cpp | 140 std::vector<CounterMappingRegion> &MappingRegions, unsigned InferredFileID, in readMappingRegionsSubArray() 148 CounterMappingRegion::RegionKind Kind = CounterMappingRegion::CodeRegion; in readMappingRegionsSubArray() 163 Kind = CounterMappingRegion::ExpansionRegion; in readMappingRegionsSubArray() 171 case CounterMappingRegion::CodeRegion: in readMappingRegionsSubArray() 174 case CounterMappingRegion::SkippedRegion: in readMappingRegionsSubArray() 175 Kind = CounterMappingRegion::SkippedRegion; in readMappingRegionsSubArray() 214 if (Kind == CounterMappingRegion::ExpansionRegion) in readMappingRegionsSubArray() 221 MappingRegions.push_back(CounterMappingRegion( in readMappingRegionsSubArray() 277 SmallVector<CounterMappingRegion *, 8> FileIDExpansionRegionMapping; in read() 281 if (R.Kind != CounterMappingRegion::ExpansionRegion) in read()
|
D | CoverageMapping.cpp | 300 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment() 354 static_assert(coverage::CounterMappingRegion::CodeRegion < in sortNestedRegions() 355 coverage::CounterMappingRegion::ExpansionRegion && in sortNestedRegions() 356 coverage::CounterMappingRegion::ExpansionRegion < in sortNestedRegions() 357 coverage::CounterMappingRegion::SkippedRegion, in sortNestedRegions() 437 if (CR.Kind == CounterMappingRegion::ExpansionRegion) in findMainViewFileID() 456 return R.Kind == CounterMappingRegion::ExpansionRegion && R.FileID == FileID; in isExpansion()
|
/external/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.cpp | 25 if (CR.Kind != CounterMappingRegion::CodeRegion) in get() 56 if (CR.Kind == CounterMappingRegion::SkippedRegion) { in get()
|
D | SourceCoverageView.h | 28 coverage::CounterMappingRegion Region; 31 ExpansionView(const coverage::CounterMappingRegion &Region, in ExpansionView() 270 void addExpansion(const coverage::CounterMappingRegion &Region,
|
D | SourceCoverageView.cpp | 125 const coverage::CounterMappingRegion &Region, in addExpansion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | SourceCoverageView.h | 32 CounterMappingRegion Region; 35 ExpansionView(const CounterMappingRegion &Region, in ExpansionView() 252 void addExpansion(const CounterMappingRegion &Region,
|
D | CoverageSummaryInfo.cpp | 26 if (CR.Kind != CounterMappingRegion::CodeRegion) in get()
|
D | SourceCoverageView.cpp | 158 const CounterMappingRegion &Region, in addExpansion()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 90 llvm::SmallVector<CounterMappingRegion, 32> MappingRegions; 239 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() 278 MappingRegions.push_back(CounterMappingRegion::makeRegion( in emitSourceRegions() 307 MappingRegions.push_back(CounterMappingRegion::makeExpansion( in emitExpansionRegions() 935 ArrayRef<CounterMappingRegion> Regions) { in dump() 941 case CounterMappingRegion::CodeRegion: in dump() 943 case CounterMappingRegion::ExpansionRegion: in dump() 946 case CounterMappingRegion::SkippedRegion: in dump() 954 if (R.Kind == CounterMappingRegion::ExpansionRegion) in dump() 993 std::vector<CounterMappingRegion> Regions; in addFunctionMappingRecord()
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 56 std::vector<CounterMappingRegion> Regions; 94 std::vector<CounterMappingRegion> Regions; 146 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeRegion( in addCMR() 152 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeExpansion( in addExpansionCMR() 332 ASSERT_EQ(CounterMappingRegion::ExpansionRegion, Output.Regions[2].Kind); in TEST_P()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 65 std::vector<CounterMappingRegion> Regions; 114 std::vector<CounterMappingRegion> Regions; 181 Skipped ? CounterMappingRegion::makeSkipped(FileID, LS, CS, LE, CE) in addCMR() 182 : CounterMappingRegion::makeRegion(C, FileID, LS, CS, LE, CE)); in addCMR() 187 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeExpansion( in addExpansionCMR() 639 ASSERT_EQ(CounterMappingRegion::ExpansionRegion, Output.Regions[2].Kind); in TEST_P()
|