13#ifndef LLVM_ANALYSIS_HEATUTILS_H
14#define LLVM_ANALYSIS_HEATUTILS_H
21class BlockFrequencyInfo;
26getNumOfCalls(Function &callerFunction, Function &calledFunction);
This is an optimization pass for GlobalISel generic memory operations.
uint64_t getNumOfCalls(Function &callerFunction, Function &calledFunction)
std::string getHeatColor(uint64_t freq, uint64_t maxFreq)
uint64_t getMaxFreq(const Function &F, const BlockFrequencyInfo *BFI)