LLVM 20.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Member Functions | |
Frame (const Frame &Other) | |
Frame (GlobalValue::GUID Hash, uint32_t Off, uint32_t Col, bool Inline) | |
bool | operator== (const Frame &Other) const |
Frame & | operator= (const Frame &Other) |
bool | operator!= (const Frame &Other) const |
bool | hasSymbolName () const |
StringRef | getSymbolName () const |
std::string | getSymbolNameOr (StringRef Alt) const |
void | serialize (raw_ostream &OS) const |
void | printYAML (raw_ostream &OS) const |
FrameId | hash () const |
Static Public Member Functions | |
static Frame | deserialize (const unsigned char *Ptr) |
static constexpr size_t | serializedSize () |
Public Attributes | |
GlobalValue::GUID | Function |
std::unique_ptr< std::string > | SymbolName |
uint32_t | LineOffset |
uint32_t | Column |
bool | IsInlineFrame |
Definition at line 219 of file MemProf.h.
References Column, IsInlineFrame, LineOffset, llvm::Other, and SymbolName.
|
inline |
Definition at line 281 of file MemProf.h.
References llvm::CallingConv::C, F, I, and Ptr.
Referenced by llvm::memprof::LinearFrameIdConverter::operator()(), and llvm::memprof::FrameLookupTrait::ReadData().
|
inline |
Definition at line 254 of file MemProf.h.
References assert(), hasSymbolName(), and SymbolName.
Referenced by getSymbolNameOr().
|
inline |
Definition at line 259 of file MemProf.h.
References getSymbolName(), and hasSymbolName().
Referenced by printYAML().
|
inline |
Definition at line 314 of file MemProf.h.
References Column, IsInlineFrame, LineOffset, and Seed.
|
inline |
Definition at line 252 of file MemProf.h.
References SymbolName.
Referenced by getSymbolName(), and getSymbolNameOr().
Definition at line 250 of file MemProf.h.
References operator==(), and llvm::Other.
Definition at line 239 of file MemProf.h.
References Column, IsInlineFrame, LineOffset, llvm::Other, and SymbolName.
Definition at line 232 of file MemProf.h.
References Column, IsInlineFrame, LineOffset, and llvm::Other.
Referenced by operator!=().
|
inline |
Definition at line 302 of file MemProf.h.
References Column, getSymbolNameOr(), IsInlineFrame, LineOffset, and OS.
|
inline |
Definition at line 264 of file MemProf.h.
References Column, Function, IsInlineFrame, LineOffset, llvm::little, and OS.
|
inlinestaticconstexpr |
Definition at line 296 of file MemProf.h.
References Column, Function, IsInlineFrame, and LineOffset.
Referenced by llvm::memprof::LinearFrameIdConverter::operator()().
uint32_t llvm::memprof::Frame::Column |
Definition at line 215 of file MemProf.h.
Referenced by computeStackId(), Frame(), hash(), operator=(), operator==(), printYAML(), serialize(), and serializedSize().
GlobalValue::GUID llvm::memprof::Frame::Function |
Definition at line 207 of file MemProf.h.
Referenced by computeStackId(), serialize(), and serializedSize().
bool llvm::memprof::Frame::IsInlineFrame |
Definition at line 217 of file MemProf.h.
Referenced by Frame(), hash(), operator=(), operator==(), printYAML(), serialize(), and serializedSize().
uint32_t llvm::memprof::Frame::LineOffset |
Definition at line 212 of file MemProf.h.
Referenced by computeStackId(), Frame(), hash(), operator=(), operator==(), printYAML(), serialize(), and serializedSize().
std::unique_ptr<std::string> llvm::memprof::Frame::SymbolName |
Definition at line 210 of file MemProf.h.
Referenced by Frame(), getSymbolName(), hasSymbolName(), and operator=().