My Project
Public Member Functions | List of all members
mlir::LinalgTypeConverter Class Reference

#include <LinalgToLLVM.h>

Inheritance diagram for mlir::LinalgTypeConverter:
Inheritance graph
[legend]
Collaboration diagram for mlir::LinalgTypeConverter:
Collaboration graph
[legend]

Public Member Functions

Type convertType (Type t) override
 
- Public Member Functions inherited from mlir::LLVMTypeConverter
 LLVMTypeConverter (MLIRContext *ctx)
 
Type convertType (Type t) override
 
LLVM::LLVMType convertFunctionSignature (FunctionType type, bool isVariadic, SignatureConversion &result)
 
Type packFunctionResults (ArrayRef< Type > types)
 
llvm::LLVMContext & getLLVMContext ()
 Returns the LLVM context. More...
 
LLVM::LLVMDialectgetDialect ()
 Returns the LLVM dialect. More...
 
SmallVector< Value, 4 > promoteMemRefDescriptors (Location loc, ValueRange opOperands, ValueRange operands, OpBuilder &builder)
 
Value promoteOneMemRefDescriptor (Location loc, Value operand, OpBuilder &builder)
 
- Public Member Functions inherited from mlir::TypeConverter
virtual ~TypeConverter ()=default
 
virtual LogicalResult convertType (Type t, SmallVectorImpl< Type > &results)
 This hooks allows for converting a type. More...
 
LogicalResult convertTypes (ArrayRef< Type > types, SmallVectorImpl< Type > &results)
 
bool isLegal (Type type)
 
bool isSignatureLegal (FunctionType funcType)
 
virtual LogicalResult convertSignatureArg (unsigned inputNo, Type type, SignatureConversion &result)
 This hook allows for converting a specific argument of a signature. More...
 
Optional< SignatureConversionconvertBlockSignature (Block *block)
 
virtual OperationmaterializeConversion (PatternRewriter &rewriter, Type resultType, ArrayRef< Value > inputs, Location loc)
 

Additional Inherited Members

- Protected Attributes inherited from mlir::LLVMTypeConverter
llvm::Module * module
 LLVM IR module used to parse/create types. More...
 
LLVM::LLVMDialectllvmDialect
 

Member Function Documentation

◆ convertType()

Type LinalgTypeConverter::convertType ( Type  t)
overridevirtual

This hook simplifies defining 1-1 type conversions. This function returns the type to convert to on success, and a null type on failure.

Reimplemented from mlir::TypeConverter.


The documentation for this class was generated from the following files: