LLVM 20.0.0git
|
Container class for subtarget features. More...
#include "llvm/TargetParser/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 41 of file SubtargetFeature.h.
|
inlineconstexprprotected |
Definition at line 47 of file SubtargetFeature.h.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 52 of file SubtargetFeature.h.
|
inline |
Definition at line 86 of file SubtargetFeature.h.
References llvm::any_of(), and I.
Referenced by getImpliedEnabledFeatures(), and none().
|
inline |
Definition at line 90 of file SubtargetFeature.h.
References B, and llvm::popcount().
|
inlineconstexpr |
Definition at line 72 of file SubtargetFeature.h.
References I.
Referenced by llvm::MCSubtargetInfo::ToggleFeature().
|
inline |
Definition at line 89 of file SubtargetFeature.h.
References any().
Referenced by llvm::RISCVSysReg::SysReg::haveRequiredFeatures().
|
inline |
Definition at line 143 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 114 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 109 of file SubtargetFeature.h.
|
inline |
Definition at line 145 of file SubtargetFeature.h.
|
inline |
Definition at line 139 of file SubtargetFeature.h.
References RHS.
Definition at line 77 of file SubtargetFeature.h.
References I.
|
inlineconstexpr |
Definition at line 103 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 97 of file SubtargetFeature.h.
|
inlineconstexpr |
Definition at line 126 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 120 of file SubtargetFeature.h.
|
inlineconstexpr |
Definition at line 132 of file SubtargetFeature.h.
References B.
|
inlineconstexpr |
Definition at line 67 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 57 of file SubtargetFeature.h.
Referenced by llvm::Hexagon_MC::completeHVXFeatures(), llvm::Hexagon_MC::createHexagonMCSubtargetInfo(), FeatureBitset(), and llvm::MCSubtargetInfo::ToggleFeature().
|
inlineconstexpr |
Definition at line 62 of file SubtargetFeature.h.
References I.
|
inlineconstexpr |
Definition at line 84 of file SubtargetFeature.h.
References llvm::MAX_SUBTARGET_FEATURES.
Referenced by llvm::MCSubtargetInfo::ClearFeatureBitsTransitively(), and operator<().
Definition at line 82 of file SubtargetFeature.h.
References I.
Referenced by llvm::AMDGPU::IsaInfo::AMDGPUTargetID::AMDGPUTargetID(), llvm::Hexagon_MC::completeHVXFeatures(), llvm::AMDGPU::IsaInfo::getAddressableLocalMemorySize(), llvm::AMDGPU::IsaInfo::getAddressableNumSGPRs(), llvm::AMDGPU::IsaInfo::getAddressableNumVGPRs(), llvm::Hexagon_MC::getArchVersion(), llvm::AMDGPU::MCKernelDescriptor::getDefaultAmdhsaKernelDescriptor(), llvm::MCSubtargetInfo::getEnabledProcessorFeatures(), llvm::AMDGPU::IsaInfo::getEUsPerCU(), llvm::Hexagon_MC::getHVXVersion(), llvm::AMDGPU::IsaInfo::getLocalMemorySize(), llvm::AMDGPU::IsaInfo::getMaxNumSGPRs(), llvm::AMDGPU::IsaInfo::getMaxWorkGroupsPerCU(), 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(), SetImpliedBits(), and llvm::MCSubtargetInfo::ToggleFeature().