mirror of https://github.com/llvm/torch-mlir
26 lines
926 B
C
26 lines
926 B
C
|
/*===-- npcomp-c/InitLLVM.h - C API for initializing LLVM --------*- C -*-===*\
|
||
|
|* *|
|
||
|
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
|
||
|
|* Exceptions. *|
|
||
|
|* See https://llvm.org/LICENSE.txt for license information. *|
|
||
|
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
|
||
|
|* *|
|
||
|
\*===----------------------------------------------------------------------===*/
|
||
|
|
||
|
#ifndef NPCOMP_C_INITLLVM_H
|
||
|
#define NPCOMP_C_INITLLVM_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/** Initializes LLVM codegen infrastructure and related MLIR bridge components.
|
||
|
*/
|
||
|
void npcompInitializeLLVMCodegen();
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif // NPCOMP_C_INITLLVM_H
|