mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
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
|