Home
last modified time | relevance | path

Searched full:features (Results 1 – 25 of 3214) sorted by relevance

12345678910>>...129

/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DTargetParser.cpp1 //===-- TargetParser - Parser for target features ---------------*- C++ -*-===//
9 // This file implements a target parser to recognise hardware features such as
27 unsigned Features; member
31 // Name Canonical Kind Features
62 // Don't bother listing the implicitly true features
65 // Name Canonical Kind Features
204 return Entry->Features; in getArchAttrAMDGCN()
210 return Entry->Features; in getArchAttrR600()
285 // restricted in terms of features. in getIsaVersion()
316 StringMap<bool> &Features) { in fillAMDGPUFeatureMap() argument
[all …]
H A DHost.cpp402 // Look for the CPU features. in getHostCPUNameForS390x()
405 if (Lines[I].starts_with("features")) { in getHostCPUNameForS390x()
676 // Read control register 0 (XCR0). Used to detect features such as AVX.
707 #define testFeature(F) (Features[F / 32] & (1 << (F % 32))) != 0
711 const unsigned *Features, in getIntelProcessorTypeAndSubtype() argument
1072 const unsigned *Features, in getAMDProcessorTypeAndSubtype() argument
1245 unsigned *Features) { in getAvailableFeatures() argument
1249 Features[F / 32] |= 1U << (F % 32); in getAvailableFeatures()
1388 unsigned Features[(X86::CPU_FEATURE_MAX + 31) / 32] = {0}; in getHostCPUName() local
1390 getAvailableFeatures(ECX, EDX, MaxLeaf, Features); in getHostCPUName()
[all …]
H A DCSKYTargetParser.cpp1 //===-- TargetParser - Parser for target features ---------------*- C++ -*-===//
10 // This file implements a target parser to recognise CSKY hardware features
21 std::vector<StringRef> &Features) { in getFPUFeatures() argument
28 Features.push_back("+fpuv2_sf"); in getFPUFeatures()
29 Features.push_back("+fpuv2_df"); in getFPUFeatures()
30 Features.push_back("+fdivdu"); in getFPUFeatures()
33 Features.push_back("+fpuv2_sf"); in getFPUFeatures()
34 Features.push_back("+fpuv2_df"); in getFPUFeatures()
37 Features.push_back("+fpuv2_sf"); in getFPUFeatures()
38 Features in getFPUFeatures()
171 getExtensionFeatures(uint64_t Extensions,std::vector<StringRef> & Features) getExtensionFeatures() argument
[all...]
H A DLoongArchTargetParser.cpp1 //===-- LoongArchTargetParser - Parser for LoongArch features --*- C++ -*-====//
9 // This file implements a target parser to recognise LoongArch hardware features
25 #define LOONGARCH_ARCH(NAME, KIND, FEATURES) \ argument
26 {NAME, LoongArch::ArchKind::KIND, FEATURES},
38 std::vector<StringRef> &Features) { in getArchFeatures() argument
42 if ((A.Features & F.Kind) == F.Kind) in getArchFeatures()
43 Features.push_back(F.Name); in getArchFeatures()
49 Features.push_back("+64bit"); in getArchFeatures()
50 Features.push_back("+d"); in getArchFeatures()
51 Features.push_back("+lsx"); in getArchFeatures()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNProcessors.td24 FeatureISAVersion6_0_0.Features
28 FeatureISAVersion6_0_0.Features
32 FeatureISAVersion6_0_1.Features
36 FeatureISAVersion6_0_1.Features
40 FeatureISAVersion6_0_1.Features
44 FeatureISAVersion6_0_2.Features
48 FeatureISAVersion6_0_2.Features
52 FeatureISAVersion6_0_2.Features
60 FeatureISAVersion7_0_0.Features
64 FeatureISAVersion7_0_0.Features
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/
H A Dfuchsia.inc1 #include <zircon/features.h>
5 if (__atomic_load_n(&__aarch64_cpu_features.features, __ATOMIC_RELAXED))
11 uint32_t features;
12 zx_status_t status = _zx_system_get_features(ZX_FEATURE_KIND_CPU, &features);
19 if (features & ZX_ARM64_FEATURE_ISA_FP)
21 if (features & ZX_ARM64_FEATURE_ISA_ASIMD)
23 if (features & ZX_ARM64_FEATURE_ISA_AES)
25 if (features & ZX_ARM64_FEATURE_ISA_PMULL)
27 if (features & ZX_ARM64_FEATURE_ISA_SHA1)
29 if (features & ZX_ARM64_FEATURE_ISA_SHA256)
[all …]
H A Dapple.inc33 static uint64_t deriveImplicitFeatures(uint64_t features) {
35 if ((1ULL << FEAT_SSBS2) & features)
36 features |= (1ULL << FEAT_SSBS);
39 features |= (1ULL << FEAT_FP);
41 features |= (1ULL << FEAT_INIT);
43 return features;
52 if (__atomic_load_n(&__aarch64_cpu_features.features, __ATOMIC_RELAXED))
55 uint64_t features = 0;
68 features |= (1ULL << TO); \
105 features = deriveImplicitFeatures(features);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DAArch64.cpp73 // Decode AArch64 features from string like +[no]featureA+[no]featureB+...
153 std::vector<StringRef> &Features) { in getAArch64MicroArchFeaturesFromMtune() argument
168 Features.push_back("+zcm"); in getAArch64MicroArchFeaturesFromMtune()
169 Features.push_back("+zcz"); in getAArch64MicroArchFeaturesFromMtune()
178 std::vector<StringRef> &Features) { in getAArch64MicroArchFeaturesFromMcpu() argument
186 return getAArch64MicroArchFeaturesFromMtune(D, CPU, Args, Features); in getAArch64MicroArchFeaturesFromMcpu()
192 std::vector<StringRef> &Features, in getAArch64TargetFeatures() argument
224 getAArch64MicroArchFeaturesFromMtune(D, A->getValue(), Args, Features); in getAArch64TargetFeatures()
227 getAArch64MicroArchFeaturesFromMcpu(D, A->getValue(), Args, Features); in getAArch64TargetFeatures()
230 D, getAArch64TargetCPU(Args, Triple, A), Args, Features); in getAArch64TargetFeatures()
[all …]
H A DLoongArch.cpp129 std::vector<StringRef> &Features) { in getLoongArchTargetFeatures() argument
133 Features.push_back("+lsx"); in getLoongArchTargetFeatures()
139 llvm::LoongArch::getArchFeatures(ArchName, Features); in getLoongArchTargetFeatures()
141 // Select floating-point features determined by -mdouble-float, in getLoongArchTargetFeatures()
148 Features.push_back("+f"); in getLoongArchTargetFeatures()
149 Features.push_back("+d"); in getLoongArchTargetFeatures()
151 Features.push_back("+f"); in getLoongArchTargetFeatures()
152 Features.push_back("-d"); in getLoongArchTargetFeatures()
153 Features.push_back("-lsx"); in getLoongArchTargetFeatures()
155 Features.push_back("-f"); in getLoongArchTargetFeatures()
[all …]
H A DRISCV.cpp30 std::vector<StringRef> &Features, in getArchFeatures() argument
47 Features.push_back(Args.MakeArgString(Str)); in getArchFeatures()
50 Features.push_back(Args.MakeArgString("+experimental")); in getArchFeatures()
55 // Get features except standard extension feature
59 std::vector<StringRef> &Features) { in getRISCFeaturesFromMcpu() argument
74 std::vector<StringRef> &Features) { in getRISCVTargetFeatures() argument
77 if (!getArchFeatures(D, MArch, Features, Args)) in getRISCVTargetFeatures()
84 // and other features (ex. mirco architecture feature) from mcpu in getRISCVTargetFeatures()
90 getRISCFeaturesFromMcpu(D, A, Triple, CPU, Features); in getRISCVTargetFeatures()
98 // Handle features corresponding to "-ffixed-X" options in getRISCVTargetFeatures()
[all …]
H A DM68k.cpp69 std::vector<llvm::StringRef> &Features) { in addFloatABIFeatures() argument
74 Features.push_back("-isa-68881"); in addFloatABIFeatures()
75 Features.push_back("-isa-68882"); in addFloatABIFeatures()
84 Features.push_back("+isa-68881"); in addFloatABIFeatures()
90 Features.push_back("+isa-68882"); in addFloatABIFeatures()
95 std::vector<StringRef> &Features) { in getM68kTargetFeatures() argument
96 addFloatABIFeatures(Args, Features); in getM68kTargetFeatures()
100 Features.push_back("+reserve-a0"); in getM68kTargetFeatures()
102 Features.push_back("+reserve-a1"); in getM68kTargetFeatures()
104 Features.push_back("+reserve-a2"); in getM68kTargetFeatures()
[all …]
H A DX86.cpp121 std::vector<StringRef> &Features) { in getX86TargetFeatures() argument
135 Features.push_back( in getX86TargetFeatures()
141 // x86_64h implies quite a few of the more modern subtarget features in getX86TargetFeatures()
143 Features.push_back("-rdrnd"); in getX86TargetFeatures()
144 Features.push_back("-aes"); in getX86TargetFeatures()
145 Features.push_back("-pclmul"); in getX86TargetFeatures()
146 Features.push_back("-rtm"); in getX86TargetFeatures()
147 Features.push_back("-fsgsbase"); in getX86TargetFeatures()
151 // Add features to be compatible with gcc for Android. in getX86TargetFeatures()
154 Features.push_back("+sse4.2"); in getX86TargetFeatures()
[all …]
H A DARM.cpp82 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()
98 // Decode ARM features from string like +[no]featureA+[no]featureB+...
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
[all …]
H A DMips.cpp187 std::vector<StringRef> &Features) { in getMIPSTargetFeatures() argument
257 Features.push_back("+noabicalls"); in getMIPSTargetFeatures()
259 Features.push_back("-noabicalls"); in getMIPSTargetFeatures()
264 Features.push_back("-long-calls"); in getMIPSTargetFeatures()
266 Features.push_back("+long-calls"); in getMIPSTargetFeatures()
273 Features.push_back("+xgot"); in getMIPSTargetFeatures()
275 Features.push_back("-xgot"); in getMIPSTargetFeatures()
283 Features.push_back("+soft-float"); in getMIPSTargetFeatures()
290 Features.push_back("+nan2008"); in getMIPSTargetFeatures()
293 Features.push_back("-nan2008"); in getMIPSTargetFeatures()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRELFStreamer.cpp13 static unsigned getEFlagsForFeatureSet(const FeatureBitset &Features) { in getEFlagsForFeatureSet() argument
17 if (Features[AVR::ELFArchAVR1]) in getEFlagsForFeatureSet()
19 else if (Features[AVR::ELFArchAVR2]) in getEFlagsForFeatureSet()
21 else if (Features[AVR::ELFArchAVR25]) in getEFlagsForFeatureSet()
23 else if (Features[AVR::ELFArchAVR3]) in getEFlagsForFeatureSet()
25 else if (Features[AVR::ELFArchAVR31]) in getEFlagsForFeatureSet()
27 else if (Features[AVR::ELFArchAVR35]) in getEFlagsForFeatureSet()
29 else if (Features[AVR::ELFArchAVR4]) in getEFlagsForFeatureSet()
31 else if (Features[AVR::ELFArchAVR5]) in getEFlagsForFeatureSet()
33 else if (Features[AVR::ELFArchAVR51]) in getEFlagsForFeatureSet()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/
H A Dblake3_dispatch.c95 enum cpu_feature features = 0; in get_cpu_features() local
100 features |= SSE2; in get_cpu_features()
103 features |= SSE2; in get_cpu_features()
106 features |= SSSE3; in get_cpu_features()
108 features |= SSE41; in get_cpu_features()
114 features |= AVX; in get_cpu_features()
118 features |= AVX2; in get_cpu_features()
121 features |= AVX512VL; in get_cpu_features()
123 features |= AVX512F; in get_cpu_features()
128 g_cpu_features = features; in get_cpu_features()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp102 SubtargetFeatures Features; in getMIPSFeatures() local
109 Features.AddFeature("mips2"); in getMIPSFeatures()
112 Features.AddFeature("mips3"); in getMIPSFeatures()
115 Features.AddFeature("mips4"); in getMIPSFeatures()
118 Features.AddFeature("mips5"); in getMIPSFeatures()
121 Features.AddFeature("mips32"); in getMIPSFeatures()
124 Features.AddFeature("mips64"); in getMIPSFeatures()
127 Features.AddFeature("mips32r2"); in getMIPSFeatures()
130 Features.AddFeature("mips64r2"); in getMIPSFeatures()
133 Features.AddFeature("mips32r6"); in getMIPSFeatures()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DPPC.cpp32 /// configured set of features.
33 bool PPCTargetInfo::handleTargetFeatures(std::vector<std::string> &Features, in handleTargetFeatures() argument
36 for (const auto &Feature : Features) { in handleTargetFeatures()
517 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() argument
519 Features["altivec"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
534 Features["power9-vector"] = (CPU == "pwr9"); in initFeatureMap()
535 Features["crypto"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
540 Features["power8-vector"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
545 Features["bpermd"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
551 Features["extdiv"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
[all …]
H A DWebAssembly.cpp112 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, in setSIMDLevel() argument
117 Features["relaxed-simd"] = true; in setSIMDLevel()
120 Features["simd128"] = true; in setSIMDLevel()
131 Features["simd128"] = false; in setSIMDLevel()
134 Features["relaxed-simd"] = false; in setSIMDLevel()
139 void WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features, in setFeatureEnabled() argument
143 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled()
145 setSIMDLevel(Features, RelaxedSIMD, Enabled); in setFeatureEnabled()
147 Features[Name] = Enabled; in setFeatureEnabled()
151 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() argument
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMerge.cpp109 Files[CurrentFileIdx].Features = TmpFeatures; in Parse()
133 Res += sizeof(F) + F.Features.size() * sizeof(F.Features[0]); in ApproximateMemoryConsumption()
138 // Returns the number of new features added.
150 // What features are in the initial corpus? in Merge()
152 auto &Cur = Files[i].Features; in Merge()
155 // Remove all features that we already know from all other inputs. in Merge()
157 auto &Cur = Files[i].Features; in Merge()
166 // * files with more features. in Merge()
171 return a.Features.size() > b.Features.size(); in Merge()
174 // One greedy pass: add the file's features to AllFeatures. in Merge()
[all …]
/freebsd/usr.bin/elfctl/
H A Delfctl.c98 char *features; in main()
104 features = NULL; in main()
119 if (features != NULL) in main()
121 features = optarg; in main()
188 features, endian_swap)) { in main()
209 Set or display the control features for an ELF object.\n\n\
211 -l List known control features.\n\
212 -i Ignore unknown features.\n\
213 -e [+-=]feature,list Edit features from a comma separated list.\n\
300 uint32_t features, prev_feature in edit_file_features()
95 char *features; main() local
297 uint32_t features, prev_features; edit_file_features() local
340 uint32_t features; print_file_features() local
362 get_file_features(Elf * elf,int phcount,int fd,uint32_t * features,uint64_t * off,bool endian_swap) get_file_features() argument
[all...]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt)
5 There is more complete overview and documentation of features in that
9 ibm,powerpc-cpu-features binding
12 This device tree binding describes CPU features available to software, with
16 found in design.txt, which also points to documentation of specific features.
19 /cpus/ibm,powerpc-cpu-features node binding
22 Node: ibm,powerpc-cpu-features
26 The node name must be "ibm,powerpc-cpu-features".
38 Definition: "ibm,powerpc-cpu-features"
66 /cpus/ibm,powerpc-cpu-features/example-feature node bindings
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_features_005_pos.ksh33 # Specifically disabling a feature, all other features should be enabled.
35 # 1. Loop through all existing features:
64 # Failure other features must be enabled or active.
71 # All features enabled or active except the expected one.
77 # Several representative features are tested to keep the test time short.
78 # The features 'extensible_dataset' and 'enabled_txg' are intentionally
79 # excluded because other features depend on them.
80 set -A features \
87 while (( $i < ${#features[*]} )); do
88 log_assert "'zpool create' creates pools with ${features[i]} disabled"
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTargetID.cpp28 auto Features = T.isAMDGCN() ? llvm::AMDGPU::getArchAttrAMDGCN(ProcKind) in getAllPossibleAMDGPUTargetIDFeatures() local
30 if (Features & llvm::AMDGPU::FEATURE_SRAMECC) in getAllPossibleAMDGPUTargetIDFeatures()
32 if (Features & llvm::AMDGPU::FEATURE_XNACK) in getAllPossibleAMDGPUTargetIDFeatures()
61 // name or features are valid for the processor.
63 // A target ID is a processor name followed by a list of target features
79 auto Features = Split.second; in parseTargetIDWithFormatCheckingOnly() local
80 if (Features.empty()) in parseTargetIDWithFormatCheckingOnly()
87 while (!Features.empty()) { in parseTargetIDWithFormatCheckingOnly()
88 auto Splits = Features.split(':'); in parseTargetIDWithFormatCheckingOnly()
99 Features = Splits.second; in parseTargetIDWithFormatCheckingOnly()
[all …]
/freebsd/sys/contrib/openzfs/man/man8/
H A Dzpool-upgrade.855 Displays pools which do not have all supported features enabled and pools
57 These pools can continue to be used, but some features may not be available.
60 to enable all features on all pools (subject to the
70 .Xr zpool-features 7
71 for a description of features supported by this version of ZFS.
78 Enables all supported features on the given pool.
82 property, only the features present in all requested compatibility sets will be
91 .Xr zpool-features 7
93 support all features enabled on the pool.
96 Enables all supported features (from specified compatibility sets, if any) on
[all …]

12345678910>>...129