LLVM API Documentation
GCOVBlock - Collects block information. More...
#include <GCOV.h>
Public Member Functions | |
| GCOVBlock (uint32_t N) | |
| ~GCOVBlock () | |
| ~GCOVBlock - Delete GCOVBlock and its content. | |
| void | addEdge (uint32_t N) |
| void | addLine (StringRef Filename, uint32_t LineNo) |
| void | addCount (uint64_t N) |
| void | dump () |
| dump - Dump GCOVBlock content on standard out for debugging purposes. | |
| void | collectLineCounts (FileInfo &FI) |
| GCOVBlock::~GCOVBlock | ( | ) |
~GCOVBlock - Delete GCOVBlock and its content.
Definition at line 175 of file GCOV.cpp.
References llvm::SmallVectorImpl< T >::clear(), and llvm::DeleteContainerSeconds().
| void llvm::GCOVBlock::addEdge | ( | uint32_t | N | ) | [inline] |
Definition at line 191 of file GCOV.h.
References llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
| void GCOVBlock::addLine | ( | StringRef | Filename, |
| uint32_t | LineNo | ||
| ) |
Definition at line 180 of file GCOV.cpp.
References llvm::GCOVLines::add().
Referenced by llvm::GCOVFunction::read().
| void GCOVBlock::collectLineCounts | ( | FileInfo & | FI | ) |
collectLineCounts - Collect line counts. This must be used after reading .gcno and .gcda files.
Definition at line 189 of file GCOV.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::begin(), llvm::StringMap< ValueTy, AllocatorTy >::end(), and I.
| void GCOVBlock::dump | ( | ) |
dump - Dump GCOVBlock content on standard out for debugging purposes.
Definition at line 196 of file GCOV.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::StringMap< ValueTy, AllocatorTy >::begin(), llvm::SmallVectorBase::empty(), llvm::StringMapImpl::empty(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::StringMap< ValueTy, AllocatorTy >::end(), I, llvm::A64CC::LE, LI, and llvm::outs().