mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
4a24c645c8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23236 91177308-0d34-0410-b5e6-96231b3b80d8
39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
//===- DAGISelEmitter.h - Generate an instruction selector ------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file was developed by Chris Lattner and is distributed under
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This tablegen backend emits a DAG instruction selector.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef DAGISEL_EMITTER_H
|
|
#define DAGISEL_EMITTER_H
|
|
|
|
#include "TableGenBackend.h"
|
|
#include "CodeGenTarget.h"
|
|
|
|
namespace llvm {
|
|
|
|
/// InstrSelectorEmitter - The top-level class which coordinates construction
|
|
/// and emission of the instruction selector.
|
|
///
|
|
class DAGISelEmitter : public TableGenBackend {
|
|
RecordKeeper &Records;
|
|
CodeGenTarget Target;
|
|
|
|
public:
|
|
DAGISelEmitter(RecordKeeper &R) : Records(R) {}
|
|
|
|
// run - Output the isel, returning true on failure.
|
|
void run(std::ostream &OS) {}
|
|
};
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|