class Function::ProfileCount

Declaration

class Function::ProfileCount { /* full declaration omitted */ };

Description

Class to represent profile counts. This class represents both real and synthetic profile counts.

Declared at: llvm/include/llvm/IR/Function.h:253

Member Variables

private uint64_t Count = 0
private llvm::Function::ProfileCountType PCT = PCT_Real

Method Overview

  • public ProfileCount(uint64_t Count, llvm::Function::ProfileCountType PCT)
  • public uint64_t getCount() const
  • public llvm::Function::ProfileCountType getType() const
  • public bool isSynthetic() const

Methods

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

Declared at: llvm/include/llvm/IR/Function.h:259

Parameters

uint64_t Count
llvm::Function::ProfileCountType PCT

uint64_t getCount() const

Declared at: llvm/include/llvm/IR/Function.h:261

llvm::Function::ProfileCountType getType() const

Declared at: llvm/include/llvm/IR/Function.h:262

bool isSynthetic() const

Declared at: llvm/include/llvm/IR/Function.h:263