Lines Matching defs:Feature
59 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature,
61 assert(SubtargetFeatures::hasFlag(Feature) &&
62 "Feature flags should start with '+' or '-'");
66 Find(SubtargetFeatures::StripFlag(Feature), FeatureTable);
70 if (SubtargetFeatures::isEnabled(Feature)) {
82 errs() << "'" << Feature << "' is not a recognized feature for this target"
106 // Determine the length of the longest CPU and Feature entries.
117 // Print the Feature table.
119 for (auto &Feature : FeatTable)
120 errs() << format(" %-*s - %s.\n", MaxFeatLen, Feature.Key, Feature.Desc);
196 for (const std::string &Feature : Features.getFeatures()) {
198 if (Feature == "+help")
200 else if (Feature == "+cpuhelp")
203 ApplyFeatureFlag(Bits, Feature, ProcFeatures);
268 FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef Feature) {
271 Find(SubtargetFeatures::StripFlag(Feature), ProcFeatures);
286 errs() << "'" << Feature << "' is not a recognized feature for this target"