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 #include "llvm/ADT/StringRef.h" 18 19 namespace llvm { 20 21 class raw_ostream; 22 23 /// emitSourceFileHeader - Output a LLVM style file header to the specified 24 /// raw_ostream. 25 void emitSourceFileHeader(StringRef Desc, raw_ostream &OS); 26 27 } // End llvm namespace 28 29 #endif 30