LLVM: llvm::BlockCoverageInference Class Reference (original) (raw)

#include "[llvm/Transforms/Instrumentation/BlockCoverageInference.h](BlockCoverageInference%5F8h%5Fsource.html)"

Public Member Functions
BlockCoverageInference (const Function &F, bool ForceInstrumentEntry)
bool shouldInstrumentBlock (const BasicBlock &BB) const
BlockSet getDependencies (const BasicBlock &BB) const
uint64_t getInstrumentedBlocksHash () const
void dump (raw_ostream &OS) const
Dump the inference graph.
void viewBlockCoverageGraph (const DenseMap< const BasicBlock *, bool > *Coverage=nullptr) const
View the inferred block coverage as a dot file.
Friends
class DotFuncBCIInfo

Definition at line 29 of file BlockCoverageInference.h.

BlockSet

BlockCoverageInference::BlockCoverageInference ( const Function & F,
bool ForceInstrumentEntry )

dump()

void BlockCoverageInference::dump ( raw_ostream & OS ) const

getDependencies()

getInstrumentedBlocksHash()

uint64_t BlockCoverageInference::getInstrumentedBlocksHash ( ) const

shouldInstrumentBlock()

viewBlockCoverageGraph()

View the inferred block coverage as a dot file.

Filled gray blocks are instrumented, red outlined blocks are found to be covered, red edges show that a block's coverage can be inferred from its successors, and blue edges show that a block's coverage can be inferred from its predecessors.

Definition at line 332 of file BlockCoverageInference.cpp.

References DotFuncBCIInfo, Info, and llvm::WriteGraph().

DotFuncBCIInfo


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