LLVM 20.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 <cmath>

Go to the source code of this file.

Namespaces

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

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]