LLVM 22.0.0git
llvm::object::BBAddrMap::BBEntry::Metadata Struct Reference

#include "llvm/Object/ELFTypes.h"

Public Member Functions

bool operator== (const Metadata &Other) const
uint32_t encode () const

Static Public Member Functions

static Expected< Metadatadecode (uint32_t V)

Public Attributes

bool HasReturn: 1
bool HasTailCall: 1
bool IsEHPad: 1
bool CanFallThrough: 1
bool HasIndirectBranch: 1

Detailed Description

Definition at line 876 of file ELFTypes.h.

Member Function Documentation

◆ decode()

Expected< Metadata > llvm::object::BBAddrMap::BBEntry::Metadata::decode ( uint32_t V)
inlinestatic

Definition at line 902 of file ELFTypes.h.

References llvm::createStringError(), and llvm::object::BBAddrMap::BBEntry::MD.

Referenced by decodeBBAddrMapImpl().

◆ encode()

uint32_t llvm::object::BBAddrMap::BBEntry::Metadata::encode ( ) const
inline

Definition at line 893 of file ELFTypes.h.

References CanFallThrough, HasIndirectBranch, HasReturn, HasTailCall, and IsEHPad.

Referenced by getBBAddrMapMetadata().

◆ operator==()

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

Definition at line 885 of file ELFTypes.h.

References CanFallThrough, HasIndirectBranch, HasReturn, HasTailCall, IsEHPad, and llvm::Other.

Member Data Documentation

◆ CanFallThrough

bool llvm::object::BBAddrMap::BBEntry::Metadata::CanFallThrough

Definition at line 881 of file ELFTypes.h.

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

◆ HasIndirectBranch

bool llvm::object::BBAddrMap::BBEntry::Metadata::HasIndirectBranch

Definition at line 882 of file ELFTypes.h.

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

◆ HasReturn

bool llvm::object::BBAddrMap::BBEntry::Metadata::HasReturn

Definition at line 877 of file ELFTypes.h.

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

◆ HasTailCall

bool llvm::object::BBAddrMap::BBEntry::Metadata::HasTailCall

Definition at line 879 of file ELFTypes.h.

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

◆ IsEHPad

bool llvm::object::BBAddrMap::BBEntry::Metadata::IsEHPad

Definition at line 880 of file ELFTypes.h.

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


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