LLVM 23.0.0git
llvm::SubtargetSubTypeKV Struct Reference

Used to provide key value pairs for feature and CPU bit flags. More...

#include "llvm/MC/MCSubtargetInfo.h"

Public Member Functions

constexpr SubtargetSubTypeKV (uint16_t KeyStrOff, FeatureBitArray Implies, FeatureBitArray TuneImplies, unsigned SchedModelIdx)
 SubtargetSubTypeKV (const SubtargetSubTypeKV &)=delete
SubtargetSubTypeKVoperator= (const SubtargetSubTypeKV &)=delete
const charkey () const
bool operator< (StringRef S) const
 Compare routine for std::lower_bound.
bool operator< (const SubtargetSubTypeKV &Other) const
 Compare routine for std::is_sorted.

Public Attributes

uint16_t KeyStrOff
unsigned SchedModelIdx
FeatureBitArray Implies
 K-V bit mask.
FeatureBitArray TuneImplies
 K-V bit mask.

Detailed Description

Used to provide key value pairs for feature and CPU bit flags.

Definition at line 78 of file MCSubtargetInfo.h.

Constructor & Destructor Documentation

◆ SubtargetSubTypeKV() [1/2]

llvm::SubtargetSubTypeKV::SubtargetSubTypeKV ( uint16_t KeyStrOff,
FeatureBitArray Implies,
FeatureBitArray TuneImplies,
unsigned SchedModelIdx )
inlineconstexpr

Definition at line 84 of file MCSubtargetInfo.h.

References Implies, KeyStrOff, SchedModelIdx, and TuneImplies.

Referenced by operator<(), operator=(), and SubtargetSubTypeKV().

◆ SubtargetSubTypeKV() [2/2]

llvm::SubtargetSubTypeKV::SubtargetSubTypeKV ( const SubtargetSubTypeKV & )
delete

References SubtargetSubTypeKV().

Member Function Documentation

◆ key()

const char * llvm::SubtargetSubTypeKV::key ( ) const
inline

Definition at line 94 of file MCSubtargetInfo.h.

References KeyStrOff.

Referenced by operator<(), and operator<().

◆ operator<() [1/2]

bool llvm::SubtargetSubTypeKV::operator< ( const SubtargetSubTypeKV & Other) const
inline

Compare routine for std::is_sorted.

Definition at line 102 of file MCSubtargetInfo.h.

References key(), llvm::Other, and SubtargetSubTypeKV().

◆ operator<() [2/2]

bool llvm::SubtargetSubTypeKV::operator< ( StringRef S) const
inline

Compare routine for std::lower_bound.

Definition at line 99 of file MCSubtargetInfo.h.

References key().

◆ operator=()

SubtargetSubTypeKV & llvm::SubtargetSubTypeKV::operator= ( const SubtargetSubTypeKV & )
delete

References SubtargetSubTypeKV().

Member Data Documentation

◆ Implies

FeatureBitArray llvm::SubtargetSubTypeKV::Implies

K-V bit mask.

Definition at line 81 of file MCSubtargetInfo.h.

Referenced by getFeatures(), and SubtargetSubTypeKV().

◆ KeyStrOff

uint16_t llvm::SubtargetSubTypeKV::KeyStrOff

Definition at line 79 of file MCSubtargetInfo.h.

Referenced by key(), and SubtargetSubTypeKV().

◆ SchedModelIdx

unsigned llvm::SubtargetSubTypeKV::SchedModelIdx

◆ TuneImplies

FeatureBitArray llvm::SubtargetSubTypeKV::TuneImplies

K-V bit mask.

Definition at line 82 of file MCSubtargetInfo.h.

Referenced by getFeatures(), and SubtargetSubTypeKV().


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