From 2329d66a9f961b5ec463640f67ac451645aa6093 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 17 Apr 2010 08:50:29 +0000 Subject: 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 --- lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp | 22 ------------------- lib/Target/CellSPU/CellSPUSelectionDAGInfo.h | 29 -------------------------- lib/Target/CellSPU/SPUSelectionDAGInfo.cpp | 22 +++++++++++++++++++ lib/Target/CellSPU/SPUSelectionDAGInfo.h | 29 ++++++++++++++++++++++++++ lib/Target/PowerPC/PPCSelectionDAGInfo.cpp | 22 +++++++++++++++++++ lib/Target/PowerPC/PPCSelectionDAGInfo.h | 29 ++++++++++++++++++++++++++ lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp | 22 ------------------- lib/Target/PowerPC/PowerPCSelectionDAGInfo.h | 29 -------------------------- 8 files changed, 102 insertions(+), 102 deletions(-) delete mode 100644 lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp delete mode 100644 lib/Target/CellSPU/CellSPUSelectionDAGInfo.h create mode 100644 lib/Target/CellSPU/SPUSelectionDAGInfo.cpp create mode 100644 lib/Target/CellSPU/SPUSelectionDAGInfo.h create mode 100644 lib/Target/PowerPC/PPCSelectionDAGInfo.cpp create mode 100644 lib/Target/PowerPC/PPCSelectionDAGInfo.h delete mode 100644 lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp delete mode 100644 lib/Target/PowerPC/PowerPCSelectionDAGInfo.h (limited to 'lib/Target') diff --git a/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp b/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp deleted file mode 100644 index 86ceb59..0000000 --- a/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp +++ /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 index 25e3aa0..0000000 --- a/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h +++ /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 index 0000000..ca2a4bf --- /dev/null +++ b/lib/Target/CellSPU/SPUSelectionDAGInfo.cpp @@ -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 index 0000000..0a6b4c1 --- /dev/null +++ b/lib/Target/CellSPU/SPUSelectionDAGInfo.h @@ -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 index 0000000..c0004a9 --- /dev/null +++ b/lib/Target/PowerPC/PPCSelectionDAGInfo.cpp @@ -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 index 0000000..3ad3418 --- /dev/null +++ b/lib/Target/PowerPC/PPCSelectionDAGInfo.h @@ -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 index b1f4a71..0000000 --- a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp +++ /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 index e40b02c..0000000 --- a/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h +++ /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 -- cgit v1.1