|
LLVM 23.0.0git
|
Container class for subtarget features. More...
#include "llvm/TargetParser/SubtargetFeature.h"
Classes | |
| class | const_iterator |
| Yields the index of each set bit, skipping unset bits via countr_zero. More... | |
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 43 of file SubtargetFeature.h.
|
inlineconstexprprotected |
Definition at line 49 of file SubtargetFeature.h.
References B().
Referenced by llvm::FeatureBitset::const_iterator::const_iterator(), llvm::FeatureBitArray::FeatureBitArray(), flip(), llvm::FeatureBitArray::getAsBitset(), operator!=(), operator&(), operator&=(), operator<(), operator==(), operator^(), operator^=(), operator|(), operator|=(), operator~(), reset(), set(), and set().
|
constexprdefault |
|
inlineconstexpr |
Definition at line 54 of file SubtargetFeature.h.
|
inline |
Definition at line 127 of file SubtargetFeature.h.
References llvm::any_of(), and I.
Referenced by getImpliedEnabledFeatures(), none(), and SetImpliedBits().
|
inline |
Definition at line 122 of file SubtargetFeature.h.
References find_first_from().
|
inline |
Definition at line 131 of file SubtargetFeature.h.
References B(), llvm::Count, and llvm::popcount().
|
inline |
Definition at line 125 of file SubtargetFeature.h.
References size().
Index of the first set bit at or after Begin, or size() if none.
Definition at line 89 of file SubtargetFeature.h.
References llvm::countr_zero(), llvm::Masked, llvm::maskTrailingZeros(), and size().
Referenced by begin().
|
inlineconstexpr |
Definition at line 74 of file SubtargetFeature.h.
References FeatureBitset(), and I.
Referenced by llvm::MCSubtargetInfo::ToggleFeature().
|
inline |
Definition at line 130 of file SubtargetFeature.h.
References any().
Referenced by createAMDGPUMCSubtargetInfo().
|
inline |
Definition at line 184 of file SubtargetFeature.h.
References FeatureBitset(), and RHS.
|
inlineconstexpr |
Definition at line 155 of file SubtargetFeature.h.
References FeatureBitset(), and RHS.
|
inlineconstexpr |
Definition at line 150 of file SubtargetFeature.h.
References E(), FeatureBitset(), I, and RHS.
|
inline |
Definition at line 186 of file SubtargetFeature.h.
References E(), FeatureBitset(), I, LHS, llvm::Other, RHS, size(), and test.
|
inline |
Definition at line 180 of file SubtargetFeature.h.
References FeatureBitset(), and RHS.
Definition at line 79 of file SubtargetFeature.h.
References I.
|
inlineconstexpr |
Definition at line 144 of file SubtargetFeature.h.
References FeatureBitset(), and RHS.
|
inlineconstexpr |
Definition at line 138 of file SubtargetFeature.h.
References E(), FeatureBitset(), I, and RHS.
|
inlineconstexpr |
Definition at line 167 of file SubtargetFeature.h.
References FeatureBitset(), and RHS.
|
inlineconstexpr |
Definition at line 161 of file SubtargetFeature.h.
References E(), FeatureBitset(), I, and RHS.
|
inlineconstexpr |
Definition at line 173 of file SubtargetFeature.h.
References B(), and FeatureBitset().
|
inlineconstexpr |
Definition at line 69 of file SubtargetFeature.h.
References FeatureBitset(), and I.
Referenced by llvm::Hexagon_MC::createHexagonMCSubtargetInfo(), and llvm::HexagonSubtarget::initializeSubtargetDependencies().
|
inline |
Definition at line 59 of file SubtargetFeature.h.
References FeatureBitset(), and llvm::fill().
Referenced by llvm::Hexagon_MC::completeHVXFeatures(), llvm::Hexagon_MC::createHexagonMCSubtargetInfo(), createRISCVMCSubtargetInfo(), createSparcMCSubtargetInfo(), FeatureBitset(), and llvm::SparcSubtarget::initializeSubtargetDependencies().
|
inlineconstexpr |
Definition at line 64 of file SubtargetFeature.h.
References FeatureBitset(), and I.
|
inlineconstexpr |
Definition at line 86 of file SubtargetFeature.h.
References llvm::MAX_SUBTARGET_FEATURES.
Referenced by llvm::MCSubtargetInfo::ClearFeatureBitsTransitively(), end(), find_first_from(), and operator<().
Definition at line 84 of file SubtargetFeature.h.
References I.
Referenced by llvm::Hexagon_MC::completeHVXFeatures(), llvm::AMDGPU::createAMDGPUTargetID(), llvm::AMDGPU::IsaInfo::getAddressableLocalMemorySize(), llvm::AMDGPU::IsaInfo::getAddressableNumArchVGPRs(), llvm::AMDGPU::IsaInfo::getAddressableNumSGPRs(), llvm::Hexagon_MC::getArchVersion(), llvm::AMDGPU::MCKernelDescriptor::getDefaultAmdhsaKernelDescriptor(), llvm::AMDGPU::IsaInfo::getEUsPerCU(), llvm::Hexagon_MC::getHVXVersion(), llvm::AMDGPU::IsaInfo::getInstCacheLineSize(), llvm::AMDGPU::IsaInfo::getLocalMemorySize(), llvm::AMDGPU::IsaInfo::getMaxWorkGroupsPerCU(), llvm::AMDGPU::IsaInfo::getNumExtraSGPRs(), llvm::AMDGPU::IsaInfo::getNumExtraSGPRs(), llvm::AMDGPU::IsaInfo::getSGPRTrapHandlerReserve(), llvm::AMDGPU::IsaInfo::getTotalNumVGPRs(), llvm::AMDGPU::IsaInfo::getVGPRAllocGranule(), llvm::AMDGPU::IsaInfo::getVGPREncodingGranule(), llvm::AMDGPU::IsaInfo::getWavefrontSize(), hasFeature(), llvm::AMDGPU::initDefaultAMDKernelCodeT(), matchAliasCondition(), SetImpliedBits(), and setImpliedBits().