LLVM  14.0.0git
Namespaces | Functions | Variables
HeatUtils.cpp File Reference
#include "llvm/Analysis/HeatUtils.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/IR/Instructions.h"
Include dependency graph for HeatUtils.cpp:

Go to the source code of this file.

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 

Functions

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

Variables

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