change the interface to CoerceAvailableValueToLoadType to be
[oota-llvm.git] / lib / Target / Sparc / SparcSubtarget.h
index 615d3d4fbc56a9ba8eb7e9760e7bc4ff1572cd45..43770343d3348c5d2bfcac41e76a230faa1b922e 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.
 //
 //===----------------------------------------------------------------------===//
 //
 #include <string>
 
 namespace llvm {
-  class Module;
-  
-class SparcV8Subtarget : public TargetSubtarget {
+
+class SparcSubtarget : public TargetSubtarget {
   bool IsV9;
   bool V8DeprecatedInsts;
   bool IsVIS;
 public:
-  SparcV8Subtarget(const Module &M, const std::string &FS);
+  SparcSubtarget(const std::string &TT, const std::string &FS);
 
   bool isV9() const { return IsV9; }
   bool isVIS() const { return IsVIS; }
@@ -33,8 +32,9 @@ public:
   
   /// ParseSubtargetFeatures - Parses features string setting specified 
   /// subtarget options.  Definition of function is auto generated by tblgen.
-  void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU);
-  
+  std::string ParseSubtargetFeatures(const std::string &FS,
+                                     const std::string &CPU);
+
 };
 
 } // end namespace llvm