LLVM 19.0.0git
Public Member Functions | List of all members
llvm::Function::ProfileCount Class Reference

Class to represent profile counts. More...

#include "llvm/IR/Function.h"

Public Member Functions

 ProfileCount (uint64_t Count, ProfileCountType PCT)
 
uint64_t getCount () const
 
ProfileCountType getType () const
 
bool isSynthetic () const
 

Detailed Description

Class to represent profile counts.

This class represents both real and synthetic profile counts.

Definition at line 277 of file Function.h.

Constructor & Destructor Documentation

◆ ProfileCount()

llvm::Function::ProfileCount::ProfileCount ( uint64_t  Count,
ProfileCountType  PCT 
)
inline

Definition at line 283 of file Function.h.

Member Function Documentation

◆ getCount()

uint64_t llvm::Function::ProfileCount::getCount ( ) const
inline

Definition at line 285 of file Function.h.

Referenced by llvm::Function::setEntryCount(), and updateCallProfile().

◆ getType()

ProfileCountType llvm::Function::ProfileCount::getType ( ) const
inline

Definition at line 286 of file Function.h.

Referenced by llvm::Function::setEntryCount().

◆ isSynthetic()

bool llvm::Function::ProfileCount::isSynthetic ( ) const
inline

Definition at line 287 of file Function.h.

Referenced by llvm::Function::setEntryCount(), and updateCallProfile().


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