LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::FeatureBitset Class Reference

Container class for subtarget features. More...

#include "llvm/MC/SubtargetFeature.h"

Inheritance diagram for llvm::FeatureBitset:
Inheritance graph
Collaboration diagram for llvm::FeatureBitset:
Collaboration graph

Public Member Functions

 FeatureBitset ()=default
 FeatureBitset (const bitset< MAX_SUBTARGET_FEATURES > &B)
 FeatureBitset (std::initializer_list< unsigned > Init)
bool operator< (const FeatureBitset &Other) const

Detailed Description

Container class for subtarget features.

This is convenient because std::bitset does not have a constructor with an initializer list of set bits.

Definition at line 38 of file SubtargetFeature.h.

Constructor & Destructor Documentation

◆ FeatureBitset() [1/3]

llvm::FeatureBitset::FeatureBitset ( )

◆ FeatureBitset() [2/3]

llvm::FeatureBitset::FeatureBitset ( const bitset< MAX_SUBTARGET_FEATURES > &  B)

Definition at line 43 of file SubtargetFeature.h.

◆ FeatureBitset() [3/3]

llvm::FeatureBitset::FeatureBitset ( std::initializer_list< unsigned Init)

Definition at line 45 of file SubtargetFeature.h.

References I.

Member Function Documentation

◆ operator<()

bool llvm::FeatureBitset::operator< ( const FeatureBitset Other) const

Definition at line 50 of file SubtargetFeature.h.

References E, I, and llvm::size().

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