LLVM  7.0.0svn
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

Public Member Functions

 CodeGenCoverage ()
void setCovered (uint64_t RuleID)
bool isCovered (uint64_t RuleID)
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.

Constructor & Destructor Documentation

◆ CodeGenCoverage()

CodeGenCoverage::CodeGenCoverage ( )

Definition at line 33 of file CodeGenCoverage.cpp.

Member Function Documentation

◆ emit()

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

◆ isCovered()

bool CodeGenCoverage::isCovered ( uint64_t  RuleID)

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 120 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

Definition at line 23 of file CodeGenCoverage.h.

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

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