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.

55 lines
2.1 KiB

  1. /*===-- llvm-c/Initialization.h - Initialization C Interface ------*- 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 header declares the C interface to LLVM initialization routines, *|
  11. |* which must be called before you can use the functionality provided by *|
  12. |* the corresponding LLVM library. *|
  13. |* *|
  14. \*===----------------------------------------------------------------------===*/
  15. #ifndef LLVM_C_INITIALIZEPASSES_H
  16. #define LLVM_C_INITIALIZEPASSES_H
  17. #include "llvm-c/Core.h"
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. /**
  22. * @defgroup LLVMCInitialization Initialization Routines
  23. * @ingroup LLVMC
  24. *
  25. * This module contains routines used to initialize the LLVM system.
  26. *
  27. * @{
  28. */
  29. void LLVMInitializeCore(LLVMPassRegistryRef R);
  30. void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
  31. void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
  32. void LLVMInitializeObjCARCOpts(LLVMPassRegistryRef R);
  33. void LLVMInitializeVectorization(LLVMPassRegistryRef R);
  34. void LLVMInitializeInstCombine(LLVMPassRegistryRef R);
  35. void LLVMInitializeIPO(LLVMPassRegistryRef R);
  36. void LLVMInitializeInstrumentation(LLVMPassRegistryRef R);
  37. void LLVMInitializeAnalysis(LLVMPassRegistryRef R);
  38. void LLVMInitializeIPA(LLVMPassRegistryRef R);
  39. void LLVMInitializeCodeGen(LLVMPassRegistryRef R);
  40. void LLVMInitializeTarget(LLVMPassRegistryRef R);
  41. /**
  42. * @}
  43. */
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47. #endif