Remove file that is no longer used, and move include of MRegisterInfo.h
authorNate Begeman <natebegeman@mac.com>
Tue, 26 Oct 2004 06:02:38 +0000 (06:02 +0000)
committerNate Begeman <natebegeman@mac.com>
Tue, 26 Oct 2004 06:02:38 +0000 (06:02 +0000)
from PowerPCFrameInfo.h to PowerPCAsmPrinter.cpp where it is actually
needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17244 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCFrameInfo.h
lib/Target/PowerPC/PowerPCRegisterInfo.h [deleted file]

index e85516f861d80165310e256310abff0cb67e9d69..fd86f1b59cd9985ae6ace0491cadccb422d04b69 100644 (file)
@@ -32,6 +32,7 @@
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Target/MRegisterInfo.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/StringExtras.h"
 #include <set>
index 423de2978ed51212ccd8a5b9f05201c33cfc9566..a6f0e687ac6e684431d2bd726a396e6bf6f2fa46 100644 (file)
@@ -16,7 +16,6 @@
 #include "PowerPC.h"
 #include "llvm/Target/TargetFrameInfo.h"
 #include "llvm/Target/TargetMachine.h"
-#include "llvm/Target/MRegisterInfo.h"
 
 namespace llvm {
 
diff --git a/lib/Target/PowerPC/PowerPCRegisterInfo.h b/lib/Target/PowerPC/PowerPCRegisterInfo.h
deleted file mode 100644 (file)
index 1a6f961..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//===- PowerPCRegisterInfo.h - PowerPC Register Information Impl -*- C++ -*-==//
-// 
-//                     The LLVM Compiler Infrastructure
-//
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
-//===----------------------------------------------------------------------===//
-//
-// This file contains the PowerPC implementation of the MRegisterInfo class.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef POWERPC_REGISTERINFO_H
-#define POWERPC_REGISTERINFO_H
-
-#include "llvm/Target/MRegisterInfo.h"
-
-namespace llvm {
-
-class Type;
-
-class PowerPCRegisterInfo : public PowerPCGenRegisterInfo {
-  std::map<unsigned, unsigned> ImmToIdxMap;
-public:
-  PowerPCRegisterInfo();
-  const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
-
-  /// Code Generation virtual methods...
-  void storeRegToStackSlot(MachineBasicBlock &MBB,
-                           MachineBasicBlock::iterator MBBI,
-                           unsigned SrcReg, int FrameIndex) const;
-
-  void loadRegFromStackSlot(MachineBasicBlock &MBB,
-                            MachineBasicBlock::iterator MBBI,
-                            unsigned DestReg, int FrameIndex) const;
-  
-  void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
-                    unsigned DestReg, unsigned SrcReg,
-                    const TargetRegisterClass *RC) const;
-
-  void eliminateCallFramePseudoInstr(MachineFunction &MF,
-                                     MachineBasicBlock &MBB,
-                                     MachineBasicBlock::iterator I) const;
-
-  void eliminateFrameIndex(MachineBasicBlock::iterator II) const;
-
-  void emitPrologue(MachineFunction &MF) const;
-  void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
-};
-
-} // end namespace llvm
-
-#endif