Lines Matching refs:Bits
193 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument
202 Bits |= FE.Value; in SetImpliedBits()
203 SetImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in SetImpliedBits()
212 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument
221 Bits &= ~FE.Value; in ClearImpliedBits()
222 ClearImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in ClearImpliedBits()
230 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature, in ToggleFeature() argument
238 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) { in ToggleFeature()
239 Bits &= ~FeatureEntry->Value; in ToggleFeature()
242 ClearImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in ToggleFeature()
244 Bits |= FeatureEntry->Value; in ToggleFeature()
247 SetImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in ToggleFeature()
255 return Bits; in ToggleFeature()
279 uint64_t Bits = 0; // Resulting bits in getFeatureBits() local
291 Bits = CPUEntry->Value; in getFeatureBits()
297 SetImpliedBits(Bits, &FE, FeatureTable, FeatureTableSize); in getFeatureBits()
321 Bits |= FeatureEntry->Value; in getFeatureBits()
324 SetImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in getFeatureBits()
326 Bits &= ~FeatureEntry->Value; in getFeatureBits()
329 ClearImpliedBits(Bits, FeatureEntry, FeatureTable, FeatureTableSize); in getFeatureBits()
338 return Bits; in getFeatureBits()