Modules

Structs

  • Associates a source range with a specific counter. The equivalent llvm type is CountedRegion.
  • A Counter is an abstract value that describes how to compute the execution count for a region of code using the collected profile count data. The equivalent type in llvm would be Counter.
  • Associates a source code reader with a specific counter. The equivalent type in llvm would be CounterMappingRegion.
  • Coverage mapping information for a single function. The equivalent llvm type is CoverageMappingRecord.
  • The execution count information starting at a point in a file. A sequence of execution counters for a file in a format hat’s simple to iterate over for processing. The equivalent llvm type is CoverageSegment.
  • A counter expression is a value that represents an arithmetic operation between two counters. The equivalent llvm type would be CounterExpression.
  • This is the code coverage information for a single function. It is equivalent to FunctionRecord but has been renamed to avoid confusion with FunctionRecordV3 etc
  • This type contains a header showing which function it refers to and then a list of regions in that function and a list of expressions. The expression IDs in the counter mapping region refer to indexes in the expressions list.
  • Refers to a location in the source code

Enums

  • Represents the type of a counter. The equivalent type in llvm would be Counter::CounterKind.
  • This is the type of a counter expression. The equivalent type in llvm would be CounterExpression::ExprKind an inner enum.
  • Defines what type of region a counter maps to. The equivalent type in llvm would be CounterMappingRegion::RegionKind.