Searched refs:Features (Results 1 - 25 of 182) sorted by relevance

12345678

/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/Targets/
H A DX86.cpp105 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
110 setFeatureEnabledImpl(Features, "sse2", true);
116 setFeatureEnabledImpl(Features, "x87", true);
121 setFeatureEnabledImpl(Features, "cx8", true);
136 setFeatureEnabledImpl(Features, "avx512bf16", true);
140 setFeatureEnabledImpl(Features, "avx512vnni", true);
143 setFeatureEnabledImpl(Features, "avx512f", true);
144 setFeatureEnabledImpl(Features, "avx512cd", true);
145 setFeatureEnabledImpl(Features, "avx512dq", true);
146 setFeatureEnabledImpl(Features, "avx512b
104 initFeatureMap( llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, const std::vector<std::string> &FeaturesVec) const argument
471 setSSELevel(llvm::StringMap<bool> &Features, X86SSEEnum Level, bool Enabled) argument
554 setMMXLevel(llvm::StringMap<bool> &Features, MMX3DNowEnum Level, bool Enabled) argument
587 setXOPLevel(llvm::StringMap<bool> &Features, XOPEnum Level, bool Enabled) argument
622 setFeatureEnabledImpl(llvm::StringMap<bool> &Features, StringRef Name, bool Enabled) argument
730 handleTargetFeatures(std::vector<std::string> &Features, DiagnosticsEngine &Diags) argument
[all...]
H A DWebAssembly.cpp85 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, argument
89 Features["unimplemented-simd128"] = true;
92 Features["simd128"] = true;
100 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
103 Features["nontrapping-fptoint"] = true;
104 Features["sign-ext"] = true;
105 Features["atomics"] = true;
106 Features["mutable-globals"] = true;
107 setSIMDLevel(Features, SIMD128);
112 setSIMDLevel(Features, SIMDLeve
99 initFeatureMap( llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, const std::vector<std::string> &FeaturesVec) const argument
133 handleTargetFeatures( std::vector<std::string> &Features, DiagnosticsEngine &Diags) argument
[all...]
H A DAMDGPU.cpp135 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
145 Features["dot1-insts"] = true;
146 Features["dot2-insts"] = true;
147 Features["dot5-insts"] = true;
148 Features["dot6-insts"] = true;
151 Features["dl-insts"] = true;
152 Features["ci-insts"] = true;
153 Features["flat-address-space"] = true;
154 Features["16-bit-insts"] = true;
155 Features["dp
134 initFeatureMap( llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, const std::vector<std::string> &FeatureVec) const argument
[all...]
H A DPPC.cpp31 bool PPCTargetInfo::handleTargetFeatures(std::vector<std::string> &Features, argument
34 for (const auto &Feature : Features) {
261 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
263 Features["altivec"] = llvm::StringSwitch<bool>(CPU)
278 Features["qpx"] = (CPU == "a2q");
279 Features["power9-vector"] = (CPU == "pwr9");
280 Features["crypto"] = llvm::StringSwitch<bool>(CPU)
285 Features["power8-vector"] = llvm::StringSwitch<bool>(CPU)
290 Features["bpermd"] = llvm::StringSwitch<bool>(CPU)
296 Features["extdi
260 initFeatureMap( llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, const std::vector<std::string> &FeaturesVec) const argument
368 setFeatureEnabled(llvm::StringMap<bool> &Features, StringRef Name, bool Enabled) const argument
[all...]
H A DSystemZ.h93 initFeatureMap(llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags,
98 Features["transactional-execution"] = true;
100 Features["vector"] = true;
102 Features["vector-enhancements-1"] = true;
104 Features["vector-enhancements-2"] = true;
105 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec);
108 bool handleTargetFeatures(std::vector<std::string> &Features,
112 for (const auto &Feature : Features) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRELFStreamer.cpp12 static unsigned getEFlagsForFeatureSet(const FeatureBitset &Features) { argument
16 if (Features[AVR::ELFArchAVR1])
18 else if (Features[AVR::ELFArchAVR2])
20 else if (Features[AVR::ELFArchAVR25])
22 else if (Features[AVR::ELFArchAVR3])
24 else if (Features[AVR::ELFArchAVR31])
26 else if (Features[AVR::ELFArchAVR35])
28 else if (Features[AVR::ELFArchAVR4])
30 else if (Features[AVR::ELFArchAVR5])
32 else if (Features[AV
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DAArch64.cpp57 std::vector<StringRef> &Features) {
64 Features.push_back(FeatureName);
76 std::vector<StringRef> &Features) {
84 Features.push_back("+neon");
87 if (!llvm::AArch64::getArchFeatures(ArchKind, Features))
91 if (!llvm::AArch64::getExtensionFeatures(Extension, Features))
95 if (Split.second.size() && !DecodeAArch64Features(D, Split.second, Features))
104 std::vector<StringRef> &Features) {
110 !llvm::AArch64::getArchFeatures(ArchKind, Features) ||
111 (Split.second.size() && !DecodeAArch64Features(D, Split.second, Features)))
56 DecodeAArch64Features(const Driver &D, StringRef text, std::vector<StringRef> &Features) argument
75 DecodeAArch64Mcpu(const Driver &D, StringRef Mcpu, StringRef &CPU, std::vector<StringRef> &Features) argument
102 getAArch64ArchFeaturesFromMarch(const Driver &D, StringRef March, const ArgList &Args, std::vector<StringRef> &Features) argument
118 getAArch64ArchFeaturesFromMcpu(const Driver &D, StringRef Mcpu, const ArgList &Args, std::vector<StringRef> &Features) argument
130 getAArch64MicroArchFeaturesFromMtune(const Driver &D, StringRef Mtune, const ArgList &Args, std::vector<StringRef> &Features) argument
151 getAArch64MicroArchFeaturesFromMcpu(const Driver &D, StringRef Mcpu, const ArgList &Args, std::vector<StringRef> &Features) argument
163 getAArch64TargetFeatures(const Driver &D, const llvm::Triple &Triple, const ArgList &Args, std::vector<StringRef> &Features) argument
[all...]
H A DX86.cpp111 std::vector<StringRef> &Features) {
118 Features.push_back(
126 Features.push_back("-rdrnd");
127 Features.push_back("-aes");
128 Features.push_back("-pclmul");
129 Features.push_back("-rtm");
130 Features.push_back("-fsgsbase");
137 Features.push_back("+sse4.2");
138 Features.push_back("+popcnt");
139 Features
109 getX86TargetFeatures(const Driver &D, const llvm::Triple &Triple, const ArgList &Args, std::vector<StringRef> &Features) argument
[all...]
H A DRISCV.cpp98 std::vector<StringRef> &Features,
189 Features.push_back(Args.MakeArgString("+" + Ext));
195 std::vector<StringRef> &Features,
242 Features.push_back("+m");
243 Features.push_back("+a");
244 Features.push_back("+f");
245 Features.push_back("+d");
318 Features.push_back("+m");
321 Features.push_back("+a");
324 Features
96 getExtensionFeatures(const Driver &D, const ArgList &Args, std::vector<StringRef> &Features, StringRef &MArch, StringRef &Exts) argument
194 getArchFeatures(const Driver &D, StringRef MArch, std::vector<StringRef> &Features, const ArgList &Args) argument
357 getRISCVTargetFeatures(const Driver &D, const llvm::Triple &Triple, const ArgList &Args, std::vector<StringRef> &Features) argument
[all...]
H A DSystemZ.cpp37 std::vector<llvm::StringRef> &Features) {
41 Features.push_back("+transactional-execution");
43 Features.push_back("-transactional-execution");
48 Features.push_back("+vector");
50 Features.push_back("-vector");
36 getSystemZTargetFeatures(const ArgList &Args, std::vector<llvm::StringRef> &Features) argument
H A DSystemZ.h25 std::vector<llvm::StringRef> &Features);
H A DARM.cpp59 std::vector<StringRef> &Features) {
61 if (!llvm::ARM::getHWDivFeatures(HWDivID, Features))
68 std::vector<StringRef> &Features) {
70 if (!llvm::ARM::getFPUFeatures(FPUID, Features))
78 std::vector<StringRef> &Features) {
83 if (!appendArchExtFeatures(CPU, ArchKind, Feature, Features))
90 std::vector<StringRef> &Features) {
95 llvm::ARM::getExtensionFeatures(Extension, Features);
104 std::vector<StringRef> &Features,
112 D, Split.second, CPUName, ArchKind, Features)))
57 getARMHWDivFeatures(const Driver &D, const Arg *A, const ArgList &Args, StringRef HWDiv, std::vector<StringRef> &Features) argument
66 getARMFPUFeatures(const Driver &D, const Arg *A, const ArgList &Args, StringRef FPU, std::vector<StringRef> &Features) argument
76 DecodeARMFeatures(const Driver &D, StringRef text, StringRef CPU, llvm::ARM::ArchKind ArchKind, std::vector<StringRef> &Features) argument
89 DecodeARMFeaturesFromCPU(const Driver &D, StringRef CPU, std::vector<StringRef> &Features) argument
102 checkARMArchName(const Driver &D, const Arg *A, const ArgList &Args, llvm::StringRef ArchName, llvm::StringRef CPUName, std::vector<StringRef> &Features, const llvm::Triple &Triple) argument
117 checkARMCPUName(const Driver &D, const Arg *A, const ArgList &Args, llvm::StringRef CPUName, llvm::StringRef ArchName, std::vector<StringRef> &Features, const llvm::Triple &Triple) argument
279 getARMTargetFeatures(const ToolChain &TC, const llvm::Triple &Triple, const ArgList &Args, ArgStringList &CmdArgs, std::vector<StringRef> &Features, bool ForAS) argument
[all...]
H A DMips.cpp193 std::vector<StringRef> &Features) {
262 Features.push_back("+noabicalls");
264 Features.push_back("-noabicalls");
269 Features.push_back("-long-calls");
271 Features.push_back("+long-calls");
278 Features.push_back("+xgot");
280 Features.push_back("-xgot");
288 Features.push_back("+soft-float");
295 Features.push_back("+nan2008");
297 Features
191 getMIPSTargetFeatures(const Driver &D, const llvm::Triple &Triple, const ArgList &Args, std::vector<StringRef> &Features) argument
[all...]
H A DAArch64.h25 std::vector<llvm::StringRef> &Features);
H A DX86.h29 std::vector<llvm::StringRef> &Features);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp98 SubtargetFeatures Features; local
105 Features.AddFeature("mips2");
108 Features.AddFeature("mips3");
111 Features.AddFeature("mips4");
114 Features.AddFeature("mips5");
117 Features.AddFeature("mips32");
120 Features.AddFeature("mips64");
123 Features.AddFeature("mips32r2");
126 Features.AddFeature("mips64r2");
129 Features
158 SubtargetFeatures Features; local
279 SubtargetFeatures Features; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAArch64TargetParser.cpp63 std::vector<StringRef> &Features) {
68 Features.push_back("+fp-armv8");
70 Features.push_back("+neon");
72 Features.push_back("+crc");
74 Features.push_back("+crypto");
76 Features.push_back("+dotprod");
78 Features.push_back("+fp16fml");
80 Features.push_back("+fullfp16");
82 Features.push_back("+spe");
84 Features
62 getExtensionFeatures(unsigned Extensions, std::vector<StringRef> &Features) argument
107 getArchFeatures(AArch64::ArchKind AK, std::vector<StringRef> &Features) argument
[all...]
H A DHost.cpp557 unsigned Brand_id, unsigned Features,
570 if (Features & (1 << X86::FEATURE_MMX)) {
757 if (Features & (1 << X86::FEATURE_AVX512VBMI2)) {
763 if (Features & (1 << X86::FEATURE_AVX512VBMI)) {
781 if (Features & (1 << X86::FEATURE_AVX512VL)) {
787 if (Features & (1 << X86::FEATURE_AVX512ER)) {
806 if (Features & (1 << X86::FEATURE_AVX2)) {
811 if (Features & (1 << X86::FEATURE_AVX)) {
816 if (Features & (1 << X86::FEATURE_SSE4_2)) {
825 if (Features
556 getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model, unsigned Brand_id, unsigned Features, unsigned Features2, unsigned Features3, unsigned *Type, unsigned *Subtype) argument
881 getAMDProcessorTypeAndSubtype(unsigned Family, unsigned Model, unsigned Features, unsigned *Type, unsigned *Subtype) argument
982 unsigned Features = 0; local
1143 unsigned Features = 0, Features2 = 0, Features3 = 0; local
1341 getHostCPUFeatures(StringMap<bool> &Features) argument
1493 getHostCPUFeatures(StringMap<bool> &Features) argument
1559 getHostCPUFeatures(StringMap<bool> &Features) argument
1570 getHostCPUFeatures(StringMap<bool> &Features) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DSubtargetFeature.cpp43 Features.push_back(hasFlag(String) ? String.lower()
49 Split(Features, Initial);
53 return join(Features.begin(), Features.end(), ",");
57 for (auto &F : Features)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptExpressionOpts.cpp50 proto.Features.push_back("+long64");
54 proto.Features.push_back("+mmx");
55 proto.Features.push_back("+sse");
56 proto.Features.push_back("+sse2");
57 proto.Features.push_back("+sse3");
58 proto.Features.push_back("+ssse3");
59 proto.Features.push_back("+sse4.1");
60 proto.Features.push_back("+sse4.2");
66 proto.Features.push_back("+long64");
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp40 std::vector<StringRef> &Features) {
45 Features.push_back("-wavefrontsize16");
46 Features.push_back("-wavefrontsize32");
47 Features.push_back("+wavefrontsize64");
50 Features.push_back("-wavefrontsize16");
51 Features.push_back("+wavefrontsize32");
52 Features.push_back("-wavefrontsize64");
56 Args, Features, options::OPT_m_amdgpu_Features_Group);
38 getAMDGPUTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args, std::vector<StringRef> &Features) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h102 Features = SubtargetFeatures(FeatureString);
111 SubtargetFeatures &getFeatures() { return Features; }
114 const SubtargetFeatures &getFeatures() const { return Features; }
142 SubtargetFeatures Features; member in class:llvm::orc::JITTargetMachineBuilder
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DHost.h47 /// \param Features - A string mapping feature names to either
53 bool getHostCPUFeatures(StringMap<bool> &Features);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.cpp183 FeatureBitset Features = coalesceFeatures(M); variable
185 std::string FeatureStr = getFeatureString(Features);
192 if (!Features[WebAssembly::FeatureAtomics])
195 if (!Features[WebAssembly::FeatureBulkMemory])
203 recordFeatures(M, Features, StrippedAtomics || StrippedTLS);
211 FeatureBitset Features = local
217 Features |= WasmTM->getSubtargetImpl(F)->getFeatureBits();
218 return Features;
221 std::string getFeatureString(const FeatureBitset &Features) { argument
224 if (Features[K
230 replaceFeatures(Function &F, const std::string &Features) argument
275 recordFeatures(Module &M, const FeatureBitset &Features, bool Stripped) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DInfoStream.cpp70 Features |= PdbFeatureContainsIdStream;
73 Features |= PdbFeatureNoTypeMerging;
76 Features |= PdbFeatureMinimalDebugInfo;
100 return !!(Features & PdbFeatureContainsIdStream);
119 PdbRaw_Features InfoStream::getFeatures() const { return Features; }

Completed in 305 milliseconds

12345678