Lines Matching refs:FeatureEntry
134 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument
137 if (FeatureEntry->Value == FE.Value) continue; in SetImpliedBits()
139 if ((FeatureEntry->Implies & FE.Value).any()) { in SetImpliedBits()
151 const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument
154 if (FeatureEntry->Value == FE.Value) continue; in ClearImpliedBits()
156 if ((FE.Implies & FeatureEntry->Value).any()) { in ClearImpliedBits()
170 const SubtargetFeatureKV *FeatureEntry = in ToggleFeature() local
173 if (FeatureEntry) { in ToggleFeature()
174 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) { in ToggleFeature()
175 Bits &= ~FeatureEntry->Value; in ToggleFeature()
177 ClearImpliedBits(Bits, FeatureEntry, FeatureTable); in ToggleFeature()
179 Bits |= FeatureEntry->Value; in ToggleFeature()
182 SetImpliedBits(Bits, FeatureEntry, FeatureTable); in ToggleFeature()
204 const SubtargetFeatureKV *FeatureEntry = in ApplyFeatureFlag() local
207 if (FeatureEntry) { in ApplyFeatureFlag()
210 Bits |= FeatureEntry->Value; in ApplyFeatureFlag()
213 SetImpliedBits(Bits, FeatureEntry, FeatureTable); in ApplyFeatureFlag()
215 Bits &= ~FeatureEntry->Value; in ApplyFeatureFlag()
218 ClearImpliedBits(Bits, FeatureEntry, FeatureTable); in ApplyFeatureFlag()