Lines Matching refs:Bits
192 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument
201 Bits |= FE.Value; in SetImpliedBits()
202 SetImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in SetImpliedBits()
211 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument
220 Bits &= ~FE.Value; in ClearImpliedBits()
221 ClearImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in ClearImpliedBits()
229 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature, in ToggleFeature() argument
237 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) { in ToggleFeature()
238 Bits &= ~FeatureEntry->Value; in ToggleFeature()
241 ClearImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in ToggleFeature()
243 Bits |= FeatureEntry->Value; in ToggleFeature()
246 SetImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in ToggleFeature()
254 return Bits; in ToggleFeature()
278 uint64_t Bits = 0; // Resulting bits in getFeatureBits() local
290 Bits = CPUEntry->Value; in getFeatureBits()
296 SetImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in getFeatureBits()
320 Bits |= FeatureEntry->Value; in getFeatureBits()
323 SetImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in getFeatureBits()
325 Bits &= ~FeatureEntry->Value; in getFeatureBits()
328 ClearImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in getFeatureBits()
337 return Bits; in getFeatureBits()