TableGenBackend.h 1018 B

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