MLIR 22.0.0git
ToLLVMInterface.h File Reference
#include "mlir/IR/DialectInterface.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/Conversion/ConvertToLLVM/ToLLVMAttrInterface.h.inc"
#include "mlir/Conversion/ConvertToLLVM/ToLLVMOpInterface.h.inc"

Go to the source code of this file.

Classes

class  mlir::ConvertToLLVMPatternInterface
 Base class for dialect interfaces providing translation to LLVM IR. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.

Functions

void mlir::populateConversionTargetFromOperation (Operation *op, ConversionTarget &target, LLVMTypeConverter &typeConverter, RewritePatternSet &patterns)
 Recursively walk the IR and collect all dialects implementing the interface, and populate the conversion patterns.
void mlir::populateOpConvertToLLVMConversionPatterns (Operation *op, ConversionTarget &target, LLVMTypeConverter &typeConverter, RewritePatternSet &patterns)
 Helper function for populating LLVM conversion patterns.