Lines Matching refs:FeatureEntry
193 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument
199 if (FeatureEntry->Value == FE.Value) continue; in SetImpliedBits()
201 if (FeatureEntry->Implies & FE.Value) { in SetImpliedBits()
212 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument
218 if (FeatureEntry->Value == FE.Value) continue; in ClearImpliedBits()
220 if (FE.Implies & FeatureEntry->Value) { in ClearImpliedBits()
234 const SubtargetFeatureKV *FeatureEntry = in ToggleFeature() local
237 if (FeatureEntry) { in ToggleFeature()
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()
315 const SubtargetFeatureKV *FeatureEntry = in getFeatureBits() local
318 if (FeatureEntry) { 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()