LLVM 20.0.0git
Public Member Functions | List of all members
llvm::FeatureBitArray Class Reference

Class used to store the subtarget bits in the tables created by tablegen. More...

#include "llvm/TargetParser/SubtargetFeature.h"

Inheritance diagram for llvm::FeatureBitArray:
Inheritance graph
[legend]

Public Member Functions

constexpr FeatureBitArray (const std::array< uint64_t, MAX_SUBTARGET_WORDS > &B)
 
const FeatureBitsetgetAsBitset () const
 
- Public Member Functions inherited from llvm::FeatureBitset
constexpr FeatureBitset ()=default
 
constexpr FeatureBitset (std::initializer_list< unsigned > Init)
 
FeatureBitsetset ()
 
constexpr FeatureBitsetset (unsigned I)
 
constexpr FeatureBitsetreset (unsigned I)
 
constexpr FeatureBitsetflip (unsigned I)
 
constexpr bool operator[] (unsigned I) const
 
constexpr bool test (unsigned I) const
 
constexpr size_t size () const
 
bool any () const
 
bool none () const
 
size_t count () const
 
constexpr FeatureBitsetoperator^= (const FeatureBitset &RHS)
 
constexpr FeatureBitset operator^ (const FeatureBitset &RHS) const
 
constexpr FeatureBitsetoperator&= (const FeatureBitset &RHS)
 
constexpr FeatureBitset operator& (const FeatureBitset &RHS) const
 
constexpr FeatureBitsetoperator|= (const FeatureBitset &RHS)
 
constexpr FeatureBitset operator| (const FeatureBitset &RHS) const
 
constexpr FeatureBitset operator~ () const
 
bool operator== (const FeatureBitset &RHS) const
 
bool operator!= (const FeatureBitset &RHS) const
 
bool operator< (const FeatureBitset &Other) const
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::FeatureBitset
constexpr FeatureBitset (const std::array< uint64_t, MAX_SUBTARGET_WORDS > &B)
 

Detailed Description

Class used to store the subtarget bits in the tables created by tablegen.

Definition at line 156 of file SubtargetFeature.h.

Constructor & Destructor Documentation

◆ FeatureBitArray()

constexpr llvm::FeatureBitArray::FeatureBitArray ( const std::array< uint64_t, MAX_SUBTARGET_WORDS > &  B)
inlineconstexpr

Definition at line 158 of file SubtargetFeature.h.

Member Function Documentation

◆ getAsBitset()

const FeatureBitset & llvm::FeatureBitArray::getAsBitset ( ) const
inline

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