Home
last modified time | relevance | path

Searched refs:FeatureBitset (Results 1 – 25 of 75) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h29 class FeatureBitset; variable
65 IsaVersion getIsaVersion(const FeatureBitset &Features);
75 unsigned getWavefrontSize(const FeatureBitset &Features);
78 unsigned getLocalMemorySize(const FeatureBitset &Features);
82 unsigned getEUsPerCU(const FeatureBitset &Features);
86 unsigned getMaxWorkGroupsPerCU(const FeatureBitset &Features,
91 unsigned getMaxWavesPerCU(const FeatureBitset &Features);
95 unsigned getMaxWavesPerCU(const FeatureBitset &Features,
100 unsigned getMinWavesPerEU(const FeatureBitset &Features);
108 unsigned getMaxWavesPerEU(const FeatureBitset &Features,
[all …]
DAMDGPUBaseInfo.cpp140 IsaVersion getIsaVersion(const FeatureBitset &Features) { in getIsaVersion()
213 unsigned getWavefrontSize(const FeatureBitset &Features) { in getWavefrontSize()
222 unsigned getLocalMemorySize(const FeatureBitset &Features) { in getLocalMemorySize()
231 unsigned getEUsPerCU(const FeatureBitset &Features) { in getEUsPerCU()
235 unsigned getMaxWorkGroupsPerCU(const FeatureBitset &Features, in getMaxWorkGroupsPerCU()
246 unsigned getMaxWavesPerCU(const FeatureBitset &Features) { in getMaxWavesPerCU()
250 unsigned getMaxWavesPerCU(const FeatureBitset &Features, in getMaxWavesPerCU()
255 unsigned getMinWavesPerEU(const FeatureBitset &Features) { in getMinWavesPerEU()
264 unsigned getMaxWavesPerEU(const FeatureBitset &Features, in getMaxWavesPerEU()
270 unsigned getMinFlatWorkGroupSize(const FeatureBitset &Features) { in getMinFlatWorkGroupSize()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DSubtargetFeature.h37 class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> {
40 FeatureBitset() = default;
42 FeatureBitset(const bitset<MAX_SUBTARGET_FEATURES>& B) : bitset(B) {} in FeatureBitset() function
44 FeatureBitset(std::initializer_list<unsigned> Init) { in FeatureBitset() function
56 FeatureBitset Value; ///< K-V integer value
57 FeatureBitset Implies; ///< K-V bit mask
106 static void ToggleFeature(FeatureBitset &Bits, StringRef String,
110 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature,
114 FeatureBitset getFeatureBits(StringRef CPU,
DMCSubtargetInfo.h52 FeatureBitset FeatureBits; // Feature bits for current CPU + FS
71 const FeatureBitset& getFeatureBits() const { return FeatureBits; } in getFeatureBits()
72 void setFeatureBits(const FeatureBitset &FeatureBits_) { in setFeatureBits()
94 FeatureBitset ToggleFeature(uint64_t FB);
98 FeatureBitset ToggleFeature(const FeatureBitset& FB);
102 FeatureBitset ToggleFeature(StringRef FS);
106 FeatureBitset ApplyFeatureFlag(StringRef FS);
/external/llvm/include/llvm/MC/
DSubtargetFeature.h35 class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> {
38 FeatureBitset() : bitset() {} in FeatureBitset() function
40 FeatureBitset(const bitset<MAX_SUBTARGET_FEATURES>& B) : bitset(B) {} in FeatureBitset() function
42 FeatureBitset(std::initializer_list<unsigned> Init) : bitset() { in FeatureBitset() function
56 FeatureBitset Value; // K-V integer value
57 FeatureBitset Implies; // K-V bit mask
108 static void ToggleFeature(FeatureBitset &Bits, StringRef String,
112 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature,
116 FeatureBitset getFeatureBits(StringRef CPU,
DMCSubtargetInfo.h46 FeatureBitset FeatureBits; // Feature bits for current CPU + FS
72 const FeatureBitset& getFeatureBits() const { in getFeatureBits()
78 void setFeatureBits(const FeatureBitset &FeatureBits_) { in setFeatureBits()
96 FeatureBitset ToggleFeature(uint64_t FB);
100 FeatureBitset ToggleFeature(const FeatureBitset& FB);
104 FeatureBitset ToggleFeature(StringRef FS);
108 FeatureBitset ApplyFeatureFlag(StringRef FS);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCSubtargetInfo.cpp23 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures()
54 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) { in ToggleFeature()
59 FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) { in ToggleFeature()
64 FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef FS) { in ToggleFeature()
69 FeatureBitset MCSubtargetInfo::ApplyFeatureFlag(StringRef FS) { in ApplyFeatureFlag()
76 FeatureBitset Set, All; in checkFeatures()
DSubtargetFeature.cpp126 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV &FeatureEntry, in SetImpliedBits()
140 void ClearImpliedBits(FeatureBitset &Bits, in ClearImpliedBits()
154 SubtargetFeatures::ToggleFeature(FeatureBitset &Bits, StringRef Feature, in ToggleFeature()
177 void SubtargetFeatures::ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag()
204 FeatureBitset
209 return FeatureBitset(); in getFeatureBits()
216 FeatureBitset Bits; in getFeatureBits()
/external/llvm/lib/MC/
DMCSubtargetInfo.cpp20 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures()
53 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) { in ToggleFeature()
58 FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) { in ToggleFeature()
65 FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef FS) { in ToggleFeature()
70 FeatureBitset MCSubtargetInfo::ApplyFeatureFlag(StringRef FS) { in ApplyFeatureFlag()
DSubtargetFeature.cpp135 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits()
151 void ClearImpliedBits(FeatureBitset &Bits, in ClearImpliedBits()
166 SubtargetFeatures::ToggleFeature(FeatureBitset &Bits, StringRef Feature, in ToggleFeature()
191 void SubtargetFeatures::ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag()
223 FeatureBitset
229 return FeatureBitset(); in getFeatureBits()
238 FeatureBitset Bits; in getFeatureBits()
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h18 class FeatureBitset; variable
33 IsaVersion getIsaVersion(const FeatureBitset &Features);
35 const FeatureBitset &Features);
DAMDGPUBaseInfo.cpp30 IsaVersion getIsaVersion(const FeatureBitset &Features) { in getIsaVersion()
51 const FeatureBitset &Features) { in initDefaultAMDKernelCodeT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCTargetDesc.h25 class FeatureBitset; variable
51 FeatureBitset completeHVXFeatures(const FeatureBitset &FB);
DHexagonMCTargetDesc.cpp334 FeatureBitset Hexagon_MC::completeHVXFeatures(const FeatureBitset &S) { in completeHVXFeatures()
338 FeatureBitset FB = S; in completeHVXFeatures()
395 llvm::FeatureBitset Features = X->getFeatureBits(); in createHexagonMCSubtargetInfo()
DHexagonMCCodeEmitter.h86 uint64_t computeAvailableFeatures(const FeatureBitset &FB) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/Utils/
DARMBaseInfo.h120 FeatureBitset FeaturesRequired;
123 bool hasRequiredFeatures(FeatureBitset ActiveFeatures) const { in hasRequiredFeatures()
128 bool isInRequiredFeatures(FeatureBitset TestFeatures) const { in isInRequiredFeatures()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.h272 FeatureBitset FeaturesRequired;
275 SysAlias (const char *N, uint16_t E, FeatureBitset F) : in SysAlias()
278 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
282 FeatureBitset getRequiredFeatures() const { return FeaturesRequired; } in getRequiredFeatures()
288 SysAliasReg(const char *N, uint16_t E, bool R, FeatureBitset F) : SysAlias(N, E, F), in SysAliasReg()
477 FeatureBitset FeaturesRequired;
479 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCCodeEmitter.h27 class FeatureBitset; variable
68 uint64_t computeAvailableFeatures(const FeatureBitset &FB) const;
/external/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.h331 FeatureBitset FeaturesRequired;
333 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
436 FeatureBitset FeaturesRequired;
438 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVELFStreamer.cpp27 const FeatureBitset &Features = STI.getFeatureBits(); in RISCVTargetELFStreamer()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp613 const FeatureBitset &CallerBits = in areInlineCompatible()
615 const FeatureBitset &CalleeBits = in areInlineCompatible()
618 FeatureBitset RealCallerBits = CallerBits & ~InlineFeatureIgnoreList; in areInlineCompatible()
619 FeatureBitset RealCalleeBits = CalleeBits & ~InlineFeatureIgnoreList; in areInlineCompatible()
DAMDGPUSubtarget.h66 const FeatureBitset &SubtargetFeatureBits;
81 AMDGPUSubtarget(const Triple &TT, const FeatureBitset &FeatureBits);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRELFStreamer.cpp12 static unsigned getEFlagsForFeatureSet(const FeatureBitset &Features) { in getEFlagsForFeatureSet()
/external/llvm/lib/Target/AVR/MCTargetDesc/
DAVRELFStreamer.cpp10 static unsigned getEFlagsForFeatureSet(const FeatureBitset &Features) { in getEFlagsForFeatureSet()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFMCCodeEmitter.cpp67 uint64_t computeAvailableFeatures(const FeatureBitset &FB) const;

123