• Home
  • Raw
  • Download

Lines Matching refs:Feature

979   bool hasFeature(StringRef Feature) const override;
1130 for (const auto &Feature : Features) { in handleTargetFeatures() local
1131 if (Feature == "+vsx") { in handleTargetFeatures()
1133 } else if (Feature == "+bpermd") { in handleTargetFeatures()
1135 } else if (Feature == "+extdiv") { in handleTargetFeatures()
1137 } else if (Feature == "+power8-vector") { in handleTargetFeatures()
1139 } else if (Feature == "+crypto") { in handleTargetFeatures()
1141 } else if (Feature == "+direct-move") { in handleTargetFeatures()
1143 } else if (Feature == "+qpx") { in handleTargetFeatures()
1145 } else if (Feature == "+htm") { in handleTargetFeatures()
1147 } else if (Feature == "+float128") { in handleTargetFeatures()
1439 bool PPCTargetInfo::hasFeature(StringRef Feature) const { in hasFeature()
1440 return llvm::StringSwitch<bool>(Feature) in hasFeature()
1817 bool hasFeature(StringRef Feature) const override { in hasFeature()
1818 return Feature == "ptx" || Feature == "nvptx"; in hasFeature()
2684 bool hasFeature(StringRef Feature) const override;
3271 for (const auto &Feature : Features) { in handleTargetFeatures() local
3272 if (Feature[0] != '+') in handleTargetFeatures()
3275 if (Feature == "+aes") { in handleTargetFeatures()
3277 } else if (Feature == "+pclmul") { in handleTargetFeatures()
3279 } else if (Feature == "+lzcnt") { in handleTargetFeatures()
3281 } else if (Feature == "+rdrnd") { in handleTargetFeatures()
3283 } else if (Feature == "+fsgsbase") { in handleTargetFeatures()
3285 } else if (Feature == "+bmi") { in handleTargetFeatures()
3287 } else if (Feature == "+bmi2") { in handleTargetFeatures()
3289 } else if (Feature == "+popcnt") { in handleTargetFeatures()
3291 } else if (Feature == "+rtm") { in handleTargetFeatures()
3293 } else if (Feature == "+prfchw") { in handleTargetFeatures()
3295 } else if (Feature == "+rdseed") { in handleTargetFeatures()
3297 } else if (Feature == "+adx") { in handleTargetFeatures()
3299 } else if (Feature == "+tbm") { in handleTargetFeatures()
3301 } else if (Feature == "+fma") { in handleTargetFeatures()
3303 } else if (Feature == "+f16c") { in handleTargetFeatures()
3305 } else if (Feature == "+avx512cd") { in handleTargetFeatures()
3307 } else if (Feature == "+avx512er") { in handleTargetFeatures()
3309 } else if (Feature == "+avx512pf") { in handleTargetFeatures()
3311 } else if (Feature == "+avx512dq") { in handleTargetFeatures()
3313 } else if (Feature == "+avx512bw") { in handleTargetFeatures()
3315 } else if (Feature == "+avx512vl") { in handleTargetFeatures()
3317 } else if (Feature == "+avx512vbmi") { in handleTargetFeatures()
3319 } else if (Feature == "+avx512ifma") { in handleTargetFeatures()
3321 } else if (Feature == "+sha") { in handleTargetFeatures()
3323 } else if (Feature == "+mpx") { in handleTargetFeatures()
3325 } else if (Feature == "+movbe") { in handleTargetFeatures()
3327 } else if (Feature == "+sgx") { in handleTargetFeatures()
3329 } else if (Feature == "+cx16") { in handleTargetFeatures()
3331 } else if (Feature == "+fxsr") { in handleTargetFeatures()
3333 } else if (Feature == "+xsave") { in handleTargetFeatures()
3335 } else if (Feature == "+xsaveopt") { in handleTargetFeatures()
3337 } else if (Feature == "+xsavec") { in handleTargetFeatures()
3339 } else if (Feature == "+xsaves") { in handleTargetFeatures()
3341 } else if (Feature == "+mwaitx") { in handleTargetFeatures()
3343 } else if (Feature == "+pku") { in handleTargetFeatures()
3345 } else if (Feature == "+clflushopt") { in handleTargetFeatures()
3347 } else if (Feature == "+pcommit") { in handleTargetFeatures()
3349 } else if (Feature == "+clwb") { in handleTargetFeatures()
3351 } else if (Feature == "+umip") { in handleTargetFeatures()
3353 } else if (Feature == "+prefetchwt1") { in handleTargetFeatures()
3357 X86SSEEnum Level = llvm::StringSwitch<X86SSEEnum>(Feature) in handleTargetFeatures()
3371 llvm::StringSwitch<MMX3DNowEnum>(Feature) in handleTargetFeatures()
3378 XOPEnum XLevel = llvm::StringSwitch<XOPEnum>(Feature) in handleTargetFeatures()
3737 bool X86TargetInfo::hasFeature(StringRef Feature) const { in hasFeature()
3738 return llvm::StringSwitch<bool>(Feature) in hasFeature()
4952 for (const char *Feature : TargetFeatures) in initFeatureMap() local
4953 if (Feature[0] == '+') in initFeatureMap()
4954 Features[Feature+1] = true; in initFeatureMap()
4972 for (const auto &Feature : Features) { in handleTargetFeatures() local
4973 if (Feature == "+soft-float") { in handleTargetFeatures()
4975 } else if (Feature == "+soft-float-abi") { in handleTargetFeatures()
4977 } else if (Feature == "+vfp2") { in handleTargetFeatures()
4980 } else if (Feature == "+vfp3") { in handleTargetFeatures()
4983 } else if (Feature == "+vfp4") { in handleTargetFeatures()
4986 } else if (Feature == "+fp-armv8") { in handleTargetFeatures()
4989 } else if (Feature == "+neon") { in handleTargetFeatures()
4992 } else if (Feature == "+hwdiv") { in handleTargetFeatures()
4994 } else if (Feature == "+hwdiv-arm") { in handleTargetFeatures()
4996 } else if (Feature == "+crc") { in handleTargetFeatures()
4998 } else if (Feature == "+crypto") { in handleTargetFeatures()
5000 } else if (Feature == "+dsp") { in handleTargetFeatures()
5002 } else if (Feature == "+fp-only-sp") { in handleTargetFeatures()
5004 } else if (Feature == "+strict-align") { in handleTargetFeatures()
5006 } else if (Feature == "+fp16") { in handleTargetFeatures()
5042 auto Feature = in handleTargetFeatures() local
5044 if (Feature != Features.end()) in handleTargetFeatures()
5045 Features.erase(Feature); in handleTargetFeatures()
5050 bool hasFeature(StringRef Feature) const override { in hasFeature()
5051 return llvm::StringSwitch<bool>(Feature) in hasFeature()
5804 bool hasFeature(StringRef Feature) const override { in hasFeature()
5805 return Feature == "aarch64" || in hasFeature()
5806 Feature == "arm64" || in hasFeature()
5807 Feature == "arm" || in hasFeature()
5808 (Feature == "neon" && FPU == NeonMode); in hasFeature()
5819 for (const auto &Feature : Features) { in handleTargetFeatures() local
5820 if (Feature == "+neon") in handleTargetFeatures()
5822 if (Feature == "+crc") in handleTargetFeatures()
5824 if (Feature == "+crypto") in handleTargetFeatures()
5826 if (Feature == "+strict-align") in handleTargetFeatures()
5828 if (Feature == "+v8.1a") in handleTargetFeatures()
6124 bool hasFeature(StringRef Feature) const override { in hasFeature()
6125 return llvm::StringSwitch<bool>(Feature) in hasFeature()
6326 bool hasFeature(StringRef Feature) const override { in hasFeature()
6327 return llvm::StringSwitch<bool>(Feature).Case("lanai", true).Default(false); in hasFeature()
6389 auto Feature = std::find(Features.begin(), Features.end(), "+soft-float"); in handleTargetFeatures() local
6390 if (Feature != Features.end()) { in handleTargetFeatures()
6404 bool hasFeature(StringRef Feature) const override { in hasFeature()
6405 return llvm::StringSwitch<bool>(Feature) in hasFeature()
6804 for (const auto &Feature : Features) { in handleTargetFeatures() local
6805 if (Feature == "+transactional-execution") in handleTargetFeatures()
6807 else if (Feature == "+vector") in handleTargetFeatures()
6819 bool hasFeature(StringRef Feature) const override { in hasFeature()
6820 return llvm::StringSwitch<bool>(Feature) in hasFeature()
6929 bool hasFeature(StringRef Feature) const override { in hasFeature()
6930 return Feature == "msp430"; in hasFeature()
7023 bool hasFeature(StringRef Feature) const override { return Feature == "tce"; } in hasFeature()
7067 bool hasFeature(StringRef Feature) const override { in hasFeature()
7068 return Feature == "bpf"; in hasFeature()
7392 bool hasFeature(StringRef Feature) const override { in hasFeature()
7393 return llvm::StringSwitch<bool>(Feature) in hasFeature()
7514 for (const auto &Feature : Features) { in handleTargetFeatures() local
7515 if (Feature == "+single-float") in handleTargetFeatures()
7517 else if (Feature == "+soft-float") in handleTargetFeatures()
7519 else if (Feature == "+mips16") in handleTargetFeatures()
7521 else if (Feature == "+micromips") in handleTargetFeatures()
7523 else if (Feature == "+dsp") in handleTargetFeatures()
7525 else if (Feature == "+dspr2") in handleTargetFeatures()
7527 else if (Feature == "+msa") in handleTargetFeatures()
7529 else if (Feature == "+fp64") in handleTargetFeatures()
7531 else if (Feature == "-fp64") in handleTargetFeatures()
7533 else if (Feature == "+nan2008") in handleTargetFeatures()
7535 else if (Feature == "-nan2008") in handleTargetFeatures()
7662 bool hasFeature(StringRef Feature) const override { in hasFeature()
7663 return Feature == "pnacl"; in hasFeature()
7780 bool hasFeature(StringRef Feature) const final { in hasFeature()
7781 return llvm::StringSwitch<bool>(Feature) in hasFeature()
7787 for (const auto &Feature : Features) { in handleTargetFeatures() local
7788 if (Feature == "+simd128") { in handleTargetFeatures()
7792 if (Feature == "-simd128") { in handleTargetFeatures()
7797 Diags.Report(diag::err_opt_not_valid_with_opt) << Feature in handleTargetFeatures()
7926 bool hasFeature(StringRef Feature) const override { in hasFeature()
7927 return Feature == "spir"; in hasFeature()