Home
last modified time | relevance | path

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

12345678910>>...140

/freebsd-src/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 getIsaVersion()
210 return Entry->Features; in getIsaVersion()
285 // restricted in terms of features. in fillAMDGPUFeatureMap()
316 StringMap<bool> &Features) { in fillAMDGPUFeatureMap()
271 fillAMDGPUFeatureMap(StringRef GPU,const Triple & T,StringMap<bool> & Features) fillAMDGPUFeatureMap() argument
523 insertWaveSizeFeature(StringRef GPU,const Triple & T,StringMap<bool> & Features,std::string & ErrorMsg) insertWaveSizeFeature() argument
[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.push_back("+fpuv2_df"); in getFPUFeatures()
[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. in detectX86FamilyModel()
707 #define testFeature(F) (Features[F / 32] & (1 << (F % 32))) != 0 in getIntelProcessorTypeAndSubtype()
711 const unsigned *Features, in getIntelProcessorTypeAndSubtype()
1072 const unsigned *Features, in getAMDProcessorTypeAndSubtype()
1245 unsigned *Features) { in getAvailableFeatures()
1249 Features[F / 32] |= 1U << (F % 32); in getAvailableFeatures()
1388 unsigned Features[(X86::CPU_FEATURE_MAX + 31) / 32] = {0}; in getHostCPUName()
1390 getAvailableFeatures(ECX, EDX, MaxLeaf, Features); in getHostCPUName()
682 getIntelProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getIntelProcessorTypeAndSubtype() argument
1048 getAMDProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getAMDProcessorTypeAndSubtype() argument
1203 getAvailableFeatures(unsigned ECX,unsigned EDX,unsigned MaxLeaf,unsigned * Features) getAvailableFeatures() argument
1350 unsigned Features[(X86::CPU_FEATURE_MAX + 31) / 32] = {0}; getHostCPUName() local
1687 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument
1879 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument
1948 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument
1960 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument
1976 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument
[all...]
/freebsd-src/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-src/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
[all...]
/freebsd-src/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) {
168 Features.push_back("+zcm"); in getAArch64MicroArchFeaturesFromMtune()
169 Features.push_back("+zcz"); in getAArch64MicroArchFeaturesFromMtune()
178 std::vector<StringRef> &Features) { in getAArch64MicroArchFeaturesFromMcpu()
186 return getAArch64MicroArchFeaturesFromMtune(D, CPU, Args, Features); in getAArch64MicroArchFeaturesFromMcpu()
192 std::vector<StringRef> &Features, in getAArch64TargetFeatures()
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()
157 getAArch64MicroArchFeaturesFromMtune(const Driver & D,StringRef Mtune,const ArgList & Args,std::vector<StringRef> & Features) getAArch64MicroArchFeaturesFromMtune() argument
179 getAArch64MicroArchFeaturesFromMcpu(const Driver & D,StringRef Mcpu,const ArgList & Args,std::vector<StringRef> & Features) getAArch64MicroArchFeaturesFromMcpu() argument
193 getAArch64TargetFeatures(const Driver & D,const llvm::Triple & Triple,const ArgList & Args,std::vector<StringRef> & Features,bool ForAS) getAArch64TargetFeatures() argument
[all...]
H A DSparc.cpp134 std::vector<StringRef> &Features) { in getSparcTargetFeatures() argument
137 Features.push_back("+soft-float"); in getSparcTargetFeatures()
141 Features.push_back("+fsmuld"); in getSparcTargetFeatures()
143 Features.push_back("-fsmuld"); in getSparcTargetFeatures()
148 Features.push_back("+popc"); in getSparcTargetFeatures()
150 Features.push_back("-popc"); in getSparcTargetFeatures()
155 Features.push_back("+vis"); in getSparcTargetFeatures()
157 Features.push_back("-vis"); in getSparcTargetFeatures()
162 Features.push_back("+vis2"); in getSparcTargetFeatures()
164 Features.push_back("-vis2"); in getSparcTargetFeatures()
[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) {
77 if (!getArchFeatures(D, MArch, Features, Args)) in getRISCVTargetFeatures() argument
84 // and other features (ex. mirco architecture feature) from mcpu in getRISCVTargetFeatures()
90 getRISCFeaturesFromMcpu(D, A, Triple, CPU, Features); in getRISCVTargetFeatures()
98 // Handle features correspondin 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 in getX86TargetFeatures()
[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 in getLoongArchTargetFeatures()
[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
146 checkARMCPUName(const Driver & D,const Arg * A,const ArgList & Args,llvm::StringRef CPUName,llvm::StringRef ArchName,std::vector<StringRef> & Features,const llvm::Triple & Triple,llvm::ARM::FPUKind & ArgFPUKind) checkARMCPUName() argument
490 getARMTargetFeatures(const Driver & D,const llvm::Triple & Triple,const ArgList & Args,std::vector<StringRef> & Features,bool ForAS,bool ForMultilib) getARMTargetFeatures() 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 in getMIPSTargetFeatures()
[all...]
/freebsd-src/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[AV in getEFlagsForFeatureSet()
[all...]
/freebsd-src/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-src/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()
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["extdi in initFeatureMap()
484 initFeatureMap(llvm::StringMap<bool> & Features,DiagnosticsEngine & Diags,StringRef CPU,const std::vector<std::string> & FeaturesVec) const initFeatureMap() argument
707 setFeatureEnabled(llvm::StringMap<bool> & Features,StringRef Name,bool Enabled) const setFeatureEnabled() argument
[all...]
H A DWebAssembly.cpp112 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, in setSIMDLevel()
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()
143 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled()
145 setSIMDLevel(Features, RelaxedSIMD, Enabled); in setFeatureEnabled()
147 Features[Name] = Enabled; in initFeatureMap()
151 llvm::StringMap<bool> &Features, DiagnosticsEngin in initFeatureMap()
109 setSIMDLevel(llvm::StringMap<bool> & Features,SIMDEnum Level,bool Enabled) setSIMDLevel() argument
136 setFeatureEnabled(llvm::StringMap<bool> & Features,StringRef Name,bool Enabled) const setFeatureEnabled() argument
148 initFeatureMap(llvm::StringMap<bool> & Features,DiagnosticsEngine & Diags,StringRef CPU,const std::vector<std::string> & FeaturesVec) const initFeatureMap() argument
169 handleTargetFeatures(std::vector<std::string> & Features,DiagnosticsEngine & Diags) handleTargetFeatures() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp102 SubtargetFeatures Features; in getMIPSFeatures()
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 in getMIPSFeatures()
101 SubtargetFeatures Features; getMIPSFeatures() local
161 SubtargetFeatures Features; getARMFeatures() local
291 SubtargetFeatures Features; getRISCVFeatures() local
325 SubtargetFeatures Features; getLoongArchFeatures() local
[all...]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_features_005_pos.ksh32 # Specifically disabling a feature, all other features should be enabled.
34 # 1. Loop through all existing features:
60 # Failure other features must be enabled or active.
67 # All features enabled or active except the expected one.
73 # Several representative features are tested to keep the test time short.
74 # The features 'extensible_dataset' and 'enabled_txg' are intentionally
75 # excluded because other features depend on them.
76 set -A features \
83 while (( $i < ${#features[*]} )); do
84 log_assert "'zpool create' creates pools with ${features[
[all...]
/freebsd-src/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-src/usr.bin/elfctl/
H A Delfctl.c95 char *features; in main() local
101 features = NULL; in main()
116 if (features != NULL) in main()
118 features = optarg; in main()
185 features, endian_swap)) { in main()
206 Set or display the control features for an ELF object.\n\n\
208 -l List known control features.\n\
209 -i Ignore unknown features.\n\
210 -e [+-=]feature,list Edit features from a comma separated list.\n\
297 uint32_t features, prev_features; in edit_file_features() local
[all …]
/freebsd-src/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-src/sys/contrib/openzfs/man/man8/
H A Dzpool-upgrade.854 Displays pools which do not have all supported features enabled and pools
56 These pools can continue to be used, but some features may not be available.
59 to enable all features on all pools (subject to the
69 .Xr zpool-features 7
70 for a description of feature flags features supported by this version of ZFS.
77 Enables all supported features on the given pool.
81 property, only the features present in all requested compatibility sets will be
90 .Xr zpool-features 7
92 support all features enabled on the pool.
95 Enables all supported features (from specified compatibility sets, if any) on
[all …]
/freebsd-src/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-src/sys/contrib/openzfs/man/man7/
H A Dzpool-features.722 .Dt ZPOOL-FEATURES 7
26 .Nm zpool-features
27 .Nd description of ZFS pool features
31 .Dq features
42 section for information on how sets of features may be enabled together.
47 Since most features can be enabled independently of each other, the on-disk
48 format of the pool is specified by the set of all features marked as
52 this set may include unsupported features.
54 .Ss Identifying features
59 When unsupported features ar
[all...]

12345678910>>...140