class BlockFrequency

Declaration

class BlockFrequency { /* full declaration omitted */ };

Declared at: llvm/include/llvm/Support/BlockFrequency.h:24

Method Overview

Methods

BlockFrequency(uint64_t Freq = 0)

Declared at: llvm/include/llvm/Support/BlockFrequency.h:28

Parameters

uint64_t Freq = 0

uint64_t getFrequency() const

Description

Returns the frequency as a fixpoint number scaled by the entry frequency.

Declared at: llvm/include/llvm/Support/BlockFrequency.h:35

static uint64_t getMaxFrequency()

Description

Returns the maximum possible frequency, the saturation value.

Declared at: llvm/include/llvm/Support/BlockFrequency.h:31