diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-16 23:04:22 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-16 23:04:22 +0000 |
| commit | 9becdddc49d794317b55ac505d76f5f68de26441 (patch) | |
| tree | a4c9543a6190594cb95ca88260036c695e66519b /llvm/lib/Target/CellSPU | |
| parent | ed9bee150b1c29af60671b5118be91e1ce6427cd (diff) | |
| download | bcm5719-llvm-9becdddc49d794317b55ac505d76f5f68de26441.tar.gz bcm5719-llvm-9becdddc49d794317b55ac505d76f5f68de26441.zip | |
Add skeleton target-specific SelectionDAGInfo files.
llvm-svn: 101564
Diffstat (limited to 'llvm/lib/Target/CellSPU')
| -rw-r--r-- | llvm/lib/Target/CellSPU/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp | 22 | ||||
| -rw-r--r-- | llvm/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h | 29 |
3 files changed, 52 insertions, 0 deletions
diff --git a/llvm/lib/Target/CellSPU/CMakeLists.txt b/llvm/lib/Target/CellSPU/CMakeLists.txt index 0cb6676d7df..ddfca37d23e 100644 --- a/llvm/lib/Target/CellSPU/CMakeLists.txt +++ b/llvm/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/llvm/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp b/llvm/lib/Target/CellSPU/CellSPUSelectionDAGInfo.cpp new file mode 100644 index 00000000000..86ceb592df4 --- /dev/null +++ b/llvm/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/llvm/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h b/llvm/lib/Target/CellSPU/CellSPUSelectionDAGInfo.h new file mode 100644 index 00000000000..25e3aa0c442 --- /dev/null +++ b/llvm/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 |

