LLVM 20.0.0git
Public Member Functions | List of all members
llvm::SampleProfileProber Class Reference

Sample profile pseudo prober. More...

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

Public Member Functions

 SampleProfileProber (Function &F, const std::string &CurModuleUniqueId)
 
void instrumentOneFunc (Function &F, TargetMachine *TM)
 

Detailed Description

Sample profile pseudo prober.

Insert pseudo probes for block sampling and value sampling.

Definition at line 74 of file SampleProfileProbe.h.

Constructor & Destructor Documentation

◆ SampleProfileProber()

SampleProfileProber::SampleProfileProber ( Function F,
const std::string &  CurModuleUniqueId 
)

Definition at line 171 of file SampleProfileProbe.cpp.

References llvm::Last.

Member Function Documentation

◆ instrumentOneFunc()

void SampleProfileProber::instrumentOneFunc ( Function F,
TargetMachine TM 
)

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