Lines Matching refs:FeatureEntry
154 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument
157 if (FeatureEntry->Value == FE.Value) continue; in SetImpliedBits()
159 if (FeatureEntry->Implies & FE.Value) { in SetImpliedBits()
170 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument
173 if (FeatureEntry->Value == FE.Value) continue; in ClearImpliedBits()
175 if (FE.Implies & FeatureEntry->Value) { in ClearImpliedBits()
189 const SubtargetFeatureKV *FeatureEntry = in ToggleFeature() local
192 if (FeatureEntry) { in ToggleFeature()
193 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) { in ToggleFeature()
194 Bits &= ~FeatureEntry->Value; in ToggleFeature()
197 ClearImpliedBits(Bits, FeatureEntry, FeatureTable); in ToggleFeature()
199 Bits |= FeatureEntry->Value; in ToggleFeature()
202 SetImpliedBits(Bits, FeatureEntry, FeatureTable); in ToggleFeature()
272 const SubtargetFeatureKV *FeatureEntry = in getFeatureBits() local
275 if (FeatureEntry) { in getFeatureBits()
278 Bits |= FeatureEntry->Value; in getFeatureBits()
281 SetImpliedBits(Bits, FeatureEntry, FeatureTable); in getFeatureBits()
283 Bits &= ~FeatureEntry->Value; in getFeatureBits()
286 ClearImpliedBits(Bits, FeatureEntry, FeatureTable); in getFeatureBits()