summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZSubtarget.h
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-07-31 11:17:35 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-07-31 11:17:35 +0000
commitf3068d02e5f55d7e69134c8f14aa21c4b9fde91a (patch)
tree01283464fa8a8a6ec67469742e3202f54e5e5815 /lib/Target/SystemZ/SystemZSubtarget.h
parent5b62bb0af119f92ca9ecec2150dab898c73cfcd8 (diff)
downloadllvm-f3068d02e5f55d7e69134c8f14aa21c4b9fde91a.tar.gz
llvm-f3068d02e5f55d7e69134c8f14aa21c4b9fde91a.tar.bz2
llvm-f3068d02e5f55d7e69134c8f14aa21c4b9fde91a.tar.xz
[SystemZ] Add RISBLG and RISBHG instruction definitions
The next patch will make use of RISBLG for codegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZSubtarget.h')
-rw-r--r--lib/Target/SystemZ/SystemZSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZSubtarget.h b/lib/Target/SystemZ/SystemZSubtarget.h
index 9d5dfc8a1d..4efb58d097 100644
--- a/lib/Target/SystemZ/SystemZSubtarget.h
+++ b/lib/Target/SystemZ/SystemZSubtarget.h
@@ -29,6 +29,7 @@ class SystemZSubtarget : public SystemZGenSubtargetInfo {
protected:
bool HasDistinctOps;
bool HasLoadStoreOnCond;
+ bool HasHighWord;
private:
Triple TargetTriple;
@@ -46,6 +47,9 @@ public:
// Return true if the target has the load/store-on-condition facility.
bool hasLoadStoreOnCond() const { return HasLoadStoreOnCond; }
+ // Return true if the target has the high-word facility.
+ bool hasHighWord() const { return HasHighWord; }
+
// Return true if GV can be accessed using LARL for reloc model RM
// and code model CM.
bool isPC32DBLSymbol(const GlobalValue *GV, Reloc::Model RM,