LLVM 23.0.0git
llvm::object::PGOAnalysisMap::PGOBBEntry Struct Reference

Extra basic block data with fields for block frequency and branch probability. More...

#include "llvm/Object/ELFTypes.h"

Classes

struct  SuccessorEntry
 Single successor of a given basic block that contains the tag and branch probability associated with it. More...

Public Member Functions

bool operator== (const PGOBBEntry &Other) const

Public Attributes

BlockFrequency BlockFreq
 Block frequency taken from MBFI.
uint64_t PostLinkBlockFreq = 0
 Raw block count taken from the post link profile (e.g., from bolt or propeller).
llvm::SmallVector< SuccessorEntry, 2 > Successors
 List of successors of the current block.

Detailed Description

Extra basic block data with fields for block frequency and branch probability.

Definition at line 1025 of file ELFTypes.h.

Member Function Documentation

◆ operator==()

bool llvm::object::PGOAnalysisMap::PGOBBEntry::operator== ( const PGOBBEntry & Other) const
inline

Definition at line 1051 of file ELFTypes.h.

References BlockFreq, llvm::Other, PostLinkBlockFreq, and Successors.

Member Data Documentation

◆ BlockFreq

BlockFrequency llvm::object::PGOAnalysisMap::PGOBBEntry::BlockFreq

Block frequency taken from MBFI.

Definition at line 1044 of file ELFTypes.h.

Referenced by operator==().

◆ PostLinkBlockFreq

uint64_t llvm::object::PGOAnalysisMap::PGOBBEntry::PostLinkBlockFreq = 0

Raw block count taken from the post link profile (e.g., from bolt or propeller).

Definition at line 1047 of file ELFTypes.h.

Referenced by operator==().

◆ Successors

llvm::SmallVector<SuccessorEntry, 2> llvm::object::PGOAnalysisMap::PGOBBEntry::Successors

List of successors of the current block.

Definition at line 1049 of file ELFTypes.h.

Referenced by operator==().


The documentation for this struct was generated from the following file: