Home | History | Annotate | Download | only in Coverage

Lines Matching refs:Counter

38   void mark(Counter C) {
47 void gatherUsed(Counter C) {
69 /// \brief Adjust the given counter to correctly transition from the old
71 Counter adjust(Counter C) const {
73 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]);
79 /// \brief Encode the counter.
83 /// Counter::Zero(0) - A Counter with kind Counter::Zero
84 /// Counter::CounterValueReference(1) - A counter with kind
85 /// Counter::CounterValueReference
86 /// Counter::Expression(2) + CounterExpression::Subtract(0) -
87 /// A counter with kind Counter::Expression and an expression
89 /// Counter::Expression(2) + CounterExpression::Add(1) -
90 /// A counter with kind Counter::Expression and an expression
92 /// Remaining bits - Counter/Expression ID.
94 Counter C) {
100 (std::numeric_limits<unsigned>::max() >> Counter::EncodingTagBits));
101 return Tag | (ID << Counter::EncodingTagBits);
104 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C,
147 Counter Count = Minimizer.adjust(I->Count);
156 Counter::EncodingCounterTagAndExpansionRegionTagBits));
157 // Mark an expansion region with a set bit that follows the counter tag,
160 (1 << Counter::EncodingTagBits) |
162 << Counter::EncodingCounterTagAndExpansionRegionTagBits);
169 << Counter::EncodingCounterTagAndExpansionRegionTagBits,