|
| | mlir::LLVM::DEFINE_TRIVIAL_LLVM_TYPE (LLVMVoidType, "llvm.void") |
| | mlir::LLVM::DEFINE_TRIVIAL_LLVM_TYPE (LLVMTokenType, "llvm.token") |
| | mlir::LLVM::DEFINE_TRIVIAL_LLVM_TYPE (LLVMLabelType, "llvm.label") |
| | mlir::LLVM::DEFINE_TRIVIAL_LLVM_TYPE (LLVMMetadataType, "llvm.metadata") |
| Type | mlir::LLVM::detail::parseType (DialectAsmParser &parser) |
| | Parses an LLVM dialect type.
|
| void | mlir::LLVM::detail::printType (Type type, AsmPrinter &printer) |
| | Prints an LLVM Dialect type.
|
| ParseResult | mlir::LLVM::parsePrettyLLVMType (AsmParser &p, Type &type) |
| | Parse any MLIR type or a concise syntax for LLVM types.
|
| void | mlir::LLVM::printPrettyLLVMType (AsmPrinter &p, Type type) |
| | Print any MLIR type or a concise syntax for LLVM types.
|
| bool | mlir::LLVM::isCompatibleType (Type type) |
| | Returns true if the given type is compatible with the LLVM dialect.
|
| bool | mlir::LLVM::isCompatibleOuterType (Type type) |
| | Returns true if the given outer type is compatible with the LLVM dialect without checking its potential nested types such as struct elements.
|
| bool | mlir::LLVM::isCompatibleFloatingPointType (Type type) |
| | Returns true if the given type is a floating-point type compatible with the LLVM dialect.
|
| bool | mlir::LLVM::isCompatibleVectorType (Type type) |
| | Returns true if the given type is a vector type compatible with the LLVM dialect.
|
| bool | mlir::LLVM::isLoadableType (Type type) |
| | Returns true if the given type is a loadable type compatible with the LLVM dialect.
|
| bool | mlir::LLVM::isTypeCompatibleWithAtomicOp (Type type, const DataLayout &dataLayout) |
| | Returns true if the given type is supported by atomic operations.
|
| llvm::ElementCount | mlir::LLVM::getVectorNumElements (Type type) |
| | Returns the element count of any LLVM-compatible vector type.
|
| bool | mlir::LLVM::isScalableVectorType (Type vectorType) |
| | Returns whether a vector type is scalable or not.
|
| Type | mlir::LLVM::getVectorType (Type elementType, unsigned numElements, bool isScalable=false) |
| | Creates an LLVM dialect-compatible vector type with the given element type and length.
|
| Type | mlir::LLVM::getVectorType (Type elementType, const llvm::ElementCount &numElements) |
| | Creates an LLVM dialect-compatible vector type with the given element type and length.
|
| llvm::TypeSize | mlir::LLVM::getPrimitiveTypeSizeInBits (Type type) |
| | Returns the size of the given primitive LLVM dialect-compatible type (including vectors) in bits, for example, the size of i16 is 16 and the size of vector<4xi16> is 64.
|
| std::optional< uint64_t > | mlir::LLVM::extractPointerSpecValue (Attribute attr, PtrDLEntryPos pos) |
| | Returns the value that corresponds to named position pos from the data layout entry attr assuming it's a dense integer elements attribute.
|