LLVM
15.0.0git
|
Container class for subtarget features. More...
#include "llvm/MC/SubtargetFeature.h"
Protected Member Functions | |
constexpr | FeatureBitset (const std::array< uint64_t, MAX_SUBTARGET_WORDS > &B) |
Container class for subtarget features.
This is a constexpr reimplementation of a subset of std::bitset. It would be nice to use std::bitset directly, but it doesn't support constant initialization.
Definition at line 40 of file SubtargetFeature.h.
|
inlineconstexprprotected |
Definition at line 47 of file SubtargetFeature.h.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 54 of file SubtargetFeature.h.
|
inline |
Definition at line 94 of file SubtargetFeature.h.
References llvm::any_of(), and I.
Referenced by getImpliedEnabledFeatures(), and none().
|
inline |
Definition at line 98 of file SubtargetFeature.h.
References B, and llvm::countPopulation().
|
inlineconstexpr |
Definition at line 78 of file SubtargetFeature.h.
References I.
Referenced by llvm::MCSubtargetInfo::ToggleFeature().
|
inline |
Definition at line 97 of file SubtargetFeature.h.
References any().
Referenced by llvm::RISCVSysReg::SysReg::haveRequiredFeatures().
|
inline |
Definition at line 152 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 123 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 117 of file SubtargetFeature.h.
References llvm::array_lengthof(), E, I, and RHS.
|
inline |
|
inline |
Definition at line 148 of file SubtargetFeature.h.
References llvm::sys::path::begin(), llvm::sys::path::end(), llvm::lltok::equal, and RHS.
|
inlineconstexpr |
Definition at line 85 of file SubtargetFeature.h.
References I, and llvm::BitmaskEnumDetail::Mask().
|
inlineconstexpr |
Definition at line 111 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 105 of file SubtargetFeature.h.
References llvm::array_lengthof(), E, I, and RHS.
|
inlineconstexpr |
Definition at line 135 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 129 of file SubtargetFeature.h.
References llvm::array_lengthof(), E, I, and RHS.
|
inlineconstexpr |
Definition at line 141 of file SubtargetFeature.h.
References B.
|
inlineconstexpr |
Definition at line 71 of file SubtargetFeature.h.
References I.
Referenced by llvm::MCSubtargetInfo::ClearFeatureBitsTransitively(), llvm::Hexagon_MC::createHexagonMCSubtargetInfo(), llvm::HexagonSubtarget::initializeSubtargetDependencies(), and llvm::MCSubtargetInfo::ToggleFeature().
|
inline |
Definition at line 59 of file SubtargetFeature.h.
References llvm::sys::path::begin(), and llvm::sys::path::end().
Referenced by llvm::Hexagon_MC::completeHVXFeatures(), llvm::Hexagon_MC::createHexagonMCSubtargetInfo(), FeatureBitset(), and llvm::MCSubtargetInfo::ToggleFeature().
|
inlineconstexpr |
Definition at line 64 of file SubtargetFeature.h.
References I.
|
inlineconstexpr |
Definition at line 92 of file SubtargetFeature.h.
References llvm::MAX_SUBTARGET_FEATURES.
Referenced by llvm::MCSubtargetInfo::ClearFeatureBitsTransitively(), and operator<().
|
inlineconstexpr |
Definition at line 90 of file SubtargetFeature.h.
References I.
Referenced by llvm::AMDGPU::IsaInfo::AMDGPUTargetID::AMDGPUTargetID(), llvm::Hexagon_MC::completeHVXFeatures(), llvm::AMDGPU::IsaInfo::getAddressableNumSGPRs(), llvm::AMDGPU::IsaInfo::getAddressableNumVGPRs(), llvm::AMDGPU::getDefaultAmdhsaKernelDescriptor(), llvm::AMDGPU::IsaInfo::getEUsPerCU(), llvm::AMDGPU::IsaInfo::getLocalMemorySize(), llvm::AMDGPU::IsaInfo::getMaxNumSGPRs(), llvm::AMDGPU::IsaInfo::getMinNumSGPRs(), llvm::AMDGPU::IsaInfo::getNumExtraSGPRs(), llvm::AMDGPU::IsaInfo::getTotalNumVGPRs(), llvm::AMDGPU::IsaInfo::getVGPRAllocGranule(), llvm::AMDGPU::IsaInfo::getVGPREncodingGranule(), llvm::AMDGPU::IsaInfo::getWavefrontSize(), llvm::AMDGPU::initDefaultAMDKernelCodeT(), matchAliasCondition(), operator<(), SetImpliedBits(), and llvm::MCSubtargetInfo::ToggleFeature().