summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2011-10-17 04:03:49 +0000
committerHal Finkel <hfinkel@anl.gov>2011-10-17 04:03:49 +0000
commit6fa5697af0a59f4ccff58f8c3bf217de762469cd (patch)
tree12cde81f76686056c024f43b412c4448ce1a1e6e /llvm/lib/Target/PowerPC/PPCSubtarget.h
parent3e8aa65bc259957966dde939d94b9d5cc60fdadd (diff)
downloadbcm5719-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.h3
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; }
OpenPOWER on IntegriCloud