[llvm-commits] [llvm] r101631 - in /llvm/trunk/lib/Target: CellSPU/CellSPUSelectionDAGInfo.cpp CellSPU/CellSPUSelectionDAGInfo.h CellSPU/SPUSelectionDAGInfo.cpp CellSPU/SPUSelectionDAGInfo.h PowerPC/PPCSelectionDAGInfo.cpp PowerPC/PPCSelectionDAGInfo.h PowerPC/PowerPCSelectionDAGInfo.cpp PowerPC/PowerPCSelectionDAGInfo.h
Chandler Carruth
chandlerc at gmail.com
Sat Apr 17 01:50:29 PDT 2010
Author: chandlerc
Date: Sat Apr 17 03:50:29 2010
New Revision: 101631
URL: http://llvm.org/viewvc/llvm-project?rev=101631&view=rev
Log:
Name these stub files consistently with the SPU and PPC targets' conventions.
Also rename the classes appropriately. The CMake build already used these
names.
Added:
llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp
- copied, changed from r101630, llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp
llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.h
- copied, changed from r101630, llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h
llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp
- copied, changed from r101630, llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.h
- copied, changed from r101630, llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
Removed:
llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp
llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h
llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
Removed: llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp?rev=101630&view=auto
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp (original)
+++ llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp (removed)
@@ -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() {
-}
Removed: llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h?rev=101630&view=auto
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h (original)
+++ llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h (removed)
@@ -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
Copied: llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp (from r101630, llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp?p2=llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp&p1=llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp&r1=101630&r2=101631&rev=101631&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp (original)
+++ llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp Sat Apr 17 03:50:29 2010
@@ -1,4 +1,4 @@
-//===-- CellSPUSelectionDAGInfo.cpp - CellSPU SelectionDAG Info -----------===//
+//===-- SPUSelectionDAGInfo.cpp - CellSPU SelectionDAG Info ---------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,16 +7,16 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the CellSPUSelectionDAGInfo class.
+// This file implements the SPUSelectionDAGInfo class.
//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "cellspu-selectiondag-info"
-#include "CellSPUSelectionDAGInfo.h"
+#include "SPUSelectionDAGInfo.h"
using namespace llvm;
-CellSPUSelectionDAGInfo::CellSPUSelectionDAGInfo() {
+SPUSelectionDAGInfo::SPUSelectionDAGInfo() {
}
-CellSPUSelectionDAGInfo::~CellSPUSelectionDAGInfo() {
+SPUSelectionDAGInfo::~SPUSelectionDAGInfo() {
}
Copied: llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.h (from r101630, llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.h?p2=llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.h&p1=llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h&r1=101630&r2=101631&rev=101631&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h (original)
+++ llvm/trunk/lib/Target/CellSPU/SPUSelectionDAGInfo.h Sat Apr 17 03:50:29 2010
@@ -1,4 +1,4 @@
-//===-- CellSPUSelectionDAGInfo.h - CellSPU SelectionDAG Info ---*- C++ -*-===//
+//===-- SPUSelectionDAGInfo.h - CellSPU SelectionDAG Info -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -18,10 +18,10 @@
namespace llvm {
-class CellSPUSelectionDAGInfo : public TargetSelectionDAGInfo {
+class SPUSelectionDAGInfo : public TargetSelectionDAGInfo {
public:
- CellSPUSelectionDAGInfo();
- ~CellSPUSelectionDAGInfo();
+ SPUSelectionDAGInfo();
+ ~SPUSelectionDAGInfo();
};
}
Copied: llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp (from r101630, llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp?p2=llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp&p1=llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp&r1=101630&r2=101631&rev=101631&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp Sat Apr 17 03:50:29 2010
@@ -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() {
}
Copied: llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.h (from r101630, llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.h?p2=llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.h&p1=llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h&r1=101630&r2=101631&rev=101631&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCSelectionDAGInfo.h Sat Apr 17 03:50:29 2010
@@ -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();
};
}
Removed: llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp?rev=101630&view=auto
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp (removed)
@@ -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() {
-}
Removed: llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h?rev=101630&view=auto
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h (original)
+++ llvm/trunk/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h (removed)
@@ -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
More information about the llvm-commits
mailing list