[llvm-commits] [llvm] r115932 - /llvm/trunk/include/llvm-c/Initialization.h

Owen Anderson resistor at mac.com
Thu Oct 7 11:05:11 PDT 2010


Author: resistor
Date: Thu Oct  7 13:05:11 2010
New Revision: 115932

URL: http://llvm.org/viewvc/llvm-project?rev=115932&view=rev
Log:
Add a header that I forgot to commit.

Added:
    llvm/trunk/include/llvm-c/Initialization.h

Added: llvm/trunk/include/llvm-c/Initialization.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Initialization.h?rev=115932&view=auto
==============================================================================
--- llvm/trunk/include/llvm-c/Initialization.h (added)
+++ llvm/trunk/include/llvm-c/Initialization.h Thu Oct  7 13:05:11 2010
@@ -0,0 +1,32 @@
+/*===-- llvm-c/Initialization.h - Initialization C Interface ------*- C -*-===*\
+|*                                                                            *|
+|*                     The LLVM Compiler Infrastructure                       *|
+|*                                                                            *|
+|* This file is distributed under the University of Illinois Open Source      *|
+|* License. See LICENSE.TXT for details.                                      *|
+|*                                                                            *|
+|*===----------------------------------------------------------------------===*|
+|*                                                                            *|
+|* This header declares the C interface to LLVM initialization routines,      *|
+|* which must be called before you can use the functionality provided by      *|
+|* the corresponding LLVM library.                                            *|
+|*                                                                            *|
+\*===----------------------------------------------------------------------===*/
+
+#ifndef LLVM_C_INITIALIZEPASSES_H
+#define LLVM_C_INITIALIZEPASSES_H
+
+#include "llvm-c/Core.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void LLVMInitializeTransformUtils(LLVMPassRegistryRef R);
+void LLVMInitializeScalarOpts(LLVMPassRegistryRef R);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif





More information about the llvm-commits mailing list