Lines Matching refs:Counter

44 void PrintTo(const Counter &C, ::std::ostream *os) {
50 *os << "Counter " << C.getCounterID();
182 void addCMR(Counter C, StringRef File, unsigned LS, unsigned CS, unsigned LE,
193 addCMR(Counter::getZero(), File, LS, CS, LE, CE, true);
204 void addMCDCBranchCMR(Counter C1, Counter C2, mcdc::ConditionID ID,
298 auto C = [](unsigned ID) { return Counter::getCounter(ID); };
299 auto A = [&](Counter LHS, Counter RHS) { return Builder.add(LHS, RHS); };
301 auto getBranchCounterPair = [&](Counter E, Counter P, Counter N) {
335 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1);
336 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2);
337 addCMR(Counter::getZero(), "foo", 3, 1, 3, 4);
338 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8);
339 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4);
366 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1);
395 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1);
409 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5);
419 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5);
422 addCMR(Counter::getCounter(0), "bar", 2, 2, 6, 6);
449 addCMR(Counter::getCounter(0), "file1", 1, 1, 2, 2);
450 addCMR(Counter::getCounter(1), "file1", 1, 1, 2, 2);
451 addCMR(Counter::getCounter(2), "file1", 1, 1, 2, 2);
468 addCMR(Counter::getCounter(0), "file1", 1, 1, 5, 5);
469 addCMR(Counter::getCounter(0), "file1", 5, 1, 5, 5, /*Skipped=*/true);
496 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9); // < F
497 addCMR(Counter::getCounter(0), "file1", 1, 1, 3, 5); // < a
498 addCMR(Counter::getCounter(0), "file1", 3, 5, 5, 4); // < b
499 addCMR(Counter::getCounter(1), "file1", 3, 5, 7, 3); // < c
500 addCMR(Counter::getCounter(1), "file1", 7, 3, 9, 2); // < d
501 addCMR(Counter::getCounter(1), "file1", 7, 7, 9, 7); // < e
549 addCMR(Counter::getCounter(1), "file1", 2, 1, 18, 2);
550 addCMR(Counter::getCounter(0), "file1", 8, 10, 14, 6);
551 addCMR(Counter::getCounter(0), "file1", 8, 12, 14, 6);
552 addCMR(Counter::getCounter(1), "file1", 9, 1, 14, 6);
553 addCMR(Counter::getCounter(2), "file1", 11, 13, 11, 14);
576 addCMR(Counter::getCounter(0), "file1", 1, 1, 4, 4);
577 addCMR(Counter::getCounter(1), "file1", 2, 2, 5, 5);
578 addCMR(Counter::getCounter(0), "file1", 3, 3, 6, 6);
600 addCMR(Counter::getCounter(0), "file1", 1, 1, 6, 5);
601 addCMR(Counter::getCounter(0), "file1", 2, 2, 6, 5);
602 addCMR(Counter::getCounter(0), "file1", 3, 3, 6, 5);
603 addCMR(Counter::getCounter(0), "file1", 6, 5, 7, 7);
626 addCMR(Counter::getCounter(0), "file1", 1, 1, 1, 1);
627 addCMR(Counter::getCounter(1), "file1", 1, 1, 1, 1);
628 addCMR(Counter::getCounter(0), "file1", 1, 1, 1, 1);
629 addCMR(Counter::getCounter(1), "file1", 1, 1, 1, 1);
630 addCMR(Counter::getCounter(0), "file1", 1, 1, 1, 1);
648 addCMR(Counter::getCounter(0), "file1", 1, 5, 4, 4);
649 addCMR(Counter::getCounter(1), "file1", 1, 9, 1, 50);
650 addCMR(Counter::getCounter(1), "file1", 2, 7, 2, 34);
651 addCMR(Counter::getCounter(1), "file1", 3, 5, 3, 21);
652 addCMR(Counter::getCounter(1), "file1", 3, 21, 3, 21);
653 addCMR(Counter::getCounter(1), "file1", 4, 12, 4, 17);
681 addCMR(Counter::getCounter(0), "file1", 1, 1, 8, 8);
682 addCMR(Counter::getCounter(1), "file1", 2, 2, 5, 5);
683 addCMR(Counter::getCounter(2), "file1", 3, 3, 4, 4);
684 addCMR(Counter::getCounter(3), "file1", 6, 6, 7, 7);
705 addCMR(Counter::getCounter(1), "foo", 10, 1, 10, 2);
707 addCMR(Counter::getCounter(2), "foo", 1, 1, 20, 1);
715 ASSERT_EQ(Counter::getCounter(2), Output.Regions[2].Count);
723 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
724 addCMR(Counter::getCounter(1), "file1", 1, 1, 4, 7);
725 addCMR(Counter::getCounter(2), "file1", 5, 8, 9, 1);
726 addCMR(Counter::getCounter(3), "file1", 10, 10, 11, 11);
745 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
747 addCMR(Counter::getCounter(1), "file1", 1, 1, 4, 7);
749 addCMR(Counter::getCounter(2), "file1", 5, 8, 9, 1);
752 addCMR(Counter::getCounter(3), "file1", 10, 10, 11, 11);
780 addCMR(Counter::getZero(), "file1", 1, 2, 3, 4);
792 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
793 addCMR(Counter::getCounter(1), "file1", 1, 1, 4, 7);
808 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
809 addCMR(Counter::getCounter(1), "file1", 3, 3, 4, 4);
810 addCMR(Counter::getCounter(2), "file1", 3, 3, 4, 4);
826 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
827 addCMR(Counter::getCounter(1), "file1", 1, 1, 9, 9);
828 addCMR(Counter::getCounter(2), "file1", 3, 3, 5, 5);
847 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
848 addCMR(Counter::getCounter(1), "file1", 3, 3, 4, 4);
849 addCMR(Counter::getCounter(1), "include1", 6, 6, 7, 7);
867 addCMR(Counter::getCounter(1), "include1", 1, 1, 1, 10);
868 addCMR(Counter::getCounter(2), "include2", 1, 1, 1, 10);
869 addCMR(Counter::getCounter(0), "file", 1, 1, 5, 5);
889 addCMR(Counter::getCounter(0), "file", 1, 1, 5, 5);
890 addCMR(Counter::getExpression(0), "file", 6, 1, 6, 5);
892 CounterExpression::Add, Counter::getCounter(1), Counter::getCounter(2)));
909 addCMR(Counter::getCounter(0), "file", 1, 1, 5, 5);
910 addCMR(Counter::getCounter(1), "file", 1, 1, 5, 5);
911 addCMR(Counter::getCounter(2), "file", 1, 1, 5, 5);
912 addCMR(Counter::getCounter(3), "file", 1, 1, 5, 5);
915 addMCDCBranchCMR(Counter::getCounter(0), Counter::getCounter(1), 0, {-1, 1},
917 addMCDCBranchCMR(Counter::getCounter(2), Counter::getCounter(3), 1, {-1, -1},
934 addCMR(Counter::getCounter(0), "foo", 3, 23, 5, 2);
941 addCMR(Counter::getCounter(0), "A", 1, 14, 1, 17);
942 addCMR(Counter::getCounter(0), "A", 1, 14, 1, 17);
943 addMCDCBranchCMR(Counter::getCounter(0), Counter::getCounter(1), 0, {-1, 1},
945 addCMR(Counter::getCounter(1), "B", 1, 14, 1, 17);
946 addMCDCBranchCMR(Counter::getCounter(1), Counter::getCounter(2), 1, {-1, -1},
971 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
985 addCMR(Counter::getCounter(0), "", 1, 1, 9, 9);
1000 addCMR(Counter::getCounter(0), "expanded", 1, 1, 1, 10);
1004 addCMR(Counter::getCounter(0), "expanded", 1, 1, 1, 10);
1018 addCMR(Counter::getCounter(0), "expanded", 1, 1, 1, 10);
1035 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
1039 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
1040 addCMR(Counter::getCounter(0), "file2", 1, 1, 9, 9);
1044 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
1048 addCMR(Counter::getCounter(0), "file2", 1, 1, 9, 9);
1049 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
1053 addCMR(Counter::getCounter(0), "file1", 1, 1, 9, 9);
1054 addCMR(Counter::getCounter(0), "file2", 1, 1, 9, 9);