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 (const char *Key, FeatureBitArray Implies, FeatureBitArray TuneImplies, const MCSchedModel *SchedModel)
 SubtargetSubTypeKV (const SubtargetSubTypeKV &)=delete
SubtargetSubTypeKVoperator= (const SubtargetSubTypeKV &)=delete
const charkey () const
const MCSchedModelschedModel () 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

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 68 of file MCSubtargetInfo.h.

Constructor & Destructor Documentation

◆ SubtargetSubTypeKV() [1/2]

llvm::SubtargetSubTypeKV::SubtargetSubTypeKV ( const char * Key,
FeatureBitArray Implies,
FeatureBitArray TuneImplies,
const MCSchedModel * SchedModel )
inlineconstexpr

Definition at line 77 of file MCSubtargetInfo.h.

References Implies, 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 87 of file MCSubtargetInfo.h.

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 94 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 91 of file MCSubtargetInfo.h.

References key().

◆ operator=()

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

References SubtargetSubTypeKV().

◆ schedModel()

const MCSchedModel * llvm::SubtargetSubTypeKV::schedModel ( ) const
inline

Definition at line 88 of file MCSubtargetInfo.h.

Referenced by llvm::MCSubtargetInfo::getSchedModelForCPU().

Member Data Documentation

◆ Implies

FeatureBitArray llvm::SubtargetSubTypeKV::Implies

K-V bit mask.

Definition at line 74 of file MCSubtargetInfo.h.

Referenced by getFeatures(), and SubtargetSubTypeKV().

◆ TuneImplies

FeatureBitArray llvm::SubtargetSubTypeKV::TuneImplies

K-V bit mask.

Definition at line 75 of file MCSubtargetInfo.h.

Referenced by getFeatures(), and SubtargetSubTypeKV().


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