Return the profile hotness, if available.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

std::optional<uint64_t>
getHotness() const;

Return Value

The profile hotness, or std::nullopt if unavailable.

Created with MrDocs