Lines Matching refs:Features
492 std::vector<const char *> &Features) {
495 Features.push_back("+fp-armv8");
497 Features.push_back("+fp-armv8");
498 Features.push_back("+neon");
500 Features.push_back("+fp-armv8");
501 Features.push_back("+neon");
502 Features.push_back("+crypto");
504 Features.push_back("+neon");
512 std::vector<const char *> &Features) {
515 Features.push_back("+hwdiv-arm");
516 Features.push_back("-hwdiv");
518 Features.push_back("-hwdiv-arm");
519 Features.push_back("+hwdiv");
521 Features.push_back("+hwdiv-arm");
522 Features.push_back("+hwdiv");
524 Features.push_back("-hwdiv-arm");
525 Features.push_back("-hwdiv");
536 std::vector<const char *> &Features) {
539 // Set the target features based on the FPU.
542 Features.push_back("-vfp2");
543 Features.push_back("-vfp3");
544 Features.push_back("-neon");
546 Features.push_back("+vfp2");
547 Features.push_back("-neon");
549 Features.push_back("+vfp3");
550 Features.push_back("+d16");
551 Features.push_back("-neon");
553 Features.push_back("+vfp3");
554 Features.push_back("-neon");
556 Features.push_back("+vfp4");
557 Features.push_back("+d16");
558 Features.push_back("-neon");
560 Features.push_back("+vfp4");
561 Features.push_back("-neon");
563 Features.push_back("+vfp4");
564 Features.push_back("+d16");
565 Features.push_back("+fp-only-sp");
566 Features.push_back("-neon");
568 Features.push_back("+fp-armv8");
569 Features.push_back("-neon");
570 Features.push_back("-crypto");
572 Features.push_back("+fp-armv8");
573 Features.push_back("+neon");
574 Features.push_back("-crypto");
576 Features.push_back("+fp-armv8");
577 Features.push_back("+neon");
578 Features.push_back("+crypto");
580 Features.push_back("+neon");
582 Features.push_back("-vfp2");
583 Features.push_back("-vfp3");
584 Features.push_back("-vfp4");
585 Features.push_back("-fp-armv8");
586 Features.push_back("-crypto");
587 Features.push_back("-neon");
690 std::vector<const char *> &Features,
708 Features.push_back("+soft-float");
712 Features.push_back("+soft-float-abi");
717 getARMFPUFeatures(D, A, Args, Features);
719 getARMHWDivFeatures(D, A, Args, Features);
724 Features.push_back("-neon");
725 // Also need to explicitly disable features which imply NEON.
726 Features.push_back("-crypto");
733 Features.push_back("+crc");
735 Features.push_back("-crc");
1015 std::vector<const char *> &Features,
1020 Features.push_back(Args.MakeArgString("+" + FeatureName));
1022 Features.push_back(Args.MakeArgString("-" + FeatureName));
1027 std::vector<const char *> &Features) {
1033 Features.push_back("+soft-float");
1039 Features.push_back("+nan2008");
1041 Features.push_back("-nan2008");
1047 AddTargetFeature(Args, Features, options::OPT_msingle_float,
1049 AddTargetFeature(Args, Features, options::OPT_mips16, options::OPT_mno_mips16,
1051 AddTargetFeature(Args, Features, options::OPT_mmicromips,
1053 AddTargetFeature(Args, Features, options::OPT_mdsp, options::OPT_mno_dsp,
1055 AddTargetFeature(Args, Features, options::OPT_mdspr2, options::OPT_mno_dspr2,
1057 AddTargetFeature(Args, Features, options::OPT_mmsa, options::OPT_mno_msa,
1059 AddTargetFeature(Args, Features, options::OPT_mfp64, options::OPT_mfp32,
1061 AddTargetFeature(Args, Features, options::OPT_mno_odd_spreg,
1187 std::vector<const char *> &Features) {
1209 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name));
1213 AddTargetFeature(Args, Features, options::OPT_faltivec,
1235 std::vector<const char *> Features) {
1243 Features.push_back("+soft-float");
1297 // FIXME: We should also incorporate the detected target features for use
1428 std::vector<const char *> &Features) {
1430 // x86_64h implies quite a few of the more modern subtarget features
1432 Features.push_back("-rdrnd");
1433 Features.push_back("-aes");
1434 Features.push_back("-pclmul");
1435 Features.push_back("-rtm");
1436 Features.push_back("-hle");
1437 Features.push_back("-fsgsbase");
1440 // Add features to comply with gcc on Android
1443 Features.push_back("+sse4.2");
1444 Features.push_back("+popcnt");
1446 Features.push_back("+ssse3");
1465 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name));
1551 std::vector<const char *> &Features) {
1554 getAArch64FPUFeatures(D, A, Args, Features);
1556 Features.push_back("+neon");
1559 Features.push_back("-fp-armv8");
1560 Features.push_back("-crypto");
1561 Features.push_back("-neon");
1568 Features.push_back("+crc");
1570 Features.push_back("-crc");
1577 std::vector<const char *> Features;
1585 getMIPSTargetFeatures(D, Args, Features);
1592 getARMTargetFeatures(D, Triple, Args, Features, ForAS);
1598 getPPCTargetFeatures(Args, Features);
1601 getSparcTargetFeatures(Args, Features);
1607 getAArch64TargetFeatures(D, Args, Features);
1611 getX86TargetFeatures(Triple, Args, Features);
1617 for (unsigned I = 0, N = Features.size(); I < N; ++I) {
1618 const char *Name = Features[I];
1623 for (unsigned I = 0, N = Features.size(); I < N; ++I) {
1625 const char *Name = Features[I];
2830 // Add the target features
4557 // Add the target features