LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::SubtargetSubTypeKV Struct Reference

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

#include "llvm/MC/MCSubtargetInfo.h"

Collaboration diagram for llvm::SubtargetSubTypeKV:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

const char * Key
 K-V key string. More...
 
FeatureBitArray Implies
 K-V bit mask. More...
 
FeatureBitArray TuneImplies
 K-V bit mask. More...
 
const MCSchedModelSchedModel
 

Detailed Description

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

Definition at line 54 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 66 of file MCSubtargetInfo.h.

References Key, and Other.

◆ operator<() [2/2]

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

Compare routine for std::lower_bound.

Definition at line 61 of file MCSubtargetInfo.h.

References Key, and S.

Member Data Documentation

◆ Implies

FeatureBitArray llvm::SubtargetSubTypeKV::Implies

K-V bit mask.

Definition at line 56 of file MCSubtargetInfo.h.

Referenced by getFeatures().

◆ Key

const char* llvm::SubtargetSubTypeKV::Key

K-V key string.

Definition at line 55 of file MCSubtargetInfo.h.

Referenced by operator<().

◆ SchedModel

const MCSchedModel* llvm::SubtargetSubTypeKV::SchedModel

Definition at line 58 of file MCSubtargetInfo.h.

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

◆ TuneImplies

FeatureBitArray llvm::SubtargetSubTypeKV::TuneImplies

K-V bit mask.

Definition at line 57 of file MCSubtargetInfo.h.

Referenced by getFeatures().


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