aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Mips/MipsSubtarget.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h
index 7ec61ca95b..8bf98e7b99 100644
--- a/lib/Target/Mips/MipsSubtarget.h
+++ b/lib/Target/Mips/MipsSubtarget.h
@@ -23,8 +23,12 @@ namespace llvm {
class Module;
class MipsSubtarget : public TargetSubtarget {
+
protected:
- bool isR3000;
+
+ bool IsMipsIII;
+ InstrItineraryData InstrItins;
+
public:
/// This constructor initializes the data members to match that
/// of the specified module.
@@ -36,7 +40,9 @@ public:
/// subtarget options. Definition of function is auto generated by tblgen.
void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU);
- bool IsR3000() const { return isR3000; }
+ /// isMipsIII - Return true if the selected CPU supports MipsIII ISA
+ /// support.
+ bool isMipsIII() const { return IsMipsIII; }
};
} // End llvm namespace