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:260

Method Overview

Methods

ProfileCount()

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

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

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

Parameters

uint64_t Count
llvm::Function::ProfileCountType PCT

uint64_t getCount() const

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

static llvm::Function::ProfileCount getInvalid()

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

llvm::Function::ProfileCountType getType() const

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

bool hasValue() const

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

bool isSynthetic() const

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

bool operator bool()

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

llvm::Function::ProfileCount& setCount(uint64_t C)

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

Parameters

uint64_t C