LLVM 22.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Member Functions | |
Frame ()=default | |
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 |
Static Public Member Functions | |
static Frame | deserialize (const unsigned char *Ptr) |
static constexpr size_t | serializedSize () |
Public Attributes | |
GlobalValue::GUID | Function = 0 |
std::unique_ptr< std::string > | SymbolName |
uint32_t | LineOffset = 0 |
uint32_t | Column = 0 |
bool | IsInlineFrame = false |
|
default |
Referenced by deserialize(), Frame(), operator!=(), operator=(), and operator==().
Definition at line 258 of file MemProf.h.
References Column, Frame(), Function, IsInlineFrame, LineOffset, llvm::Other, and SymbolName.
|
inline |
Definition at line 268 of file MemProf.h.
References Column, Function, IsInlineFrame, and LineOffset.
Definition at line 320 of file MemProf.h.
References llvm::CallingConv::C, F, Frame(), I, Ptr, and llvm::support::endian::readNext().
Referenced by llvm::memprof::LinearFrameIdConverter::operator()(), and llvm::memprof::FrameLookupTrait::ReadData().
|
inline |
Definition at line 293 of file MemProf.h.
References assert(), hasSymbolName(), and SymbolName.
|
inline |
Definition at line 298 of file MemProf.h.
References getSymbolName(), and hasSymbolName().
Referenced by printYAML().
|
inline |
Definition at line 291 of file MemProf.h.
References SymbolName.
Referenced by getSymbolName(), and getSymbolNameOr().
Definition at line 289 of file MemProf.h.
References Frame(), operator==(), and llvm::Other.
Definition at line 278 of file MemProf.h.
References Column, Frame(), Function, IsInlineFrame, LineOffset, llvm::Other, and SymbolName.
Definition at line 271 of file MemProf.h.
References Column, Frame(), Function, IsInlineFrame, LineOffset, and llvm::Other.
|
inline |
Definition at line 341 of file MemProf.h.
References Column, Function, getSymbolNameOr(), IsInlineFrame, and LineOffset.
|
inline |
Definition at line 303 of file MemProf.h.
References Column, Function, IsInlineFrame, LineOffset, and llvm::little.
|
inlinestaticconstexpr |
Definition at line 335 of file MemProf.h.
References Column, Function, IsInlineFrame, and LineOffset.
Referenced by llvm::memprof::LinearFrameIdConverter::operator()().
uint32_t llvm::memprof::Frame::Column = 0 |
Definition at line 253 of file MemProf.h.
Referenced by computeStackId(), Frame(), Frame(), operator=(), operator==(), printYAML(), serialize(), and serializedSize().
GlobalValue::GUID llvm::memprof::Frame::Function = 0 |
Definition at line 245 of file MemProf.h.
Referenced by computeStackId(), Frame(), Frame(), operator=(), operator==(), printYAML(), serialize(), and serializedSize().
bool llvm::memprof::Frame::IsInlineFrame = false |
Definition at line 255 of file MemProf.h.
Referenced by Frame(), Frame(), operator=(), operator==(), printYAML(), serialize(), and serializedSize().
uint32_t llvm::memprof::Frame::LineOffset = 0 |
Definition at line 250 of file MemProf.h.
Referenced by computeStackId(), Frame(), Frame(), operator=(), operator==(), printYAML(), serialize(), and serializedSize().
std::unique_ptr<std::string> llvm::memprof::Frame::SymbolName |
Definition at line 248 of file MemProf.h.
Referenced by Frame(), getSymbolName(), hasSymbolName(), and operator=().