1 //===- llvm/TableGen/TableGenBackend.h - Backend utilities ------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 // 10 // Useful utilities for TableGen backends. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H 15 #define LLVM_TABLEGEN_TABLEGENBACKEND_H 16 17 namespace llvm { 18 19 class StringRef; 20 class raw_ostream; 21 22 /// emitSourceFileHeader - Output an LLVM style file header to the specified 23 /// raw_ostream. 24 void emitSourceFileHeader(StringRef Desc, raw_ostream &OS); 25 26 } // End llvm namespace 27 28 #endif 29