mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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
This commit is contained in:
parent
4bcf0a9233
commit
8c0e89925d
36
include/llvm/Target/TargetSelectionDAGInfo.h
Normal file
36
include/llvm/Target/TargetSelectionDAGInfo.h
Normal file
@ -0,0 +1,36 @@
|
||||
//==-- llvm/Target/TargetSelectionDAGInfo.h - 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 declares the TargetSelectionDAGInfo class, which targets can
|
||||
// subclass to parameterize the SelectionDAG lowering and instruction
|
||||
// selection process.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TARGET_TARGETSELECTIONDAGINFO_H
|
||||
#define LLVM_TARGET_TARGETSELECTIONDAGINFO_H
|
||||
|
||||
namespace llvm {
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// TargetSelectionDAGLowering - Targets can subclass this to parameterize the
|
||||
/// SelectionDAG lowering and instruction selection process.
|
||||
///
|
||||
class TargetSelectionDAGInfo {
|
||||
TargetSelectionDAGInfo(const TargetSelectionDAGInfo &); // DO NOT IMPLEMENT
|
||||
void operator=(const TargetSelectionDAGInfo &); // DO NOT IMPLEMENT
|
||||
|
||||
public:
|
||||
TargetSelectionDAGInfo();
|
||||
virtual ~TargetSelectionDAGInfo();
|
||||
};
|
||||
|
||||
} // end llvm namespace
|
||||
|
||||
#endif
|
@ -20,6 +20,7 @@ add_llvm_library(LLVMSelectionDAG
|
||||
SelectionDAGISel.cpp
|
||||
SelectionDAGPrinter.cpp
|
||||
TargetLowering.cpp
|
||||
TargetSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMSelectionDAG LLVMAnalysis LLVMAsmPrinter LLVMCodeGen)
|
||||
|
21
lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp
Normal file
21
lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp
Normal file
@ -0,0 +1,21 @@
|
||||
//===-- TargetSelectionDAGInfo.cpp - SelectionDAG Info --------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This implements the TargetSelectionDAGInfo class.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Target/TargetSelectionDAGInfo.h"
|
||||
using namespace llvm;
|
||||
|
||||
TargetSelectionDAGInfo::TargetSelectionDAGInfo() {
|
||||
}
|
||||
|
||||
TargetSelectionDAGInfo::~TargetSelectionDAGInfo() {
|
||||
}
|
Loading…
Reference in New Issue
Block a user