1 //===- NeonEmitter.h - Generate arm_neon.h for use with clang ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This tablegen backend is responsible for emitting arm_neon.h, which includes
11 // a declaration and definition of each function specified by the ARM NEON
12 // compiler interface. See ARM document DUI0348B.
14 //===----------------------------------------------------------------------===//
16 #ifndef NEON_EMITTER_H
17 #define NEON_EMITTER_H
19 #include "TableGenBackend.h"
23 class NeonEmitter : public TableGenBackend {
24 RecordKeeper &Records;
26 NeonEmitter(RecordKeeper &R) : Records(R) {}
28 // runHeader - Emit a header file that allows use of the instruction table.
29 void run(raw_ostream &o);
32 } // End llvm namespace