diff options
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp | 22 | ||||
-rw-r--r-- | lib/Target/CellSPU/CellSPUSelectionDAGInfo.h | 29 |
3 files changed, 52 insertions, 0 deletions
diff --git a/lib/Target/CellSPU/CMakeLists.txt b/lib/Target/CellSPU/CMakeLists.txt index 0cb6676d7d..ddfca37d23 100644 --- a/lib/Target/CellSPU/CMakeLists.txt +++ b/lib/Target/CellSPU/CMakeLists.txt @@ -21,6 +21,7 @@ add_llvm_target(CellSPUCodeGen SPURegisterInfo.cpp SPUSubtarget.cpp SPUTargetMachine.cpp + SPUSelectionDAGInfo.cpp ) target_link_libraries (LLVMCellSPUCodeGen LLVMSelectionDAG) diff --git a/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp b/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp new file mode 100644 index 0000000000..86ceb592df --- /dev/null +++ b/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp @@ -0,0 +1,22 @@ +//===-- 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 new file mode 100644 index 0000000000..25e3aa0c44 --- /dev/null +++ b/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h @@ -0,0 +1,29 @@ +//===-- 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 |