pub unsafe extern "C" fn mlirTranslateModuleToLLVMIR(
module: MlirOperation,
context: LLVMContextRef,
) -> LLVMModuleRef
Expand description
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.
\returns the generated LLVM IR Module from the translated MLIR module, it is owned by the caller.