class BlockFrequency
Declaration
class BlockFrequency { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/BlockFrequency.h:24
Method Overview
- public BlockFrequency(uint64_t Freq = 0)
- public uint64_t getFrequency() const
- public static uint64_t getMaxFrequency()
Methods
¶BlockFrequency(uint64_t Freq = 0)
BlockFrequency(uint64_t Freq = 0)
Declared at: llvm/include/llvm/Support/BlockFrequency.h:28
Parameters
- uint64_t Freq = 0
¶uint64_t getFrequency() const
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()
static uint64_t getMaxFrequency()
Description
Returns the maximum possible frequency, the saturation value.
Declared at: llvm/include/llvm/Support/BlockFrequency.h:31