LLVM 22.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 42 of file SubtargetFeature.h.
|
inlineconstexprprotected |
Definition at line 48 of file SubtargetFeature.h.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 53 of file SubtargetFeature.h.
|
inline |
Definition at line 87 of file SubtargetFeature.h.
References llvm::any_of(), and I.
Referenced by getImpliedEnabledFeatures(), and none().
|
inline |
Definition at line 91 of file SubtargetFeature.h.
References B, and llvm::popcount().
|
inlineconstexpr |
Definition at line 73 of file SubtargetFeature.h.
References I.
Referenced by llvm::MCSubtargetInfo::ToggleFeature().
|
inline |
Definition at line 90 of file SubtargetFeature.h.
References any().
Referenced by llvm::RISCVSysReg::SysReg::haveRequiredFeatures().
|
inline |
Definition at line 144 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 115 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 110 of file SubtargetFeature.h.
|
inline |
Definition at line 146 of file SubtargetFeature.h.
|
inline |
Definition at line 140 of file SubtargetFeature.h.
References RHS.
Definition at line 78 of file SubtargetFeature.h.
References I.
|
inlineconstexpr |
Definition at line 104 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 98 of file SubtargetFeature.h.
|
inlineconstexpr |
Definition at line 127 of file SubtargetFeature.h.
References RHS.
|
inlineconstexpr |
Definition at line 121 of file SubtargetFeature.h.
|
inlineconstexpr |
Definition at line 133 of file SubtargetFeature.h.
References B.
|
inlineconstexpr |
Definition at line 68 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 58 of file SubtargetFeature.h.
References llvm::fill().
Referenced by llvm::Hexagon_MC::completeHVXFeatures(), llvm::Hexagon_MC::createHexagonMCSubtargetInfo(), createRISCVMCSubtargetInfo(), FeatureBitset(), and llvm::MCSubtargetInfo::ToggleFeature().
|
inlineconstexpr |
Definition at line 63 of file SubtargetFeature.h.
References I.
|
inlineconstexpr |
Definition at line 85 of file SubtargetFeature.h.
References llvm::MAX_SUBTARGET_FEATURES.
Referenced by llvm::MCSubtargetInfo::ClearFeatureBitsTransitively(), and operator<().
Definition at line 83 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(), SetImpliedBits(), and llvm::MCSubtargetInfo::ToggleFeature().