Lines Matching defs:Feature
265 auto IsNonISAExtFeature = [](StringRef Feature) {
266 assert(Feature.size() > 1 && (Feature[0] == '+' || Feature[0] == '-'));
267 StringRef Ext = Feature.substr(1); // drop the +/-
317 bool RISCVTargetInfo::hasFeature(StringRef Feature) const {
319 auto Result = llvm::StringSwitch<std::optional<bool>>(Feature)
330 return ISAInfo->hasExtension(Feature);
417 for (auto &Feature : AttrFeatures) {
418 Feature = Feature.trim();
419 StringRef AttrString = Feature.split("=").second.trim();
421 if (Feature.starts_with("arch=")) {
448 } else if (Feature.starts_with("cpu=")) {
462 } else if (Feature.starts_with("tune=")) {