Name these stub files consistently with the SPU and PPC targets' conventions.
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
diff --git a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp b/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp
similarity index 62%
rename from lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
rename to lib/Target/PowerPC/PPCSelectionDAGInfo.cpp
index b1f4a71..c0004a9 100644
--- a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
+++ b/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp
@@ -1,4 +1,4 @@
-//===-- PowerPCSelectionDAGInfo.cpp - PowerPC SelectionDAG Info -----------===//
+//===-- PPCSelectionDAGInfo.cpp - PowerPC SelectionDAG Info ---------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,16 +7,16 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the PowerPCSelectionDAGInfo class.
+// This file implements the PPCSelectionDAGInfo class.
//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "powerpc-selectiondag-info"
-#include "PowerPCSelectionDAGInfo.h"
+#include "PPCSelectionDAGInfo.h"
using namespace llvm;
-PowerPCSelectionDAGInfo::PowerPCSelectionDAGInfo() {
+PPCSelectionDAGInfo::PPCSelectionDAGInfo() {
}
-PowerPCSelectionDAGInfo::~PowerPCSelectionDAGInfo() {
+PPCSelectionDAGInfo::~PPCSelectionDAGInfo() {
}
diff --git a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h b/lib/Target/PowerPC/PPCSelectionDAGInfo.h
similarity index 76%
rename from lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
rename to lib/Target/PowerPC/PPCSelectionDAGInfo.h
index e40b02c..3ad3418 100644
--- a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
+++ b/lib/Target/PowerPC/PPCSelectionDAGInfo.h
@@ -1,4 +1,4 @@
-//===-- PowerPCSelectionDAGInfo.h - PowerPC SelectionDAG Info ---*- C++ -*-===//
+//===-- PPCSelectionDAGInfo.h - PowerPC SelectionDAG Info -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -18,10 +18,10 @@
namespace llvm {
-class PowerPCSelectionDAGInfo : public TargetSelectionDAGInfo {
+class PPCSelectionDAGInfo : public TargetSelectionDAGInfo {
public:
- PowerPCSelectionDAGInfo();
- ~PowerPCSelectionDAGInfo();
+ PPCSelectionDAGInfo();
+ ~PPCSelectionDAGInfo();
};
}