mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove the TargetMachine forwards for TargetSubtargetInfo based
information and update all callers. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -241,7 +241,6 @@ public:
|
||||
bool hasExtractInsert() const { return !inMips16Mode() && hasMips32r2(); }
|
||||
bool hasMTHC1() const { return hasMips32r2(); }
|
||||
|
||||
const InstrItineraryData &getInstrItineraryData() const { return InstrItins; }
|
||||
bool allowMixed16_32() const { return inMips16ModeDefault() |
|
||||
AllowMixed16_32;}
|
||||
|
||||
@@ -273,17 +272,24 @@ public:
|
||||
void setHelperClassesMips16();
|
||||
void setHelperClassesMipsSE();
|
||||
|
||||
MipsJITInfo *getJITInfo() { return &JITInfo; }
|
||||
const MipsSelectionDAGInfo *getSelectionDAGInfo() const { return &TSInfo; }
|
||||
const DataLayout *getDataLayout() const { return &DL; }
|
||||
const MipsInstrInfo *getInstrInfo() const { return InstrInfo.get(); }
|
||||
const TargetFrameLowering *getFrameLowering() const {
|
||||
MipsJITInfo *getJITInfo() override { return &JITInfo; }
|
||||
const MipsSelectionDAGInfo *getSelectionDAGInfo() const override {
|
||||
return &TSInfo;
|
||||
}
|
||||
const DataLayout *getDataLayout() const override { return &DL; }
|
||||
const MipsInstrInfo *getInstrInfo() const override { return InstrInfo.get(); }
|
||||
const TargetFrameLowering *getFrameLowering() const override {
|
||||
return FrameLowering.get();
|
||||
}
|
||||
const MipsRegisterInfo *getRegisterInfo() const {
|
||||
const MipsRegisterInfo *getRegisterInfo() const override {
|
||||
return &InstrInfo->getRegisterInfo();
|
||||
}
|
||||
const MipsTargetLowering *getTargetLowering() const { return TLInfo.get(); }
|
||||
const MipsTargetLowering *getTargetLowering() const override {
|
||||
return TLInfo.get();
|
||||
}
|
||||
const InstrItineraryData *getInstrItineraryData() const override {
|
||||
return &InstrItins;
|
||||
}
|
||||
};
|
||||
} // End llvm namespace
|
||||
|
||||
|
Reference in New Issue
Block a user