LLVM  9.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::SubtargetFeatureKV Struct Reference

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

#include "llvm/MC/MCSubtargetInfo.h"

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

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 34 of file MCSubtargetInfo.h.

Member Function Documentation

◆ operator<() [1/2]

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

Compare routine for std::lower_bound.

Definition at line 41 of file MCSubtargetInfo.h.

◆ operator<() [2/2]

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

Compare routine for std::is_sorted.

Definition at line 46 of file MCSubtargetInfo.h.

References Key.

Member Data Documentation

◆ Desc

const char* llvm::SubtargetFeatureKV::Desc

Help descriptor.

Definition at line 36 of file MCSubtargetInfo.h.

◆ Implies

FeatureBitArray llvm::SubtargetFeatureKV::Implies

K-V bit mask.

Definition at line 38 of file MCSubtargetInfo.h.

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

◆ Key

const char* llvm::SubtargetFeatureKV::Key

K-V key string.

Definition at line 35 of file MCSubtargetInfo.h.

Referenced by operator<().

◆ Value

unsigned llvm::SubtargetFeatureKV::Value

K-V integer value.

Definition at line 37 of file MCSubtargetInfo.h.

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


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