LLVM  8.0.0svn
Public Types | Public Member Functions | Protected Attributes | List of all members
llvm::CodeGenCoverage Class Reference

#include "llvm/Support/CodeGenCoverage.h"

Collaboration diagram for llvm::CodeGenCoverage:
Collaboration graph
[legend]

Public Types

using const_covered_iterator = BitVector::const_set_bits_iterator
 

Public Member Functions

 CodeGenCoverage ()
 
void setCovered (uint64_t RuleID)
 
bool isCovered (uint64_t RuleID) const
 
iterator_range< const_covered_iteratorcovered () const
 
bool parse (MemoryBuffer &Buffer, StringRef BackendName)
 
bool emit (StringRef FilePrefix, StringRef BackendName) const
 
void reset ()
 

Protected Attributes

BitVector RuleCoverage
 

Detailed Description

Definition at line 21 of file CodeGenCoverage.h.

Member Typedef Documentation

◆ const_covered_iterator

Definition at line 26 of file CodeGenCoverage.h.

Constructor & Destructor Documentation

◆ CodeGenCoverage()

CodeGenCoverage::CodeGenCoverage ( )

Definition at line 33 of file CodeGenCoverage.cpp.

Member Function Documentation

◆ covered()

iterator_range< CodeGenCoverage::const_covered_iterator > CodeGenCoverage::covered ( ) const

◆ emit()

bool CodeGenCoverage::emit ( StringRef  FilePrefix,
StringRef  BackendName 
) const

◆ isCovered()

bool CodeGenCoverage::isCovered ( uint64_t  RuleID) const

Definition at line 41 of file CodeGenCoverage.cpp.

References RuleCoverage, and llvm::BitVector::size().

◆ parse()

bool CodeGenCoverage::parse ( MemoryBuffer Buffer,
StringRef  BackendName 
)

◆ reset()

void CodeGenCoverage::reset ( )

Definition at line 125 of file CodeGenCoverage.cpp.

References llvm::BitVector::resize(), and RuleCoverage.

◆ setCovered()

void CodeGenCoverage::setCovered ( uint64_t  RuleID)

Member Data Documentation

◆ RuleCoverage

BitVector llvm::CodeGenCoverage::RuleCoverage
protected

Definition at line 23 of file CodeGenCoverage.h.

Referenced by covered(), emit(), isCovered(), reset(), and setCovered().


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