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"
112 // Determine the length of the longest CPU and Feature entries.
129 // Print the Feature table.
131 for (auto &Feature : FeatTable)
132 errs() << format(" %-*s - %s.\n", MaxFeatLen, Feature.Key, Feature.Desc);
216 for (const std::string &Feature : Features.getFeatures()) {
218 if (Feature == "+help")
220 else if (Feature == "+cpuhelp")
223 ApplyFeatureFlag(Bits, Feature, ProcFeatures);
288 FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef Feature) {
291 Find(SubtargetFeatures::StripFlag(Feature), ProcFeatures);
306 errs() << "'" << Feature << "' is not a recognized feature for this target"