Lines Matching refs:Feature
58 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature,
60 assert(SubtargetFeatures::hasFlag(Feature) &&
61 "Feature flags should start with '+' or '-'");
65 Find(SubtargetFeatures::StripFlag(Feature), FeatureTable);
69 if (SubtargetFeatures::isEnabled(Feature)) {
81 errs() << "'" << Feature << "' is not a recognized feature for this target"
105 // Determine the length of the longest CPU and Feature entries.
116 // Print the Feature table.
118 for (auto &Feature : FeatTable)
119 errs() << format(" %-*s - %s.\n", MaxFeatLen, Feature.Key, Feature.Desc);
182 for (const std::string &Feature : Features.getFeatures()) {
184 if (Feature == "+help")
186 else if (Feature == "+cpuhelp")
189 ApplyFeatureFlag(Bits, Feature, ProcFeatures);
248 FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef Feature) {
251 Find(SubtargetFeatures::StripFlag(Feature), ProcFeatures);
266 errs() << "'" << Feature << "' is not a recognized feature for this target"