mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 03:32:10 +00:00
No longer provide an optinfo, noone uses it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c5dc890596
commit
84be5ad94a
@ -14,7 +14,6 @@
|
|||||||
#include "llvm/Target/TargetFrameInfo.h"
|
#include "llvm/Target/TargetFrameInfo.h"
|
||||||
#include "llvm/Target/TargetCacheInfo.h"
|
#include "llvm/Target/TargetCacheInfo.h"
|
||||||
#include "llvm/Target/TargetRegInfo.h"
|
#include "llvm/Target/TargetRegInfo.h"
|
||||||
#include "llvm/Target/TargetOptInfo.h"
|
|
||||||
#include "llvm/Type.h"
|
#include "llvm/Type.h"
|
||||||
#include "SparcRegClassInfo.h"
|
#include "SparcRegClassInfo.h"
|
||||||
#include "Config/sys/types.h"
|
#include "Config/sys/types.h"
|
||||||
@ -631,19 +630,6 @@ struct UltraSparcCacheInfo: public TargetCacheInfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
|
||||||
// class UltraSparcOptInfo
|
|
||||||
//
|
|
||||||
// Purpose:
|
|
||||||
// Interface to machine-level optimization routines for the UltraSPARC.
|
|
||||||
//---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
struct UltraSparcOptInfo: public TargetOptInfo {
|
|
||||||
UltraSparcOptInfo(const TargetMachine &T) : TargetOptInfo(T) {}
|
|
||||||
|
|
||||||
virtual bool IsUselessCopy (const MachineInstr* MI) const;
|
|
||||||
};
|
|
||||||
|
|
||||||
/// createAddRegNumToValuesPass - this pass adds unsigned register numbers to
|
/// createAddRegNumToValuesPass - this pass adds unsigned register numbers to
|
||||||
/// instructions, since that's not done by the Sparc InstSelector, but that's
|
/// instructions, since that's not done by the Sparc InstSelector, but that's
|
||||||
/// how the target-independent register allocator in the JIT likes to see
|
/// how the target-independent register allocator in the JIT likes to see
|
||||||
@ -678,7 +664,6 @@ class UltraSparc : public TargetMachine {
|
|||||||
UltraSparcRegInfo regInfo;
|
UltraSparcRegInfo regInfo;
|
||||||
UltraSparcFrameInfo frameInfo;
|
UltraSparcFrameInfo frameInfo;
|
||||||
UltraSparcCacheInfo cacheInfo;
|
UltraSparcCacheInfo cacheInfo;
|
||||||
UltraSparcOptInfo optInfo;
|
|
||||||
public:
|
public:
|
||||||
UltraSparc();
|
UltraSparc();
|
||||||
|
|
||||||
@ -687,7 +672,6 @@ public:
|
|||||||
virtual const TargetRegInfo &getRegInfo() const { return regInfo; }
|
virtual const TargetRegInfo &getRegInfo() const { return regInfo; }
|
||||||
virtual const TargetFrameInfo &getFrameInfo() const { return frameInfo; }
|
virtual const TargetFrameInfo &getFrameInfo() const { return frameInfo; }
|
||||||
virtual const TargetCacheInfo &getCacheInfo() const { return cacheInfo; }
|
virtual const TargetCacheInfo &getCacheInfo() const { return cacheInfo; }
|
||||||
virtual const TargetOptInfo &getOptInfo() const { return optInfo; }
|
|
||||||
|
|
||||||
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
||||||
virtual bool addPassesToJITCompile(FunctionPassManager &PM);
|
virtual bool addPassesToJITCompile(FunctionPassManager &PM);
|
||||||
|
@ -139,8 +139,7 @@ UltraSparc::UltraSparc()
|
|||||||
schedInfo(*this),
|
schedInfo(*this),
|
||||||
regInfo(*this),
|
regInfo(*this),
|
||||||
frameInfo(*this),
|
frameInfo(*this),
|
||||||
cacheInfo(*this),
|
cacheInfo(*this) {
|
||||||
optInfo(*this) {
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user