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/PowerPC | |
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/PowerPC')
-rw-r--r-- | llvm/lib/Target/PowerPC/CMakeLists.txt | 1 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp | 22 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h | 29 |
3 files changed, 52 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/CMakeLists.txt b/llvm/lib/Target/PowerPC/CMakeLists.txt index c997c5cfc7a..7ffc5eb5f31 100644 --- a/llvm/lib/Target/PowerPC/CMakeLists.txt +++ b/llvm/lib/Target/PowerPC/CMakeLists.txt @@ -24,6 +24,7 @@ add_llvm_target(PowerPCCodeGen PPCRegisterInfo.cpp PPCSubtarget.cpp PPCTargetMachine.cpp + PPCSelectionDAGInfo.cpp ) target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp b/llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp new file mode 100644 index 00000000000..b1f4a71535c --- /dev/null +++ b/llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.cpp @@ -0,0 +1,22 @@ +//===-- 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/llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h b/llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h new file mode 100644 index 00000000000..e40b02cda18 --- /dev/null +++ b/llvm/lib/Target/PowerPC/PowerPCSelectionDAGInfo.h @@ -0,0 +1,29 @@ +//===-- 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 |