mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-03 14:21:30 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			36 lines
		
	
	
		
			982 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			982 B
		
	
	
	
		
			C++
		
	
	
	
	
	
//===- CodeEmitterGen.h - Code Emitter Generator ----------------*- C++ -*-===//
 | 
						|
// 
 | 
						|
//                     The LLVM Compiler Infrastructure
 | 
						|
//
 | 
						|
// This file was developed by the LLVM research group and is distributed under
 | 
						|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
 | 
						|
// 
 | 
						|
//===----------------------------------------------------------------------===//
 | 
						|
//
 | 
						|
// FIXME: document
 | 
						|
//
 | 
						|
//===----------------------------------------------------------------------===//
 | 
						|
 | 
						|
#ifndef CODEMITTERGEN_H
 | 
						|
#define CODEMITTERGEN_H
 | 
						|
 | 
						|
#include "TableGenBackend.h"
 | 
						|
 | 
						|
namespace llvm {
 | 
						|
 | 
						|
class CodeEmitterGen : public TableGenBackend {
 | 
						|
  RecordKeeper &Records;
 | 
						|
public:
 | 
						|
  CodeEmitterGen(RecordKeeper &R) : Records(R) {}
 | 
						|
  
 | 
						|
  // run - Output the code emitter
 | 
						|
  void run(std::ostream &o);
 | 
						|
private:
 | 
						|
  void emitMachineOpEmitter(std::ostream &o, const std::string &Namespace);
 | 
						|
  void emitGetValueBit(std::ostream &o, const std::string &Namespace);
 | 
						|
};
 | 
						|
 | 
						|
} // End llvm namespace
 | 
						|
 | 
						|
#endif
 |