LLVM 24.0.0git
SampleProfileProbe.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "pseudo-probe"

Functions

 STATISTIC (ArtificialDbgLine, "Number of probes that have an artificial debug line")
static uint64_t getCallStackHash (const DILocation *DIL)
static uint64_t computeCallStackHash (const Instruction &Inst)
static void findInvokeNormalDestCycles (const Function &F, DenseSet< const BasicBlock * > &CycleBlocks)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "pseudo-probe"

Definition at line 40 of file SampleProfileProbe.cpp.

Function Documentation

◆ computeCallStackHash()

uint64_t computeCallStackHash ( const Instruction & Inst)
static

◆ findInvokeNormalDestCycles()

◆ getCallStackHash()

uint64_t getCallStackHash ( const DILocation * DIL)
static

Definition at line 45 of file SampleProfileProbe.cpp.

References llvm::sampleprof::MD5Hash(), and uint64_t.

Referenced by computeCallStackHash().

◆ STATISTIC()

STATISTIC ( ArtificialDbgLine ,
"Number of probes that have an artificial debug line"  )