summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-08-04 15:47:38 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-08-04 15:47:38 +0000
commit0b2ebcb49dd0d5dc61a122025c207a6ff54f1ad1 (patch)
tree0edf16e0553412c49837d6942e380ddeb9ead4b7 /llvm/lib/Target/PowerPC/PPCSubtarget.h
parentdfe8cc51c2c0816c71c0ba2f2ebbe38049d1f7f6 (diff)
downloadbcm5719-llvm-0b2ebcb49dd0d5dc61a122025c207a6ff54f1ad1.tar.gz
bcm5719-llvm-0b2ebcb49dd0d5dc61a122025c207a6ff54f1ad1.zip
Add features for PPC 4xx and e500/e500mc instructions.
Move the test cases for them into separate files. llvm-svn: 214724
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index 8c4f583bdb8..d5d4ab265ae 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -97,6 +97,8 @@ protected:
bool HasPOPCNTD;
bool HasLDBRX;
bool IsBookE;
+ bool IsE500;
+ bool IsPPC4xx;
bool DeprecatedMFTB;
bool DeprecatedDST;
bool HasLazyResolverStubs;
@@ -218,6 +220,8 @@ public:
bool hasPOPCNTD() const { return HasPOPCNTD; }
bool hasLDBRX() const { return HasLDBRX; }
bool isBookE() const { return IsBookE; }
+ bool isPPC4xx() const { return IsPPC4xx; }
+ bool isE500() const { return IsE500; }
bool isDeprecatedMFTB() const { return DeprecatedMFTB; }
bool isDeprecatedDST() const { return DeprecatedDST; }
OpenPOWER on IntegriCloud