LLVM 22.0.0git
HeatUtils.h File Reference
#include "llvm/Support/Compiler.h"
#include <cstdint>
#include <string>

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)