LLVM 22.0.0git
MachineBlockFrequencyInfo.h File Reference
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachinePassManager.h"
#include "llvm/Support/BlockFrequency.h"
#include "llvm/Support/Compiler.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...
class  llvm::MachineBlockFrequencyAnalysis
class  llvm::MachineBlockFrequencyPrinterPass
 Printer pass for the MachineBlockFrequencyInfo results. More...
class  llvm::MachineBlockFrequencyInfoWrapperPass

Namespaces

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

Functions

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