LLVM API Documentation

Public Member Functions
llvm::coverage::CounterMappingContext Class Reference

A Counter mapping context is used to connect the counters, expressions and the obtained counter values. More...

#include <CoverageMapping.h>

List of all members.

Public Member Functions

 CounterMappingContext (ArrayRef< CounterExpression > Expressions, ArrayRef< uint64_t > CounterValues=ArrayRef< uint64_t >())
void dump (const Counter &C, llvm::raw_ostream &OS) const
void dump (const Counter &C) const
ErrorOr< int64_t > evaluate (const Counter &C) const
 Return the number of times that a region of code associated with this counter was executed.

Detailed Description

A Counter mapping context is used to connect the counters, expressions and the obtained counter values.

Definition at line 202 of file CoverageMapping.h.


Constructor & Destructor Documentation

llvm::coverage::CounterMappingContext::CounterMappingContext ( ArrayRef< CounterExpression Expressions,
ArrayRef< uint64_t >  CounterValues = ArrayRef<uint64_t>() 
) [inline]

Definition at line 207 of file CoverageMapping.h.


Member Function Documentation

Definition at line 212 of file CoverageMapping.h.

References dump(), and llvm::outs().

Referenced by dump().


The documentation for this class was generated from the following files: