Lines Matching refs:Features

69                                 std::vector<StringRef> &Features) {  in getARMHWDivFeatures()  argument
71 if (!llvm::ARM::getHWDivFeatures(HWDivID, Features)) in getARMHWDivFeatures()
78 std::vector<StringRef> &Features) { in getARMFPUFeatures() argument
80 if (!llvm::ARM::getFPUFeatures(FPUID, Features)) in getARMFPUFeatures()
88 std::vector<StringRef> &Features, in DecodeARMFeatures() argument
94 if (!appendArchExtFeatures(CPU, ArchKind, Feature, Features, ArgFPUID)) in DecodeARMFeatures()
101 std::vector<StringRef> &Features) { in DecodeARMFeaturesFromCPU() argument
106 llvm::ARM::getExtensionFeatures(Extension, Features); in DecodeARMFeaturesFromCPU()
115 std::vector<StringRef> &Features, in checkARMArchName() argument
123 ArchKind, Features, ArgFPUID))) in checkARMArchName()
131 std::vector<StringRef> &Features, in checkARMCPUName() argument
140 !DecodeARMFeatures(D, Split.second, CPU, ArchKind, Features, ArgFPUID))) in checkARMCPUName()
441 std::vector<StringRef> &Features, bool ForAS) { in getARMTargetFeatures() argument
470 Features.push_back("+soft-float"); in getARMTargetFeatures()
474 Features.push_back("+soft-float-abi"); in getARMTargetFeatures()
497 Features.push_back("+read-tp-hard"); in getARMTargetFeatures()
538 Features.push_back( in getARMTargetFeatures()
545 DecodeARMFeaturesFromCPU(D, CPUName, Features); in getARMTargetFeatures()
563 (void)getARMFPUFeatures(D, WaFPU->first, Args, WaFPU->second, Features); in getARMTargetFeatures()
565 FPUID = getARMFPUFeatures(D, FPUArg, Args, FPUArg->getValue(), Features); in getARMTargetFeatures()
569 if (!llvm::ARM::getFPUFeatures(FPUID, Features)) in getARMTargetFeatures()
578 (void)llvm::ARM::getFPUFeatures(FPUID, Features); in getARMTargetFeatures()
585 Features.insert(std::end(Features), in getARMTargetFeatures()
594 getARMHWDivFeatures(D, WaHDiv->first, Args, WaHDiv->second, Features); in getARMTargetFeatures()
596 getARMHWDivFeatures(D, HDivArg, Args, HDivArg->getValue(), Features); in getARMTargetFeatures()
602 const auto ItRNoFullFP16 = std::find(Features.rbegin(), Features.rend(), "-fullfp16"); in getARMTargetFeatures()
603 const auto ItRFP16FML = std::find(Features.rbegin(), Features.rend(), "+fp16fml"); in getARMTargetFeatures()
605 const auto ItRFullFP16 = std::find(Features.rbegin(), Features.rend(), "+fullfp16"); in getARMTargetFeatures()
609 if (std::find(Features.rbegin(), ItRFullFP16, "-fp16fml") == ItRFullFP16) in getARMTargetFeatures()
610 Features.push_back("+fp16fml"); in getARMTargetFeatures()
620 Features.push_back("-fp16fml"); in getARMTargetFeatures()
622 Features.push_back("+fullfp16"); in getARMTargetFeatures()
630 llvm::ARM::getFPUFeatures(llvm::ARM::FK_NONE, Features); in getARMTargetFeatures()
634 Features.insert(Features.end(), {"-dotprod", "-fp16fml", "-bf16", "-mve", in getARMTargetFeatures()
643 Features.insert(Features.end(), in getARMTargetFeatures()
645 if (!hasIntegerMVE(Features)) in getARMTargetFeatures()
646 Features.emplace_back("-fpregs"); in getARMTargetFeatures()
652 Features.push_back("+crc"); in getARMTargetFeatures()
654 Features.push_back("-crc"); in getARMTargetFeatures()
668 llvm::find_if(llvm::reverse(Features), [](const StringRef F) { in getARMTargetFeatures()
672 llvm::find_if(llvm::reverse(Features), [](const StringRef F) { in getARMTargetFeatures()
676 llvm::find_if(llvm::reverse(Features), [](const StringRef F) { in getARMTargetFeatures()
679 const bool FoundSHA2 = ItSHA2 != Features.rend(); in getARMTargetFeatures()
680 const bool FoundAES = ItAES != Features.rend(); in getARMTargetFeatures()
685 if (ItCrypto != Features.rend()) { in getARMTargetFeatures()
687 Features.push_back("+crypto"); in getARMTargetFeatures()
689 Features.push_back("-crypto"); in getARMTargetFeatures()
691 Features.push_back("+sha2"); in getARMTargetFeatures()
693 Features.push_back("-sha2"); in getARMTargetFeatures()
695 Features.push_back("+aes"); in getARMTargetFeatures()
697 Features.push_back("-aes"); in getARMTargetFeatures()
722 Features.push_back("-sha2"); in getARMTargetFeatures()
723 Features.push_back("-aes"); in getARMTargetFeatures()
732 Features.push_back("+aapcs-frame-chain"); in getARMTargetFeatures()
734 Features.push_back("+aapcs-frame-chain-leaf"); in getARMTargetFeatures()
739 Features.push_back("+8msecext"); in getARMTargetFeatures()
748 Features.push_back("+fix-cmse-cve-2021-35465"); in getARMTargetFeatures()
750 Features.push_back("-fix-cmse-cve-2021-35465"); in getARMTargetFeatures()
757 Features.push_back("+fix-cortex-a57-aes-1742098"); in getARMTargetFeatures()
759 Features.push_back("-fix-cortex-a57-aes-1742098"); in getARMTargetFeatures()
769 Features.push_back("+long-calls"); in getARMTargetFeatures()
772 Features.push_back("+long-calls"); in getARMTargetFeatures()
794 Features.push_back("+execute-only"); in getARMTargetFeatures()
801 Features.push_back("+strict-align"); in getARMTargetFeatures()
813 Features.push_back("+strict-align"); in getARMTargetFeatures()
833 Features.push_back("+strict-align"); in getARMTargetFeatures()
837 Features.push_back("+strict-align"); in getARMTargetFeatures()
839 Features.push_back("+strict-align"); in getARMTargetFeatures()
846 Features.push_back("+reserve-r9"); in getARMTargetFeatures()
850 Features.push_back("+no-movt"); in getARMTargetFeatures()
853 Features.push_back("+no-neg-immediates"); in getARMTargetFeatures()
899 Features.push_back("+harden-sls-retbr"); in getARMTargetFeatures()
901 Features.push_back("+harden-sls-blr"); in getARMTargetFeatures()
903 Features.push_back("+harden-sls-nocomdat"); in getARMTargetFeatures()
908 Features.push_back("+no-bti-at-return-twice"); in getARMTargetFeatures()