LLVM 20.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 36 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 38 of file HotColdSplitting.h.

Member Function Documentation

◆ run()

bool HotColdSplitting::run ( Module M)

Definition at line 777 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: