aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcSubtarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Sparc/SparcSubtarget.h')
-rw-r--r--lib/Target/Sparc/SparcSubtarget.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcSubtarget.h b/lib/Target/Sparc/SparcSubtarget.h
index 682c99b16a..615d3d4fbc 100644
--- a/lib/Target/Sparc/SparcSubtarget.h
+++ b/lib/Target/Sparc/SparcSubtarget.h
@@ -21,11 +21,15 @@ namespace llvm {
class Module;
class SparcV8Subtarget : public TargetSubtarget {
- bool Is64Bit;
+ bool IsV9;
+ bool V8DeprecatedInsts;
+ bool IsVIS;
public:
SparcV8Subtarget(const Module &M, const std::string &FS);
- bool is64Bit() const { return Is64Bit; }
+ bool isV9() const { return IsV9; }
+ bool isVIS() const { return IsVIS; }
+ bool useDeprecatedV8Instructions() const { return V8DeprecatedInsts; }
/// ParseSubtargetFeatures - Parses features string setting specified
/// subtarget options. Definition of function is auto generated by tblgen.