Home | History | Annotate | Download | only in Coverage

Lines Matching refs:Counter

94 Error RawCoverageMappingReader::decodeCounter(unsigned Value, Counter &C) {
95 auto Tag = Value & Counter::EncodingTagMask;
97 case Counter::Zero:
98 C = Counter::getZero();
100 case Counter::CounterValueReference:
101 C = Counter::getCounter(Value >> Counter::EncodingTagBits);
106 Tag -= Counter::Expression;
110 auto ID = Value >> Counter::EncodingTagBits;
114 C = Counter::getExpression(ID);
123 Error RawCoverageMappingReader::readCounter(Counter &C) {
134 << Counter::EncodingTagBits;
147 Counter C;
150 // Read the combined counter + region kind.
155 unsigned Tag = EncodedCounterAndRegion & Counter::EncodingTagMask;
157 if (Tag != Counter::Zero) {
165 Counter::EncodingCounterTagAndExpansionRegionTagBits;
170 Counter::EncodingCounterTagAndExpansionRegionTagBits) {
172 // Don't do anything when we have a code region with a zero counter.
211 dbgs() << "Counter in file " << InferredFileID << " " << LineStart << ":"
256 CounterExpression(CounterExpression::Subtract, Counter(), Counter()));
273 // i.e. Counter of expansion region = counter of the first region
323 unsigned Tag = EncodedCounterAndRegion & Counter::EncodingTagMask;
324 return Tag == Counter::Zero;