MLIR
20.0.0git
|
Go to the source code of this file.
Functions | |
MLIR_CAPI_EXPORTED LLVMModuleRef | mlirTranslateModuleToLLVMIR (MlirOperation module, LLVMContextRef context) |
Translate operation that satisfies LLVM dialect module requirements into an LLVM IR module living in the given context. More... | |
MLIR_CAPI_EXPORTED LLVMModuleRef mlirTranslateModuleToLLVMIR | ( | MlirOperation | module, |
LLVMContextRef | context | ||
) |
Translate operation that satisfies LLVM dialect module requirements into an LLVM IR module living in the given context.
This translates operations from any dilalect that has a registered implementation of LLVMTranslationDialectInterface.
Definition at line 24 of file LLVMIR.cpp.
References mlir::translateModuleToLLVMIR(), unwrap(), and wrap().