Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
857 B

  1. //===- llvm/TableGen/Main.h - tblgen entry point ----------------*- 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. // This file declares the common entry point for tblgen tools.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #ifndef LLVM_TABLEGEN_MAIN_H
  14. #define LLVM_TABLEGEN_MAIN_H
  15. namespace llvm {
  16. class RecordKeeper;
  17. class raw_ostream;
  18. /// \brief Perform the action using Records, and write output to OS.
  19. /// \returns true on error, false otherwise
  20. typedef bool TableGenMainFn(raw_ostream &OS, RecordKeeper &Records);
  21. int TableGenMain(char *argv0, TableGenMainFn *MainFn);
  22. }
  23. #endif