mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
InstrItineraryData support on added.
Added Mips3 ISA feature (needed when supporting R4000 machines) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41151 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9684a697d5
commit
13d1b7bbb3
@ -23,8 +23,12 @@ namespace llvm {
|
|||||||
class Module;
|
class Module;
|
||||||
|
|
||||||
class MipsSubtarget : public TargetSubtarget {
|
class MipsSubtarget : public TargetSubtarget {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool isR3000;
|
|
||||||
|
bool IsMipsIII;
|
||||||
|
InstrItineraryData InstrItins;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// This constructor initializes the data members to match that
|
/// This constructor initializes the data members to match that
|
||||||
/// of the specified module.
|
/// of the specified module.
|
||||||
@ -36,7 +40,9 @@ public:
|
|||||||
/// subtarget options. Definition of function is auto generated by tblgen.
|
/// subtarget options. Definition of function is auto generated by tblgen.
|
||||||
void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU);
|
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
|
} // End llvm namespace
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user