LLVM 22.0.0git
llvm::SubtargetFeatureKV Struct Reference

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

#include "llvm/MC/MCSubtargetInfo.h"

Public Member Functions

bool operator< (StringRef S) const
 Compare routine for std::lower_bound.
bool operator< (const SubtargetFeatureKV &Other) const
 Compare routine for std::is_sorted.

Public Attributes

const charKey
 K-V key string.
const charDesc
 Help descriptor.
unsigned Value
 K-V integer value.
FeatureBitArray Implies
 K-V bit mask.

Detailed Description

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

Definition at line 36 of file MCSubtargetInfo.h.

Member Function Documentation

◆ operator<() [1/2]

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

Compare routine for std::is_sorted.

Definition at line 48 of file MCSubtargetInfo.h.

References Key, and llvm::Other.

◆ operator<() [2/2]

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

Compare routine for std::lower_bound.

Definition at line 43 of file MCSubtargetInfo.h.

References Key.

Member Data Documentation

◆ Desc

const char* llvm::SubtargetFeatureKV::Desc

Help descriptor.

Definition at line 38 of file MCSubtargetInfo.h.

◆ Implies

FeatureBitArray llvm::SubtargetFeatureKV::Implies

K-V bit mask.

Definition at line 40 of file MCSubtargetInfo.h.

Referenced by ApplyFeatureFlag(), and llvm::MCSubtargetInfo::ToggleFeature().

◆ Key

const char* llvm::SubtargetFeatureKV::Key

K-V key string.

Definition at line 37 of file MCSubtargetInfo.h.

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

◆ Value

unsigned llvm::SubtargetFeatureKV::Value

K-V integer value.

Definition at line 39 of file MCSubtargetInfo.h.

Referenced by ApplyFeatureFlag(), and llvm::MCSubtargetInfo::ToggleFeature().


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