diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:05:00 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:05:00 +0000 |
commit | 2d218394c61a3f9fb773d4f6a942416e0af50562 (patch) | |
tree | eb61fd597637f58ce33f1ba8eff498424098e923 /llvm/lib/Target/SystemZ/SystemZSubtarget.h | |
parent | 68b8486fdea00b68963cc13db058a07957fcf1a7 (diff) | |
download | bcm5719-llvm-2d218394c61a3f9fb773d4f6a942416e0af50562.tar.gz bcm5719-llvm-2d218394c61a3f9fb773d4f6a942416e0af50562.zip |
Add z9 and z10 target processors. Mark z10-only instructions as such.
llvm-svn: 75977
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZSubtarget.h')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZSubtarget.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZSubtarget.h b/llvm/lib/Target/SystemZ/SystemZSubtarget.h index 6c516957251..41a3741a354 100644 --- a/llvm/lib/Target/SystemZ/SystemZSubtarget.h +++ b/llvm/lib/Target/SystemZ/SystemZSubtarget.h @@ -23,17 +23,20 @@ class Module; class TargetMachine; class SystemZSubtarget : public TargetSubtarget { - bool DummyFeature; + bool HasZ10Insts; public: /// This constructor initializes the data members to match that /// of the specified module. /// SystemZSubtarget(const TargetMachine &TM, const Module &M, - const std::string &FS); + const std::string &FS); /// ParseSubtargetFeatures - Parses features string setting specified /// subtarget options. Definition of function is auto generated by tblgen. - std::string ParseSubtargetFeatures(const std::string &FS, const std::string &CPU); + std::string ParseSubtargetFeatures(const std::string &FS, + const std::string &CPU); + + bool isZ10() const { return HasZ10Insts; } }; } // End llvm namespace |