Home | History | Annotate | Download | only in Targets

Lines Matching refs:FEATURE

1 //===--- AArch64.cpp - Implement AArch64 target feature support -----------===//
38 #define TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANGS, FEATURE) \
39 {#ID, TYPE, ATTRS, HEADER, LANGS, FEATURE},
290 // The __ARM_FEATURE_CRYPTO is deprecated in favor of finer grained feature
427 bool AArch64TargetInfo::hasFeature(StringRef Feature) const {
428 return Feature == "aarch64" || Feature == "arm64" || Feature == "arm" ||
429 (Feature == "neon" && (FPU & NeonMode)) ||
430 ((Feature == "sve" || Feature == "sve2" || Feature == "sve2-bitperm" ||
431 Feature == "sve2-aes" || Feature == "sve2-sha3" ||
432 Feature == "sve2-sm4" || Feature == "f64mm" || Feature == "f32mm" ||
433 Feature == "i8mm" || Feature == "bf16") &&
467 for (const auto &Feature : Features) {
468 if (Feature == "+neon")
470 if (Feature == "+sve") {
474 if (Feature == "+sve2") {
479 if (Feature == "+sve2-aes") {
485 if (Feature == "+sve2-sha3") {
491 if (Feature == "+sve2-sm4") {
497 if (Feature == "+sve2-bitperm") {
503 if (Feature == "+f32mm") {
507 if (Feature == "+f64mm") {
511 if (Feature == "+crc")
513 if (Feature == "+crypto")
515 if (Feature == "+aes")
517 if (Feature == "+sha2")
519 if (Feature == "+sha3") {
523 if (Feature == "+sm4")
525 if (Feature == "+strict-align")
527 if (Feature == "+v8.1a")
529 if (Feature == "+v8.2a")
531 if (Feature == "+v8.3a")
533 if (Feature == "+v8.4a")
535 if (Feature == "+v8.5a")
537 if (Feature == "+v8.6a")
539 if (Feature == "+v8.7a")
541 if (Feature == "+v8r")
543 if (Feature == "+fullfp16")
545 if (Feature == "+dotprod")
547 if (Feature == "+fp16fml")
549 if (Feature == "+mte")
551 if (Feature == "+tme")
553 if (Feature == "+pauth")
555 if (Feature == "+i8mm")
557 if (Feature == "+bf16")
559 if (Feature == "+lse")
561 if (Feature == "+ls64")
563 if (Feature == "+rand")
565 if (Feature == "+flagm")