Rest of subtarget support, remove references to ppc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25642 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-01-26 07:22:22 +00:00
parent 0d170a7969
commit 4dcfaac2e3
8 changed files with 76 additions and 28 deletions

View File

@@ -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.