LLVM API Documentation
GCOVFunction - Collects function information. More...
#include <GCOV.h>
Public Member Functions | |
GCOVFunction () | |
~GCOVFunction () | |
~GCOVFunction - Delete GCOVFunction and its content. More... | |
bool | read (GCOVBuffer &Buffer, GCOV::GCOVFormat Format) |
StringRef | getFilename () const |
void | dump () |
dump - Dump GCOVFunction content to dbgs() for debugging purposes. More... | |
void | collectLineCounts (FileInfo &FI) |
GCOVFunction - Collects function information.
GCOVFunction::~GCOVFunction | ( | ) |
~GCOVFunction - Delete GCOVFunction and its content.
Definition at line 107 of file GCOV.cpp.
References llvm::DeleteContainerPointers().
void GCOVFunction::collectLineCounts | ( | FileInfo & | FI | ) |
void GCOVFunction::dump | ( | ) |
dump - Dump GCOVFunction content to dbgs() for debugging purposes.
Definition at line 224 of file GCOV.cpp.
References llvm::dbgs(), and I.
|
inline |
Definition at line 213 of file GCOV.h.
Referenced by llvm::GCOVBlock::collectLineCounts().
bool GCOVFunction::read | ( | GCOVBuffer & | Buff, |
GCOV::GCOVFormat | Format | ||
) |
read - Read a function from the buffer. Return false if buffer cursor does not point to a function tag.
Definition at line 113 of file GCOV.cpp.
References llvm::GCOVBlock::addCount(), llvm::GCOVBlock::addLine(), llvm::NVPTXISD::Dummy, llvm::errs(), F(), llvm::GCOV::GCDA_402, llvm::GCOV::GCDA_404, llvm::GCOV::GCNO_402, llvm::GCOV::GCNO_404, llvm::GCOVBuffer::getCursor(), llvm::GCOVBlock::getNumEdges(), llvm::GCOVBuffer::readArcTag(), llvm::GCOVBuffer::readBlockTag(), llvm::GCOVBuffer::readEdgeTag(), llvm::GCOVBuffer::readInt(), llvm::GCOVBuffer::readInt64(), llvm::GCOVBuffer::readLineTag(), and llvm::GCOVBuffer::readString().
Referenced by llvm::GCOVFile::read().