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

Used to provide key value pairs for CPU and arbitrary pointers. More...

#include "llvm/MC/SubtargetFeature.h"

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

Public Member Functions

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

Public Attributes

const charKey
 K-V key string. More...
 
const void * Value
 K-V pointer value. More...
 

Detailed Description

Used to provide key value pairs for CPU and arbitrary pointers.

Definition at line 95 of file SubtargetFeature.h.

Member Function Documentation

◆ operator<() [1/2]

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

Compare routine for std::lower_bound.

Definition at line 100 of file SubtargetFeature.h.

◆ operator<() [2/2]

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

Compare routine for std::is_sorted.

Definition at line 105 of file SubtargetFeature.h.

References Key.

Member Data Documentation

◆ Key

const char* llvm::SubtargetInfoKV::Key

K-V key string.

Definition at line 96 of file SubtargetFeature.h.

Referenced by operator<().

◆ Value

const void* llvm::SubtargetInfoKV::Value

K-V pointer value.

Definition at line 97 of file SubtargetFeature.h.


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