|
|
| FIRToMemRefTypeConverter (mlir::ModuleOp mod) |
|
void | setConvertComplexTypes (bool value) |
| | Control whether complex types are considered convertible.
|
|
void | setConvertScalarTypesOnly (bool value) |
| | Control whether only scalar types are considered during convertibleType.
|
| bool | convertibleMemrefType (mlir::Type ty) |
| bool | isEmptyArray (mlir::Type ty) const |
| bool | convertibleType (mlir::Type type) const |
|
mlir::MemRefType | convertMemrefType (mlir::Type firTy) const |
| | Convert a FIR element / aggregate type to a MemRef descriptor type.
|
◆ convertibleMemrefType()
| bool fir::FIRToMemRefTypeConverter::convertibleMemrefType |
( |
mlir::Type | ty | ) |
|
|
inline |
Return true if the given FIR type can be converted to a MemRef-typed descriptor (i.e. is a supported base element for MemRef converting).
◆ convertibleType()
| bool fir::FIRToMemRefTypeConverter::convertibleType |
( |
mlir::Type | type | ) |
const |
|
inline |
Returns true if the given type can be converted according to the current converter settings (scalar-only or full).
◆ isEmptyArray()
| bool fir::FIRToMemRefTypeConverter::isEmptyArray |
( |
mlir::Type | ty | ) |
const |
|
inline |
Return true if the given FIR type represents an empty array (has a zero extent in its shape).
The documentation for this class was generated from the following file: