/external/llvm-project/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 49 void PrintTo(const CoverageSegment &S, ::std::ostream *os) { in PrintTo() 354 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() 357 EXPECT_EQ(CoverageSegment(1, 1, 10, true), Segments[0]); in TEST_P() 358 EXPECT_EQ(CoverageSegment(5, 5, false), Segments[1]); in TEST_P() 361 EXPECT_EQ(CoverageSegment(2, 2, 20, true), Segments[0]); in TEST_P() 362 EXPECT_EQ(CoverageSegment(6, 6, false), Segments[1]); in TEST_P() 381 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() 384 EXPECT_EQ(CoverageSegment(1, 1, 6, true), Segments[0]); in TEST_P() 385 EXPECT_EQ(CoverageSegment(2, 2, false), Segments[1]); in TEST_P() 399 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() [all …]
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 41 void PrintTo(const CoverageSegment &S, ::std::ostream *os) { in PrintTo() 308 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() 311 EXPECT_EQ(CoverageSegment(1, 1, 10, true), Segments[0]); in TEST_P() 312 EXPECT_EQ(CoverageSegment(5, 5, false), Segments[1]); in TEST_P() 315 EXPECT_EQ(CoverageSegment(2, 2, 20, true), Segments[0]); in TEST_P() 316 EXPECT_EQ(CoverageSegment(6, 6, false), Segments[1]); in TEST_P() 349 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() 351 ASSERT_EQ(CoverageSegment(1, 1, 20, true), Segments[0]); in TEST_P() 352 ASSERT_EQ(CoverageSegment(4, 7, 30, false), Segments[1]); in TEST_P() 353 ASSERT_EQ(CoverageSegment(5, 8, 10, true), Segments[2]); in TEST_P() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 385 struct CoverageSegment { struct 399 CoverageSegment(unsigned Line, unsigned Col, bool IsRegionEntry) in CoverageSegment() function 403 CoverageSegment(unsigned Line, unsigned Col, uint64_t Count, 408 friend bool operator==(const CoverageSegment &L, const CoverageSegment &R) { argument 482 std::vector<CoverageSegment> Segments; 495 std::vector<CoverageSegment>::const_iterator begin() const { in begin() 499 std::vector<CoverageSegment>::const_iterator end() const { in end() 606 ArrayRef<const CoverageSegment *> LineSegments; 607 const CoverageSegment *WrappedSegment; 613 LineCoverageStats(ArrayRef<const CoverageSegment *> LineSegments, [all …]
|
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 387 struct CoverageSegment { struct 401 CoverageSegment(unsigned Line, unsigned Col, bool IsRegionEntry) in CoverageSegment() argument 405 CoverageSegment(unsigned Line, unsigned Col, uint64_t Count, 410 friend bool operator==(const CoverageSegment &L, const CoverageSegment &R) { argument 484 std::vector<CoverageSegment> Segments; 497 std::vector<CoverageSegment>::const_iterator begin() const { in begin() 501 std::vector<CoverageSegment>::const_iterator end() const { in end() 608 ArrayRef<const CoverageSegment *> LineSegments; 609 const CoverageSegment *WrappedSegment; 615 LineCoverageStats(ArrayRef<const CoverageSegment *> LineSegments, [all …]
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 371 struct CoverageSegment { struct 383 CoverageSegment(unsigned Line, unsigned Col, bool IsRegionEntry) in CoverageSegment() argument 387 CoverageSegment(unsigned Line, unsigned Col, uint64_t Count, in CoverageSegment() argument 392 friend bool operator==(const CoverageSegment &L, const CoverageSegment &R) { 405 std::vector<CoverageSegment> Segments; 421 std::vector<CoverageSegment>::iterator begin() { return Segments.begin(); } in begin() 422 std::vector<CoverageSegment>::iterator end() { return Segments.end(); } in end()
|
/external/llvm/tools/llvm-cov/ |
D | SourceCoverageViewText.h | 50 const coverage::CoverageSegment *WrappedSegment, 55 const coverage::CoverageSegment *WrappedSegment,
|
D | SourceCoverageViewHTML.h | 50 const coverage::CoverageSegment *WrappedSegment, 55 const coverage::CoverageSegment *WrappedSegment,
|
D | SourceCoverageView.h | 183 using CoverageSegmentArray = ArrayRef<const coverage::CoverageSegment *>; 208 const coverage::CoverageSegment *WrappedSegment, 227 const coverage::CoverageSegment *WrappedSegment,
|
D | SourceCoverageViewHTML.cpp | 287 raw_ostream &OS, LineRef L, const coverage::CoverageSegment *WrappedSegment, in renderLine() 332 auto CheckIfUncovered = [](const coverage::CoverageSegment *S) { in renderLine() 415 raw_ostream &OS, LineRef L, const coverage::CoverageSegment *WrappedSegment, in renderExpansionSite()
|
D | SourceCoverageViewText.cpp | 92 const coverage::CoverageSegment *WrappedSegment, in renderLine() 189 raw_ostream &OS, LineRef L, const coverage::CoverageSegment *WrappedSegment, in renderExpansionSite()
|
D | SourceCoverageView.cpp | 157 const coverage::CoverageSegment *WrappedSegment = nullptr; in print() 158 SmallVector<const coverage::CoverageSegment *, 8> LineSegments; in print()
|
/external/llvm-project/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 369 std::vector<CoverageSegment> &Segments; 372 SegmentBuilder(std::vector<CoverageSegment> &Segments) : Segments(Segments) {} in SegmentBuilder() 573 static std::vector<CoverageSegment> 575 std::vector<CoverageSegment> Segments; in buildSegments() 750 ArrayRef<const CoverageSegment *> LineSegments, in LineCoverageStats() 751 const CoverageSegment *WrappedSegment, unsigned Line) in LineCoverageStats() 756 auto isStartOfRegion = [](const CoverageSegment *S) { in LineCoverageStats()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 368 std::vector<CoverageSegment> &Segments; 371 SegmentBuilder(std::vector<CoverageSegment> &Segments) : Segments(Segments) {} in SegmentBuilder() 566 static std::vector<CoverageSegment> 568 std::vector<CoverageSegment> Segments; in buildSegments() 741 ArrayRef<const CoverageSegment *> LineSegments, in LineCoverageStats() 742 const CoverageSegment *WrappedSegment, unsigned Line) in LineCoverageStats() 747 auto isStartOfRegion = [](const CoverageSegment *S) { in LineCoverageStats()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 280 std::vector<CoverageSegment> &Segments; 283 SegmentBuilder(std::vector<CoverageSegment> &Segments) : Segments(Segments) {} in SegmentBuilder() 399 static std::vector<CoverageSegment> 401 std::vector<CoverageSegment> Segments; in buildSegments()
|
/external/llvm-project/llvm/tools/llvm-cov/ |
D | SourceCoverageView.h | 158 using CoverageSegmentArray = ArrayRef<const CoverageSegment *>;
|
D | CoverageExporterJson.cpp | 74 json::Array renderSegment(const coverage::CoverageSegment &Segment) { in renderSegment()
|
D | SourceCoverageView.cpp | 91 const auto MinSegIt = find_if(CoverageInfo, [](const CoverageSegment &S) { in getFirstUncoveredLineNo()
|
D | SourceCoverageViewHTML.cpp | 538 auto CheckIfUncovered = [&](const CoverageSegment *S) { in renderLine()
|