Name these stub files consistently with the SPU and PPC targets' conventions.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 17 Apr 2010 08:50:29 +0000 (08:50 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 17 Apr 2010 08:50:29 +0000 (08:50 +0000)
Also rename the classes appropriately. The CMake build already used these
names.

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

lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp [deleted file]
lib/Target/CellSPU/CellSPUSelectionDAGInfo.h [deleted file]
lib/Target/CellSPU/SPUSelectionDAGInfo.cpp [new file with mode: 0644]
lib/Target/CellSPU/SPUSelectionDAGInfo.h [new file with mode: 0644]
lib/Target/PowerPC/PPCSelectionDAGInfo.cpp [new file with mode: 0644]
lib/Target/PowerPC/PPCSelectionDAGInfo.h [new file with mode: 0644]
lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp [deleted file]
lib/Target/PowerPC/PowerPCSelectionDAGInfo.h [deleted file]

diff --git a/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp b/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp
deleted file mode 100644 (file)
index 86ceb59..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-//===-- CellSPUSelectionDAGInfo.cpp - CellSPU SelectionDAG Info -----------===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements the CellSPUSelectionDAGInfo class.
-//
-//===----------------------------------------------------------------------===//
-
-#define DEBUG_TYPE "cellspu-selectiondag-info"
-#include "CellSPUSelectionDAGInfo.h"
-using namespace llvm;
-
-CellSPUSelectionDAGInfo::CellSPUSelectionDAGInfo() {
-}
-
-CellSPUSelectionDAGInfo::~CellSPUSelectionDAGInfo() {
-}
diff --git a/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h b/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h
deleted file mode 100644 (file)
index 25e3aa0..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-//===-- CellSPUSelectionDAGInfo.h - CellSPU SelectionDAG Info ---*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the CellSPU subclass for TargetSelectionDAGInfo.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef CELLSPUSELECTIONDAGINFO_H
-#define CELLSPUSELECTIONDAGINFO_H
-
-#include "llvm/Target/TargetSelectionDAGInfo.h"
-
-namespace llvm {
-
-class CellSPUSelectionDAGInfo : public TargetSelectionDAGInfo {
-public:
-  CellSPUSelectionDAGInfo();
-  ~CellSPUSelectionDAGInfo();
-};
-
-}
-
-#endif
diff --git a/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp b/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp
new file mode 100644 (file)
index 0000000..ca2a4bf
--- /dev/null
@@ -0,0 +1,22 @@
+//===-- SPUSelectionDAGInfo.cpp - CellSPU SelectionDAG Info ---------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the SPUSelectionDAGInfo class.
+//
+//===----------------------------------------------------------------------===//
+
+#define DEBUG_TYPE "cellspu-selectiondag-info"
+#include "SPUSelectionDAGInfo.h"
+using namespace llvm;
+
+SPUSelectionDAGInfo::SPUSelectionDAGInfo() {
+}
+
+SPUSelectionDAGInfo::~SPUSelectionDAGInfo() {
+}
diff --git a/lib/Target/CellSPU/SPUSelectionDAGInfo.h b/lib/Target/CellSPU/SPUSelectionDAGInfo.h
new file mode 100644 (file)
index 0000000..0a6b4c1
--- /dev/null
@@ -0,0 +1,29 @@
+//===-- SPUSelectionDAGInfo.h - CellSPU SelectionDAG Info -------*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the CellSPU subclass for TargetSelectionDAGInfo.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef CELLSPUSELECTIONDAGINFO_H
+#define CELLSPUSELECTIONDAGINFO_H
+
+#include "llvm/Target/TargetSelectionDAGInfo.h"
+
+namespace llvm {
+
+class SPUSelectionDAGInfo : public TargetSelectionDAGInfo {
+public:
+  SPUSelectionDAGInfo();
+  ~SPUSelectionDAGInfo();
+};
+
+}
+
+#endif
diff --git a/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp b/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp
new file mode 100644 (file)
index 0000000..c0004a9
--- /dev/null
@@ -0,0 +1,22 @@
+//===-- PPCSelectionDAGInfo.cpp - PowerPC SelectionDAG Info ---------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the PPCSelectionDAGInfo class.
+//
+//===----------------------------------------------------------------------===//
+
+#define DEBUG_TYPE "powerpc-selectiondag-info"
+#include "PPCSelectionDAGInfo.h"
+using namespace llvm;
+
+PPCSelectionDAGInfo::PPCSelectionDAGInfo() {
+}
+
+PPCSelectionDAGInfo::~PPCSelectionDAGInfo() {
+}
diff --git a/lib/Target/PowerPC/PPCSelectionDAGInfo.h b/lib/Target/PowerPC/PPCSelectionDAGInfo.h
new file mode 100644 (file)
index 0000000..3ad3418
--- /dev/null
@@ -0,0 +1,29 @@
+//===-- PPCSelectionDAGInfo.h - PowerPC SelectionDAG Info -------*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the PowerPC subclass for TargetSelectionDAGInfo.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef POWERPCCSELECTIONDAGINFO_H
+#define POWERPCCSELECTIONDAGINFO_H
+
+#include "llvm/Target/TargetSelectionDAGInfo.h"
+
+namespace llvm {
+
+class PPCSelectionDAGInfo : public TargetSelectionDAGInfo {
+public:
+  PPCSelectionDAGInfo();
+  ~PPCSelectionDAGInfo();
+};
+
+}
+
+#endif
diff --git a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp b/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
deleted file mode 100644 (file)
index b1f4a71..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-//===-- PowerPCSelectionDAGInfo.cpp - PowerPC SelectionDAG Info -----------===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements the PowerPCSelectionDAGInfo class.
-//
-//===----------------------------------------------------------------------===//
-
-#define DEBUG_TYPE "powerpc-selectiondag-info"
-#include "PowerPCSelectionDAGInfo.h"
-using namespace llvm;
-
-PowerPCSelectionDAGInfo::PowerPCSelectionDAGInfo() {
-}
-
-PowerPCSelectionDAGInfo::~PowerPCSelectionDAGInfo() {
-}
diff --git a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h b/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
deleted file mode 100644 (file)
index e40b02c..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-//===-- PowerPCSelectionDAGInfo.h - PowerPC SelectionDAG Info ---*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the PowerPC subclass for TargetSelectionDAGInfo.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef POWERPCCSELECTIONDAGINFO_H
-#define POWERPCCSELECTIONDAGINFO_H
-
-#include "llvm/Target/TargetSelectionDAGInfo.h"
-
-namespace llvm {
-
-class PowerPCSelectionDAGInfo : public TargetSelectionDAGInfo {
-public:
-  PowerPCSelectionDAGInfo();
-  ~PowerPCSelectionDAGInfo();
-};
-
-}
-
-#endif