Rename MachineOptInfo to TargetoptInfo

Rename MachineCacheInfo to TargetCacheInfo


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-12-29 02:50:33 +00:00
parent aa09b75d22
commit dde126207e

View File

@ -11,9 +11,9 @@
#include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetMachine.h"
#include "llvm/Target/MachineSchedInfo.h" #include "llvm/Target/MachineSchedInfo.h"
#include "llvm/Target/TargetFrameInfo.h" #include "llvm/Target/TargetFrameInfo.h"
#include "llvm/Target/MachineCacheInfo.h" #include "llvm/Target/TargetCacheInfo.h"
#include "llvm/Target/MachineRegInfo.h" #include "llvm/Target/MachineRegInfo.h"
#include "llvm/Target/MachineOptInfo.h" #include "llvm/Target/TargetOptInfo.h"
#include "llvm/Type.h" #include "llvm/Type.h"
#include <sys/types.h> #include <sys/types.h>
@ -694,9 +694,8 @@ private:
// Just use defaults for now. // Just use defaults for now.
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
class UltraSparcCacheInfo: public MachineCacheInfo { struct UltraSparcCacheInfo: public TargetCacheInfo {
public: UltraSparcCacheInfo(const TargetMachine &T) : TargetCacheInfo(T) {}
UltraSparcCacheInfo(const TargetMachine &T) : MachineCacheInfo(T) {}
}; };
@ -707,9 +706,8 @@ public:
// Interface to machine-level optimization routines for the UltraSPARC. // Interface to machine-level optimization routines for the UltraSPARC.
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
class UltraSparcOptInfo: public MachineOptInfo { struct UltraSparcOptInfo: public TargetOptInfo {
public: UltraSparcOptInfo(const TargetMachine &T) : TargetOptInfo(T) {}
UltraSparcOptInfo(const TargetMachine &T) : MachineOptInfo(T) {}
virtual bool IsUselessCopy (const MachineInstr* MI) const; virtual bool IsUselessCopy (const MachineInstr* MI) const;
}; };
@ -739,8 +737,8 @@ public:
virtual const MachineSchedInfo &getSchedInfo() const { return schedInfo; } virtual const MachineSchedInfo &getSchedInfo() const { return schedInfo; }
virtual const MachineRegInfo &getRegInfo() const { return regInfo; } virtual const MachineRegInfo &getRegInfo() const { return regInfo; }
virtual const TargetFrameInfo &getFrameInfo() const { return frameInfo; } virtual const TargetFrameInfo &getFrameInfo() const { return frameInfo; }
virtual const MachineCacheInfo &getCacheInfo() const { return cacheInfo; } virtual const TargetCacheInfo &getCacheInfo() const { return cacheInfo; }
virtual const MachineOptInfo &getOptInfo() const { return optInfo; } virtual const TargetOptInfo &getOptInfo() const { return optInfo; }
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out); virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);