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

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

#include "llvm/Object/BBAddrMap.h"

Public Member Functions

bool operator== (const SuccessorEntry &Other) const

Public Attributes

uint32_t ID = 0
 Unique ID of this successor basic block.
BranchProbability Prob
 Branch Probability of the edge to this successor taken from MBPI.
uint64_t PostLinkFreq = 0
 Raw edge count from the post link profile (e.g., from bolt or propeller).

Detailed Description

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

Definition at line 212 of file BBAddrMap.h.

Member Function Documentation

◆ operator==()

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

Definition at line 221 of file BBAddrMap.h.

References ID, llvm::Other, PostLinkFreq, and Prob.

Member Data Documentation

◆ ID

uint32_t llvm::object::PGOAnalysisMap::PGOBBEntry::SuccessorEntry::ID = 0

Unique ID of this successor basic block.

Definition at line 214 of file BBAddrMap.h.

Referenced by operator==().

◆ PostLinkFreq

uint64_t llvm::object::PGOAnalysisMap::PGOBBEntry::SuccessorEntry::PostLinkFreq = 0

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

Definition at line 219 of file BBAddrMap.h.

Referenced by operator==().

◆ Prob

BranchProbability llvm::object::PGOAnalysisMap::PGOBBEntry::SuccessorEntry::Prob

Branch Probability of the edge to this successor taken from MBPI.

Definition at line 216 of file BBAddrMap.h.

Referenced by operator==().


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