LLVM 22.0.0git
llvm::BasicSubtargetSubTypeKV Struct Reference

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

#include "llvm/TargetParser/TargetParser.h"

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 200 of file TargetParser.h.

Member Function Documentation

◆ operator<() [1/2]

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

Compare routine for std::is_sorted.

Definition at line 208 of file TargetParser.h.

References Key, and llvm::Other.

◆ operator<() [2/2]

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

Compare routine for std::lower_bound.

Definition at line 205 of file TargetParser.h.

References Key.

Member Data Documentation

◆ Implies

FeatureBitArray llvm::BasicSubtargetSubTypeKV::Implies

K-V bit mask.

Definition at line 202 of file TargetParser.h.

Referenced by llvm::getCPUDefaultTargetFeatures().

◆ Key

const char* llvm::BasicSubtargetSubTypeKV::Key

K-V key string.

Definition at line 201 of file TargetParser.h.

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


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