1 //===- DAGISelEmitter.h - Generate an instruction selector ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by Chris Lattner and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This tablegen backend emits a DAG instruction selector.
12 //===----------------------------------------------------------------------===//
14 #ifndef DAGISEL_EMITTER_H
15 #define DAGISEL_EMITTER_H
17 #include "TableGenBackend.h"
18 #include "CodeGenTarget.h"
22 /// InstrSelectorEmitter - The top-level class which coordinates construction
23 /// and emission of the instruction selector.
25 class DAGISelEmitter : public TableGenBackend {
26 RecordKeeper &Records;
30 DAGISelEmitter(RecordKeeper &R) : Records(R) {}
32 // run - Output the isel, returning true on failure.
33 void run(std::ostream &OS) {}
36 } // End llvm namespace