LLVM 20.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 292 of file Function.h.

Constructor & Destructor Documentation

◆ ProfileCount()

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

Definition at line 298 of file Function.h.

Member Function Documentation

◆ getCount()

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

Definition at line 300 of file Function.h.

Referenced by updateCallProfile().

◆ getType()

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

Definition at line 301 of file Function.h.

◆ isSynthetic()

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

Definition at line 302 of file Function.h.

Referenced by updateCallProfile().


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