LLVM: llvm::sampleprof::SampleContext Class Reference (original) (raw)

#include "[llvm/ProfileData/SampleProf.h](SampleProf%5F8h%5Fsource.html)"

Public Member Functions
SampleContext ()
SampleContext (StringRef Name)
SampleContext (FunctionId Func)
SampleContext (SampleContextFrames Context, ContextStateMask CState=RawContext)
SampleContext (StringRef ContextStr, std::list< SampleContextFrameVector > &CSNameTable, ContextStateMask CState=RawContext)
operator SampleContextFrames () const
bool hasAttribute (ContextAttributeMask A)
void setAttribute (ContextAttributeMask A)
uint32_t getAllAttributes ()
void setAllAttributes (uint32_t A)
bool hasState (ContextStateMask S)
void setState (ContextStateMask S)
void clearState (ContextStateMask S)
bool hasContext () const
bool isBaseContext () const
FunctionId getFunction () const
SampleContextFrames getContextFrames () const
std::string toString () const
uint64_t getHashCode () const
void setFunction (FunctionId NewFunctionID)
Set the name of the function and clear the current context.
void setContext (SampleContextFrames Context, ContextStateMask CState=RawContext)
bool operator== (const SampleContext &That) const
bool operator!= (const SampleContext &That) const
bool operator< (const SampleContext &That) const
bool isPrefixOf (const SampleContext &That) const

Definition at line 554 of file SampleProf.h.

llvm::sampleprof::SampleContext::SampleContext ( ) inline

SampleContext() [2/5]

llvm::sampleprof::SampleContext::SampleContext ( StringRef Name) inline

SampleContext() [3/5]

llvm::sampleprof::SampleContext::SampleContext ( FunctionId Func) inline

SampleContext() [4/5]

SampleContext() [5/5]

clearState()

createCtxVectorFromStr()

decodeContextString()

getAllAttributes()

uint32_t llvm::sampleprof::SampleContext::getAllAttributes ( ) inline

getContextFrames()

getContextString()

std::string llvm::sampleprof::SampleContext::getContextString ( SampleContextFrames Context, bool IncludeLeafLineLocation = false ) inlinestatic

getFunction()

FunctionId llvm::sampleprof::SampleContext::getFunction ( ) const inline

getHashCode()

uint64_t llvm::sampleprof::SampleContext::getHashCode ( ) const inline

hasAttribute()

hasContext()

bool llvm::sampleprof::SampleContext::hasContext ( ) const inline

hasState()

isBaseContext()

bool llvm::sampleprof::SampleContext::isBaseContext ( ) const inline

isPrefixOf()

operator SampleContextFrames()

operator!=()

operator<()

operator==()

setAllAttributes()

void llvm::sampleprof::SampleContext::setAllAttributes ( uint32_t A) inline

setAttribute()

setContext()

setFunction()

void llvm::sampleprof::SampleContext::setFunction ( FunctionId NewFunctionID) inline

setState()

toString()

std::string llvm::sampleprof::SampleContext::toString ( ) const inline

The documentation for this class was generated from the following file: