Lines Matching refs:FeatureEntry
135 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument
138 if (FeatureEntry->Value == FE.Value) continue; in SetImpliedBits()
140 if ((FeatureEntry->Implies & FE.Value).any()) { in SetImpliedBits()
152 const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument
155 if (FeatureEntry->Value == FE.Value) continue; in ClearImpliedBits()
157 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()
197 const SubtargetFeatureKV *FeatureEntry = in ApplyFeatureFlag() local
200 if (FeatureEntry) { in ApplyFeatureFlag()
203 Bits |= FeatureEntry->Value; in ApplyFeatureFlag()
206 SetImpliedBits(Bits, FeatureEntry, FeatureTable); in ApplyFeatureFlag()
208 Bits &= ~FeatureEntry->Value; in ApplyFeatureFlag()
211 ClearImpliedBits(Bits, FeatureEntry, FeatureTable); in ApplyFeatureFlag()