LLVM 19.0.0git
Public Member Functions | List of all members
llvm::HotColdSplitting Class Reference

#include "llvm/Transforms/IPO/HotColdSplitting.h"

Public Member Functions

 HotColdSplitting (ProfileSummaryInfo *ProfSI, function_ref< BlockFrequencyInfo *(Function &)> GBFI, function_ref< TargetTransformInfo &(Function &)> GTTI, std::function< OptimizationRemarkEmitter &(Function &)> *GORE, function_ref< AssumptionCache *(Function &)> LAC)
 
bool run (Module &M)
 

Detailed Description

Definition at line 35 of file HotColdSplitting.h.

Constructor & Destructor Documentation

◆ HotColdSplitting()

llvm::HotColdSplitting::HotColdSplitting ( ProfileSummaryInfo ProfSI,
function_ref< BlockFrequencyInfo *(Function &)>  GBFI,
function_ref< TargetTransformInfo &(Function &)>  GTTI,
std::function< OptimizationRemarkEmitter &(Function &)> *  GORE,
function_ref< AssumptionCache *(Function &)>  LAC 
)
inline

Definition at line 37 of file HotColdSplitting.h.

Member Function Documentation

◆ run()

bool HotColdSplitting::run ( Module M)

Definition at line 757 of file HotColdSplitting.cpp.

References llvm::dbgs(), F, and LLVM_DEBUG.

Referenced by llvm::HotColdSplittingPass::run().


The documentation for this class was generated from the following files: