LLVM
8.0.1
|
GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific read operations. More...
#include "llvm/ProfileData/GCOV.h"
Public Member Functions | |
GCOVBuffer (MemoryBuffer *B) | |
bool | readGCNOFormat () |
readGCNOFormat - Check GCNO signature is valid at the beginning of buffer. More... | |
bool | readGCDAFormat () |
readGCDAFormat - Check GCDA signature is valid at the beginning of buffer. More... | |
bool | readGCOVVersion (GCOV::GCOVVersion &Version) |
readGCOVVersion - Read GCOV version. More... | |
bool | readFunctionTag () |
readFunctionTag - If cursor points to a function tag then increment the cursor and return true otherwise return false. More... | |
bool | readBlockTag () |
readBlockTag - If cursor points to a block tag then increment the cursor and return true otherwise return false. More... | |
bool | readEdgeTag () |
readEdgeTag - If cursor points to an edge tag then increment the cursor and return true otherwise return false. More... | |
bool | readLineTag () |
readLineTag - If cursor points to a line tag then increment the cursor and return true otherwise return false. More... | |
bool | readArcTag () |
readArcTag - If cursor points to an gcda arc tag then increment the cursor and return true otherwise return false. More... | |
bool | readObjectTag () |
readObjectTag - If cursor points to an object summary tag then increment the cursor and return true otherwise return false. More... | |
bool | readProgramTag () |
readProgramTag - If cursor points to a program summary tag then increment the cursor and return true otherwise return false. More... | |
bool | readInt (uint32_t &Val) |
bool | readInt64 (uint64_t &Val) |
bool | readString (StringRef &Str) |
uint64_t | getCursor () const |
void | advanceCursor (uint32_t n) |
GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific read operations.
|
inline |
|
inline |
Definition at line 235 of file GCOV.h.
Referenced by llvm::GCOVFile::readGCDA().
|
inline |
Definition at line 234 of file GCOV.h.
Referenced by llvm::GCOVFunction::readGCDA(), and llvm::GCOVFunction::readGCNO().
|
inline |
readArcTag - If cursor points to an gcda arc tag then increment the cursor and return true otherwise return false.
Definition at line 164 of file GCOV.h.
References llvm::StringRef::empty().
Referenced by llvm::GCOVFunction::readGCDA().
|
inline |
readBlockTag - If cursor points to a block tag then increment the cursor and return true otherwise return false.
Definition at line 128 of file GCOV.h.
References llvm::StringRef::empty().
Referenced by llvm::GCOVFunction::readGCNO().
|
inline |
readEdgeTag - If cursor points to an edge tag then increment the cursor and return true otherwise return false.
Definition at line 140 of file GCOV.h.
References llvm::StringRef::empty().
Referenced by llvm::GCOVFunction::readGCNO().
|
inline |
readFunctionTag - If cursor points to a function tag then increment the cursor and return true otherwise return false.
Definition at line 116 of file GCOV.h.
References llvm::StringRef::empty().
Referenced by llvm::GCOVFile::readGCDA(), and llvm::GCOVFile::readGCNO().
|
inline |
readGCDAFormat - Check GCDA signature is valid at the beginning of buffer.
Definition at line 82 of file GCOV.h.
References llvm::errs(), and llvm::ARMBuildAttrs::File.
Referenced by llvm::GCOVFile::readGCDA().
|
inline |
readGCNOFormat - Check GCNO signature is valid at the beginning of buffer.
Definition at line 71 of file GCOV.h.
References llvm::errs(), and llvm::ARMBuildAttrs::File.
Referenced by llvm::GCOVFile::readGCNO().
|
inline |
readGCOVVersion - Read GCOV version.
Definition at line 93 of file GCOV.h.
References llvm::errs(), llvm::StringRef::slice(), llvm::GCOV::V402, llvm::GCOV::V404, and llvm::GCOV::V704.
Referenced by llvm::GCOVFile::readGCDA(), and llvm::GCOVFile::readGCNO().
Definition at line 198 of file GCOV.h.
References llvm::StringRef::data(), llvm::errs(), and llvm::StringRef::slice().
Referenced by llvm::GCOVFile::readGCDA(), llvm::GCOVFunction::readGCDA(), llvm::GCOVFile::readGCNO(), and llvm::GCOVFunction::readGCNO().
|
inline |
Definition at line 209 of file GCOV.h.
References llvm::MipsISD::Hi, and llvm::MipsISD::Lo.
|
inline |
readLineTag - If cursor points to a line tag then increment the cursor and return true otherwise return false.
Definition at line 152 of file GCOV.h.
References llvm::StringRef::empty().
Referenced by llvm::GCOVFunction::readGCNO().
|
inline |
readObjectTag - If cursor points to an object summary tag then increment the cursor and return true otherwise return false.
Definition at line 176 of file GCOV.h.
References llvm::StringRef::empty().
Referenced by llvm::GCOVFile::readGCDA().
|
inline |
readProgramTag - If cursor points to a program summary tag then increment the cursor and return true otherwise return false.
Definition at line 188 of file GCOV.h.
References llvm::StringRef::empty().
Referenced by llvm::GCOVFile::readGCDA().
Definition at line 217 of file GCOV.h.
References llvm::errs(), llvm::StringRef::slice(), and llvm::StringRef::split().
Referenced by llvm::GCOVFunction::readGCDA(), and llvm::GCOVFunction::readGCNO().