LLVM 22.0.0git
llvm::object::BBAddrMap::Features Struct Reference

#include "llvm/Object/ELFTypes.h"

Public Member Functions

bool hasPGOAnalysis () const
bool hasPGOAnalysisBBData () const
uint8_t encode () const
bool operator== (const Features &Other) const

Static Public Member Functions

static Expected< Featuresdecode (uint8_t Val)

Public Attributes

bool FuncEntryCount: 1
bool BBFreq: 1
bool BrProb: 1
bool MultiBBRange: 1
bool OmitBBEntries: 1
bool CallsiteEndOffsets: 1

Detailed Description

Definition at line 829 of file ELFTypes.h.

Member Function Documentation

◆ decode()

Expected< Features > llvm::object::BBAddrMap::Features::decode ( uint8_t Val)
inlinestatic

Definition at line 853 of file ELFTypes.h.

References llvm::createStringError(), and encode().

Referenced by decodeBBAddrMapImpl().

◆ encode()

uint8_t llvm::object::BBAddrMap::Features::encode ( ) const
inline

Definition at line 842 of file ELFTypes.h.

References BBFreq, BrProb, CallsiteEndOffsets, FuncEntryCount, MultiBBRange, and OmitBBEntries.

Referenced by decode().

◆ hasPGOAnalysis()

bool llvm::object::BBAddrMap::Features::hasPGOAnalysis ( ) const
inline

Definition at line 837 of file ELFTypes.h.

References BBFreq, BrProb, and FuncEntryCount.

Referenced by decodeBBAddrMapImpl().

◆ hasPGOAnalysisBBData()

bool llvm::object::BBAddrMap::Features::hasPGOAnalysisBBData ( ) const
inline

Definition at line 839 of file ELFTypes.h.

References BBFreq, and BrProb.

Referenced by decodeBBAddrMapImpl().

◆ operator==()

bool llvm::object::BBAddrMap::Features::operator== ( const Features & Other) const
inline

Member Data Documentation

◆ BBFreq

bool llvm::object::BBAddrMap::Features::BBFreq

◆ BrProb

bool llvm::object::BBAddrMap::Features::BrProb

◆ CallsiteEndOffsets

bool llvm::object::BBAddrMap::Features::CallsiteEndOffsets

Definition at line 835 of file ELFTypes.h.

Referenced by decodeBBAddrMapImpl(), encode(), and operator==().

◆ FuncEntryCount

bool llvm::object::BBAddrMap::Features::FuncEntryCount

Definition at line 830 of file ELFTypes.h.

Referenced by decodeBBAddrMapImpl(), encode(), hasPGOAnalysis(), and operator==().

◆ MultiBBRange

bool llvm::object::BBAddrMap::Features::MultiBBRange

Definition at line 833 of file ELFTypes.h.

Referenced by decodeBBAddrMapImpl(), encode(), and operator==().

◆ OmitBBEntries

bool llvm::object::BBAddrMap::Features::OmitBBEntries

Definition at line 834 of file ELFTypes.h.

Referenced by decodeBBAddrMapImpl(), encode(), and operator==().


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