Lines Matching refs:Features
82 std::vector<StringRef> &Features) { in getARMHWDivFeatures() argument
84 if (!llvm::ARM::getHWDivFeatures(HWDivID, Features)) in getARMHWDivFeatures()
91 std::vector<StringRef> &Features) { in getARMFPUFeatures() argument
93 if (!llvm::ARM::getFPUFeatures(FPUKind, Features)) in getARMFPUFeatures()
101 std::vector<StringRef> &Features, in DecodeARMFeatures() argument
107 if (!appendArchExtFeatures(CPU, ArchKind, Feature, Features, ArgFPUKind)) in DecodeARMFeatures()
114 std::vector<StringRef> &Features) { in DecodeARMFeaturesFromCPU() argument
119 llvm::ARM::getExtensionFeatures(Extension, Features); in DecodeARMFeaturesFromCPU()
128 std::vector<StringRef> &Features, in checkARMArchName() argument
137 !DecodeARMFeatures(D, Split.second, CPUName, ArchKind, Features, in checkARMArchName()
146 std::vector<StringRef> &Features, in checkARMCPUName() argument
156 Features, ArgFPUKind))) in checkARMCPUName()
497 std::vector<StringRef> &Features, in getARMTargetFeatures() argument
526 Features.push_back("+soft-float"); in getARMTargetFeatures()
530 Features.push_back("+soft-float-abi"); in getARMTargetFeatures()
559 Features.push_back("+read-tp-tpidrurw"); in getARMTargetFeatures()
561 Features.push_back("+read-tp-tpidruro"); in getARMTargetFeatures()
563 Features.push_back("+read-tp-tpidrprw"); in getARMTargetFeatures()
602 Features.push_back( in getARMTargetFeatures()
609 DecodeARMFeaturesFromCPU(D, CPUName, Features); in getARMTargetFeatures()
627 (void)getARMFPUFeatures(D, WaFPU->first, Args, WaFPU->second, Features); in getARMTargetFeatures()
629 FPUKind = getARMFPUFeatures(D, FPUArg, Args, FPUArg->getValue(), Features); in getARMTargetFeatures()
633 if (!llvm::ARM::getFPUFeatures(FPUKind, Features)) in getARMTargetFeatures()
640 (void)llvm::ARM::getFPUFeatures(FPUKind, Features); in getARMTargetFeatures()
647 (void)llvm::ARM::getFPUFeatures(FPUKind, Features); in getARMTargetFeatures()
654 Features.insert(std::end(Features), in getARMTargetFeatures()
663 getARMHWDivFeatures(D, WaHDiv->first, Args, WaHDiv->second, Features); in getARMTargetFeatures()
665 getARMHWDivFeatures(D, HDivArg, Args, HDivArg->getValue(), Features); in getARMTargetFeatures()
671 const auto ItRNoFullFP16 = std::find(Features.rbegin(), Features.rend(), "-fullfp16"); in getARMTargetFeatures()
672 const auto ItRFP16FML = std::find(Features.rbegin(), Features.rend(), "+fp16fml"); in getARMTargetFeatures()
674 const auto ItRFullFP16 = std::find(Features.rbegin(), Features.rend(), "+fullfp16"); in getARMTargetFeatures()
678 if (std::find(Features.rbegin(), ItRFullFP16, "-fp16fml") == ItRFullFP16) in getARMTargetFeatures()
679 Features.push_back("+fp16fml"); in getARMTargetFeatures()
689 Features.push_back("-fp16fml"); in getARMTargetFeatures()
691 Features.push_back("+fullfp16"); in getARMTargetFeatures()
700 llvm::ARM::getFPUFeatures(llvm::ARM::FK_NONE, Features); in getARMTargetFeatures()
704 Features.insert(Features.end(), in getARMTargetFeatures()
715 Features.insert(Features.end(), in getARMTargetFeatures()
717 HasFPRegs = hasIntegerMVE(Features); in getARMTargetFeatures()
721 Features.emplace_back("-fpregs"); in getARMTargetFeatures()
726 Features.push_back("+crc"); in getARMTargetFeatures()
728 Features.push_back("-crc"); in getARMTargetFeatures()
742 llvm::find_if(llvm::reverse(Features), [](const StringRef F) { in getARMTargetFeatures()
746 llvm::find_if(llvm::reverse(Features), [](const StringRef F) { in getARMTargetFeatures()
750 llvm::find_if(llvm::reverse(Features), [](const StringRef F) { in getARMTargetFeatures()
753 const bool FoundSHA2 = ItSHA2 != Features.rend(); in getARMTargetFeatures()
754 const bool FoundAES = ItAES != Features.rend(); in getARMTargetFeatures()
759 if (ItCrypto != Features.rend()) { in getARMTargetFeatures()
761 Features.push_back("+crypto"); in getARMTargetFeatures()
763 Features.push_back("-crypto"); in getARMTargetFeatures()
765 Features.push_back("+sha2"); in getARMTargetFeatures()
767 Features.push_back("-sha2"); in getARMTargetFeatures()
769 Features.push_back("+aes"); in getARMTargetFeatures()
771 Features.push_back("-aes"); in getARMTargetFeatures()
796 Features.push_back("-sha2"); in getARMTargetFeatures()
797 Features.push_back("-aes"); in getARMTargetFeatures()
806 Features.push_back("+aapcs-frame-chain"); in getARMTargetFeatures()
811 Features.push_back("+8msecext"); in getARMTargetFeatures()
820 Features.push_back("+fix-cmse-cve-2021-35465"); in getARMTargetFeatures()
822 Features.push_back("-fix-cmse-cve-2021-35465"); in getARMTargetFeatures()
829 Features.push_back("+fix-cortex-a57-aes-1742098"); in getARMTargetFeatures()
831 Features.push_back("-fix-cortex-a57-aes-1742098"); in getARMTargetFeatures()
841 Features.push_back("+long-calls"); in getARMTargetFeatures()
844 Features.push_back("+long-calls"); in getARMTargetFeatures()
869 Features.push_back("+execute-only"); in getARMTargetFeatures()
882 Features.push_back("+strict-align"); in getARMTargetFeatures()
910 Features.push_back("+strict-align"); in getARMTargetFeatures()
916 Features.push_back("+strict-align"); in getARMTargetFeatures()
924 Features.push_back("+reserve-r9"); in getARMTargetFeatures()
928 Features.push_back("+no-movt"); in getARMTargetFeatures()
931 Features.push_back("+no-neg-immediates"); in getARMTargetFeatures()
977 Features.push_back("+harden-sls-retbr"); in getARMTargetFeatures()
979 Features.push_back("+harden-sls-blr"); in getARMTargetFeatures()
981 Features.push_back("+harden-sls-nocomdat"); in getARMTargetFeatures()
986 Features.push_back("+no-bti-at-return-twice"); in getARMTargetFeatures()