diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/include/llvm/Support/X86TargetParser.h | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/Support/X86TargetParser.h')
-rw-r--r-- | contrib/libs/llvm12/include/llvm/Support/X86TargetParser.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/contrib/libs/llvm12/include/llvm/Support/X86TargetParser.h b/contrib/libs/llvm12/include/llvm/Support/X86TargetParser.h index 0113042931..8f67d20b1b 100644 --- a/contrib/libs/llvm12/include/llvm/Support/X86TargetParser.h +++ b/contrib/libs/llvm12/include/llvm/Support/X86TargetParser.h @@ -21,7 +21,7 @@ #define LLVM_SUPPORT_X86TARGETPARSERCOMMON_H #include "llvm/ADT/SmallVector.h" -#include "llvm/ADT/StringMap.h" +#include "llvm/ADT/StringMap.h" namespace llvm { class StringRef; @@ -107,8 +107,8 @@ enum CPUKind { CK_IcelakeClient, CK_IcelakeServer, CK_Tigerlake, - CK_SapphireRapids, - CK_Alderlake, + CK_SapphireRapids, + CK_Alderlake, CK_KNL, CK_KNM, CK_Lakemont, @@ -128,26 +128,26 @@ enum CPUKind { CK_BDVER4, CK_ZNVER1, CK_ZNVER2, - CK_ZNVER3, + CK_ZNVER3, CK_x86_64, - CK_x86_64_v2, - CK_x86_64_v3, - CK_x86_64_v4, + CK_x86_64_v2, + CK_x86_64_v3, + CK_x86_64_v4, CK_Geode, }; /// Parse \p CPU string into a CPUKind. Will only accept 64-bit capable CPUs if /// \p Only64Bit is true. CPUKind parseArchX86(StringRef CPU, bool Only64Bit = false); -CPUKind parseTuneCPU(StringRef CPU, bool Only64Bit = false); +CPUKind parseTuneCPU(StringRef CPU, bool Only64Bit = false); /// Provide a list of valid CPU names. If \p Only64Bit is true, the list will /// only contain 64-bit capable CPUs. void fillValidCPUArchList(SmallVectorImpl<StringRef> &Values, - bool Only64Bit = false); -/// Provide a list of valid -mtune names. -void fillValidTuneCPUList(SmallVectorImpl<StringRef> &Values, - bool Only64Bit = false); + bool Only64Bit = false); +/// Provide a list of valid -mtune names. +void fillValidTuneCPUList(SmallVectorImpl<StringRef> &Values, + bool Only64Bit = false); /// Get the key feature prioritizing target multiversioning. ProcessorFeatures getKeyFeature(CPUKind Kind); @@ -155,10 +155,10 @@ ProcessorFeatures getKeyFeature(CPUKind Kind); /// Fill in the features that \p CPU supports into \p Features. void getFeaturesForCPU(StringRef CPU, SmallVectorImpl<StringRef> &Features); -/// Set or clear entries in \p Features that are implied to be enabled/disabled +/// Set or clear entries in \p Features that are implied to be enabled/disabled /// by the provided \p Feature. -void updateImpliedFeatures(StringRef Feature, bool Enabled, - StringMap<bool> &Features); +void updateImpliedFeatures(StringRef Feature, bool Enabled, + StringMap<bool> &Features); } // namespace X86 } // namespace llvm |