diff options
author | Hal Finkel <hfinkel@anl.gov> | 2011-10-17 04:03:49 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2011-10-17 04:03:49 +0000 |
commit | 6fa5697af0a59f4ccff58f8c3bf217de762469cd (patch) | |
tree | 12cde81f76686056c024f43b412c4448ce1a1e6e /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | 3e8aa65bc259957966dde939d94b9d5cc60fdadd (diff) | |
download | bcm5719-llvm-6fa5697af0a59f4ccff58f8c3bf217de762469cd.tar.gz bcm5719-llvm-6fa5697af0a59f4ccff58f8c3bf217de762469cd.zip |
Add PPC 440 scheduler and some associated tests
llvm-svn: 142170
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index e028de6b09d..d2b853d7095 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -33,6 +33,7 @@ namespace PPC { enum { DIR_NONE, DIR_32, + DIR_440, DIR_601, DIR_602, DIR_603, @@ -66,6 +67,7 @@ protected: bool HasAltivec; bool HasFSQRT; bool HasSTFIWX; + bool IsBookE; bool HasLazyResolverStubs; bool IsJITCodeModel; @@ -136,6 +138,7 @@ public: bool hasSTFIWX() const { return HasSTFIWX; } bool hasAltivec() const { return HasAltivec; } bool isGigaProcessor() const { return IsGigaProcessor; } + bool isBookE() const { return IsBookE; } const Triple &getTargetTriple() const { return TargetTriple; } |