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

#include "llvm/Support/CodeGenCoverage.h"

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 19 of file CodeGenCoverage.h.

Member Typedef Documentation

◆ const_covered_iterator

Definition at line 24 of file CodeGenCoverage.h.

Constructor & Destructor Documentation

◆ CodeGenCoverage()

CodeGenCoverage::CodeGenCoverage ( )

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 32 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 111 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 21 of file CodeGenCoverage.h.

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

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