mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
39 lines
1003 B
C
39 lines
1003 B
C
|
//===- IntrinsicEmitter.h - Generate intrinsic information ------*- 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 information about intrinsic functions.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef INTRINSIC_EMITTER_H
|
||
|
#define INTRINSIC_EMITTER_H
|
||
|
|
||
|
#include "CodeGenIntrinsics.h"
|
||
|
#include "TableGenBackend.h"
|
||
|
|
||
|
namespace llvm {
|
||
|
class IntrinsicEmitter : public TableGenBackend {
|
||
|
RecordKeeper &Records;
|
||
|
|
||
|
public:
|
||
|
IntrinsicEmitter(RecordKeeper &R) : Records(R) {}
|
||
|
|
||
|
void run(std::ostream &OS);
|
||
|
|
||
|
void EmitEnumInfo(const std::vector<CodeGenIntrinsic> &Ints,
|
||
|
std::ostream &OS);
|
||
|
};
|
||
|
|
||
|
} // End llvm namespace
|
||
|
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|