TableGenBackend.h 849 B

1234567891011121314151617181920212223242526272829
  1. //===- llvm/TableGen/TableGenBackend.h - Backend utilities ------*- C++ -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. //
  9. // Useful utilities for TableGen backends.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H
  13. #define LLVM_TABLEGEN_TABLEGENBACKEND_H
  14. namespace llvm {
  15. class StringRef;
  16. class raw_ostream;
  17. /// emitSourceFileHeader - Output an LLVM style file header to the specified
  18. /// raw_ostream.
  19. void emitSourceFileHeader(StringRef Desc, raw_ostream &OS);
  20. extern bool TimeRegions;
  21. } // End llvm namespace
  22. #endif