LLVM 22.0.0git
HeatUtils.cpp File Reference

Go to the source code of this file.

Namespaces

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

Functions

LLVM_ABI uint64_t llvm::getNumOfCalls (Function &callerFunction, Function &calledFunction)
LLVM_ABI uint64_t llvm::getMaxFreq (const Function &F, const BlockFrequencyInfo *BFI)
LLVM_ABI std::string llvm::getHeatColor (uint64_t freq, uint64_t maxFreq)
LLVM_ABI std::string llvm::getHeatColor (double percent)

Variables

static const unsigned llvm::heatSize = 100
static const char llvm::heatPalette [heatSize][8]