LLVM 22.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

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

const charKey
 K-V key string.
FeatureBitArray Implies
 K-V bit mask.
FeatureBitArray TuneImplies
 K-V bit mask.
const MCSchedModelSchedModel

Detailed Description

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

Definition at line 56 of file MCSubtargetInfo.h.

Member Function Documentation

◆ operator<() [1/2]

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

Compare routine for std::is_sorted.

Definition at line 68 of file MCSubtargetInfo.h.

References Key, and llvm::Other.

◆ operator<() [2/2]

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

Compare routine for std::lower_bound.

Definition at line 63 of file MCSubtargetInfo.h.

References Key.

Member Data Documentation

◆ Implies

FeatureBitArray llvm::SubtargetSubTypeKV::Implies

K-V bit mask.

Definition at line 58 of file MCSubtargetInfo.h.

Referenced by getFeatures().

◆ Key

const char* llvm::SubtargetSubTypeKV::Key

K-V key string.

Definition at line 57 of file MCSubtargetInfo.h.

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

◆ SchedModel

const MCSchedModel* llvm::SubtargetSubTypeKV::SchedModel

Definition at line 60 of file MCSubtargetInfo.h.

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

◆ TuneImplies

FeatureBitArray llvm::SubtargetSubTypeKV::TuneImplies

K-V bit mask.

Definition at line 59 of file MCSubtargetInfo.h.

Referenced by getFeatures().


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