LLVM API Documentation
#include <GCOV.h>
Classes | |
struct | GCOVCoverage |
struct | LineData |
Public Member Functions | |
FileInfo (const GCOVOptions &Options) | |
void | addBlockLine (StringRef Filename, uint32_t Line, const GCOVBlock *Block) |
void | addFunctionLine (StringRef Filename, uint32_t Line, const GCOVFunction *Function) |
void | setRunCount (uint32_t Runs) |
void | setProgramCount (uint32_t Programs) |
void | print (StringRef MainFilename, StringRef GCNOFile, StringRef GCDAFile) |
print - Print source files with collected line count information. |
llvm::FileInfo::FileInfo | ( | const GCOVOptions & | Options | ) | [inline] |
void llvm::FileInfo::addBlockLine | ( | StringRef | Filename, |
uint32_t | Line, | ||
const GCOVBlock * | Block | ||
) | [inline] |
Definition at line 383 of file GCOV.h.
Referenced by llvm::GCOVBlock::collectLineCounts().
void llvm::FileInfo::addFunctionLine | ( | StringRef | Filename, |
uint32_t | Line, | ||
const GCOVFunction * | Function | ||
) | [inline] |
Definition at line 388 of file GCOV.h.
Referenced by llvm::GCOVFunction::collectLineCounts().
void FileInfo::print | ( | StringRef | MainFilename, |
StringRef | GCNOFile, | ||
StringRef | GCDAFile | ||
) |
print - Print source files with collected line count information.
Definition at line 531 of file GCOV.cpp.
References llvm::GCOVOptions::AllBlocks, llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::StringMap< ValueTy, AllocatorTy >::begin(), llvm::GCOVOptions::BranchInfo, llvm::GCOVBlock::dst_begin(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT >, KeyT, ValueT, KeyInfoT >::end(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::find(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT >, KeyT, ValueT, KeyInfoT >::find(), llvm::format(), llvm::GCOVOptions::FuncCoverage, llvm::GCOVBlock::getCount(), llvm::GCOVBlock::getLastLine(), llvm::GCOVFunction::getName(), llvm::GCOVBlock::getNumDstEdges(), llvm::GCOVBlock::getParent(), I, llvm::MapVector< KeyT, ValueT, MapType, VectorType >::insert(), llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), and llvm::GCOVOptions::UncondBranch.
void llvm::FileInfo::setProgramCount | ( | uint32_t | Programs | ) | [inline] |
Definition at line 395 of file GCOV.h.
Referenced by llvm::GCOVFile::collectLineCounts().
void llvm::FileInfo::setRunCount | ( | uint32_t | Runs | ) | [inline] |
Definition at line 394 of file GCOV.h.
Referenced by llvm::GCOVFile::collectLineCounts().