diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-11 23:01:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 23:01:09 +0000 |
commit | ce914b8f945bdd42126991a7fda8984681c2c067 (patch) | |
tree | 4177772ac74d4ca5c5d3fba0598ed325aa216764 /lib/Target/X86/X86Subtarget.h | |
parent | b89030ab6554d84de4331c2853edac4dbf8da9b9 (diff) | |
download | external_llvm-ce914b8f945bdd42126991a7fda8984681c2c067.zip external_llvm-ce914b8f945bdd42126991a7fda8984681c2c067.tar.gz external_llvm-ce914b8f945bdd42126991a7fda8984681c2c067.tar.bz2 |
change the -x86-asm-syntax=intel/att flag to be in X86TAI
instead of X86 Subtarget. This elimianates dependencies on
X86Subtarget from X86TAI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | lib/Target/X86/X86Subtarget.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index 9b8a5a7..f5ca10a 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -34,12 +34,6 @@ enum Style { } class X86Subtarget : public TargetSubtarget { -public: - enum AsmWriterFlavorTy { - // Note: This numbering has to match the GCC assembler dialects for inline - // asm alternatives to work right. - ATT = 0, Intel = 1, Unset - }; protected: enum X86SSEEnum { NoMMXSSE, MMX, SSE1, SSE2, SSE3, SSSE3, SSE41, SSE42 @@ -49,10 +43,6 @@ protected: NoThreeDNow, ThreeDNow, ThreeDNowA }; - /// AsmFlavor - Which x86 asm dialect to use. - /// - AsmWriterFlavorTy AsmFlavor; - /// PICStyle - Which PIC style to use /// PICStyles::Style PICStyle; @@ -152,13 +142,6 @@ public: bool hasFMA4() const { return HasFMA4; } bool isBTMemSlow() const { return IsBTMemSlow; } - unsigned getAsmFlavor() const { - return AsmFlavor != Unset ? unsigned(AsmFlavor) : 0; - } - - bool isFlavorAtt() const { return AsmFlavor == ATT; } - bool isFlavorIntel() const { return AsmFlavor == Intel; } - bool isTargetDarwin() const { return TargetType == isDarwin; } bool isTargetELF() const { return TargetType == isELF; } bool isTargetWindows() const { return TargetType == isWindows; } |