class GCOVBuffer
Declaration
class GCOVBuffer { /* full declaration omitted */ };
Description
GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific read operations.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:67
Method Overview
- public GCOVBuffer(llvm::MemoryBuffer * B)
- public void advanceCursor(uint32_t n)
- public uint64_t getCursor() const
- public bool readArcTag()
- public bool readBlockTag()
- public bool readEdgeTag()
- public bool readFunctionTag()
- public bool readGCDAFormat()
- public bool readGCNOFormat()
- public bool readGCOVVersion(GCOV::GCOVVersion & Version)
- public bool readInt(uint32_t & Val)
- public bool readInt64(uint64_t & Val)
- public bool readLineTag()
- public bool readObjectTag()
- public bool readProgramTag()
- public bool readString(llvm::StringRef & Str)
Methods
¶GCOVBuffer(llvm::MemoryBuffer* B)
GCOVBuffer(llvm::MemoryBuffer* B)
Declared at: llvm/include/llvm/ProfileData/GCOV.h:69
Parameters
¶void advanceCursor(uint32_t n)
void advanceCursor(uint32_t n)
Declared at: llvm/include/llvm/ProfileData/GCOV.h:236
Parameters
- uint32_t n
¶uint64_t getCursor() const
uint64_t getCursor() const
Declared at: llvm/include/llvm/ProfileData/GCOV.h:235
¶bool readArcTag()
bool readArcTag()
Description
readArcTag - If cursor points to an gcda arc tag then increment the cursor and return true otherwise return false.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:165
¶bool readBlockTag()
bool readBlockTag()
Description
readBlockTag - If cursor points to a block tag then increment the cursor and return true otherwise return false.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:129
¶bool readEdgeTag()
bool readEdgeTag()
Description
readEdgeTag - If cursor points to an edge tag then increment the cursor and return true otherwise return false.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:141
¶bool readFunctionTag()
bool readFunctionTag()
Description
readFunctionTag - If cursor points to a function tag then increment the cursor and return true otherwise return false.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:117
¶bool readGCDAFormat()
bool readGCDAFormat()
Description
readGCDAFormat - Check GCDA signature is valid at the beginning of buffer.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:83
¶bool readGCNOFormat()
bool readGCNOFormat()
Description
readGCNOFormat - Check GCNO signature is valid at the beginning of buffer.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:72
¶bool readGCOVVersion(GCOV::GCOVVersion& Version)
bool readGCOVVersion(GCOV::GCOVVersion& Version)
Description
readGCOVVersion - Read GCOV version.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:94
Parameters
- GCOV::GCOVVersion& Version
¶bool readInt(uint32_t& Val)
bool readInt(uint32_t& Val)
Declared at: llvm/include/llvm/ProfileData/GCOV.h:199
Parameters
- uint32_t& Val
¶bool readInt64(uint64_t& Val)
bool readInt64(uint64_t& Val)
Declared at: llvm/include/llvm/ProfileData/GCOV.h:210
Parameters
- uint64_t& Val
¶bool readLineTag()
bool readLineTag()
Description
readLineTag - If cursor points to a line tag then increment the cursor and return true otherwise return false.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:153
¶bool readObjectTag()
bool readObjectTag()
Description
readObjectTag - If cursor points to an object summary tag then increment the cursor and return true otherwise return false.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:177
¶bool readProgramTag()
bool readProgramTag()
Description
readProgramTag - If cursor points to a program summary tag then increment the cursor and return true otherwise return false.
Declared at: llvm/include/llvm/ProfileData/GCOV.h:189
¶bool readString(llvm::StringRef& Str)
bool readString(llvm::StringRef& Str)
Declared at: llvm/include/llvm/ProfileData/GCOV.h:218
Parameters
- llvm::StringRef& Str