llvm.org GIT mirror llvm / 8c0e899
Create a new TargetSelectionDAGInfo class. This will eventually acquire SelectionDAG-specific parts of TargetLowering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101537 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 9 years ago
3 changed file(s) with 58 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 //==-- llvm/Target/TargetSelectionDAGInfo.h - SelectionDAG Info --*- C++ -*-==//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file declares the TargetSelectionDAGInfo class, which targets can
10 // subclass to parameterize the SelectionDAG lowering and instruction
11 // selection process.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_TARGET_TARGETSELECTIONDAGINFO_H
16 #define LLVM_TARGET_TARGETSELECTIONDAGINFO_H
17
18 namespace llvm {
19
20 //===----------------------------------------------------------------------===//
21 /// TargetSelectionDAGLowering - Targets can subclass this to parameterize the
22 /// SelectionDAG lowering and instruction selection process.
23 ///
24 class TargetSelectionDAGInfo {
25 TargetSelectionDAGInfo(const TargetSelectionDAGInfo &); // DO NOT IMPLEMENT
26 void operator=(const TargetSelectionDAGInfo &); // DO NOT IMPLEMENT
27
28 public:
29 TargetSelectionDAGInfo();
30 virtual ~TargetSelectionDAGInfo();
31 };
32
33 } // end llvm namespace
34
35 #endif
1919 SelectionDAGISel.cpp
2020 SelectionDAGPrinter.cpp
2121 TargetLowering.cpp
22 TargetSelectionDAGInfo.cpp
2223 )
2324
2425 target_link_libraries (LLVMSelectionDAG LLVMAnalysis LLVMAsmPrinter LLVMCodeGen)
0 //===-- TargetSelectionDAGInfo.cpp - SelectionDAG Info --------------------===//
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This implements the TargetSelectionDAGInfo class.
10 //
11 //===----------------------------------------------------------------------===//
12
13 #include "llvm/Target/TargetSelectionDAGInfo.h"
14 using namespace llvm;
15
16 TargetSelectionDAGInfo::TargetSelectionDAGInfo() {
17 }
18
19 TargetSelectionDAGInfo::~TargetSelectionDAGInfo() {
20 }