LLVM 19.0.0git
Classes | Namespaces | Functions
MachineBlockFrequencyInfo.h File Reference
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/Support/BlockFrequency.h"
#include <cstdint>
#include <memory>
#include <optional>

Go to the source code of this file.

Classes

class  llvm::MachineBlockFrequencyInfo
 MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic block frequencies. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

Printable llvm::printBlockFreq (const MachineBlockFrequencyInfo &MBFI, BlockFrequency Freq)
 Print the block frequency Freq relative to the current functions entry frequency.
 
Printable llvm::printBlockFreq (const MachineBlockFrequencyInfo &MBFI, const MachineBasicBlock &MBB)
 Convenience function equivalent to calling printBlockFreq(MBFI, MBFI.getBlockFreq(&MBB)).