A few more isAsCheapAsAMove.
[oota-llvm.git] / lib / Target / Sparc / SparcSubtarget.h
index 682c99b16a4d9a6f9fdcc1dd44c32557806ffb39..dcb8c89fd12781f1b5f8317826be13b486be79a6 100644 (file)
@@ -1,9 +1,9 @@
-//=====-- SparcV8Subtarget.h - Define Subtarget for the SPARC -*- C++ -*--====//
+//=====-- SparcSubtarget.h - Define Subtarget for the SPARC ----*- C++ -*-====//
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by Chris Lattner and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
 namespace llvm {
   class Module;
   
-class SparcV8Subtarget : public TargetSubtarget {
-  bool Is64Bit;
+class SparcSubtarget : public TargetSubtarget {
+  bool IsV9;
+  bool V8DeprecatedInsts;
+  bool IsVIS;
 public:
-  SparcV8Subtarget(const Module &M, const std::string &FS);
+  SparcSubtarget(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.