LLVM 20.0.0git
Classes | Namespaces | Enumerations | Functions
BlockFrequencyInfo.h File Reference
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/BlockFrequency.h"
#include "llvm/Support/Printable.h"
#include <cstdint>
#include <memory>
#include <optional>

Go to the source code of this file.

Classes

class  llvm::BlockFrequencyInfo
 BlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate IR basic block frequencies. More...
 
class  llvm::BlockFrequencyAnalysis
 Analysis pass which computes BlockFrequencyInfo. More...
 
class  llvm::BlockFrequencyPrinterPass
 Printer pass for the BlockFrequencyInfo results. More...
 
class  llvm::BlockFrequencyInfoWrapperPass
 Legacy analysis pass which computes BlockFrequencyInfo. More...
 

Namespaces

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

Enumerations

enum  llvm::PGOViewCountsType { llvm::PGOVCT_None , llvm::PGOVCT_Graph , llvm::PGOVCT_Text }
 

Functions

Printable llvm::printBlockFreq (const BlockFrequencyInfo &BFI, BlockFrequency Freq)
 Print the block frequency Freq relative to the current functions entry frequency.
 
Printable llvm::printBlockFreq (const BlockFrequencyInfo &BFI, const BasicBlock &BB)
 Convenience function equivalent to calling printBlockFreq(BFI, BFI.getBlocakFreq(&BB)).