LLVM
12.0.0git
|
Class to represent profile counts. More...
#include "llvm/IR/Function.h"
Public Member Functions | |
ProfileCount () | |
ProfileCount (uint64_t Count, ProfileCountType PCT) | |
bool | hasValue () const |
uint64_t | getCount () const |
ProfileCountType | getType () const |
bool | isSynthetic () const |
operator bool () | |
bool | operator! () const |
ProfileCount & | setCount (uint64_t C) |
Static Public Member Functions | |
static ProfileCount | getInvalid () |
Class to represent profile counts.
This class represents both real and synthetic profile counts.
Definition at line 282 of file Function.h.
|
inline |
Definition at line 289 of file Function.h.
Referenced by getInvalid().
|
inline |
Definition at line 290 of file Function.h.
|
inline |
Definition at line 293 of file Function.h.
Referenced by llvm::Function::setEntryCount(), and updateCallProfile().
|
inlinestatic |
Definition at line 303 of file Function.h.
References llvm::Function::PCT_Invalid, and ProfileCount().
Referenced by llvm::Function::getEntryCount().
|
inline |
Definition at line 294 of file Function.h.
Referenced by llvm::Function::setEntryCount().
|
inline |
Definition at line 292 of file Function.h.
References llvm::Function::PCT_Invalid.
Referenced by llvm::Function::hasProfileData(), operator bool(), operator!(), llvm::Function::setEntryCount(), and updateCallProfile().
|
inline |
Definition at line 295 of file Function.h.
References llvm::Function::PCT_Synthetic.
Referenced by llvm::Function::setEntryCount(), and updateCallProfile().
|
inlineexplicit |
Definition at line 296 of file Function.h.
References hasValue().
|
inline |
Definition at line 297 of file Function.h.
References hasValue().
|
inline |
Definition at line 299 of file Function.h.
References C.