MLIR
18.0.0git
|
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
Functions | |
LogicalResult | mlir::convertFromAttribute (int64_t &storage, Attribute attr, function_ref< InFlightDiagnostic()> emitError) |
Convert an IntegerAttr attribute to an int64_t, or return an error if the attribute isn't an IntegerAttr. More... | |
Attribute | mlir::convertToAttribute (MLIRContext *ctx, int64_t storage) |
Convert the provided int64_t to an IntegerAttr attribute. More... | |
LogicalResult | mlir::convertFromAttribute (MutableArrayRef< int64_t > storage, Attribute attr, function_ref< InFlightDiagnostic()> emitError) |
Convert a DenseI64ArrayAttr to the provided storage. More... | |
LogicalResult | mlir::convertFromAttribute (MutableArrayRef< int32_t > storage, Attribute attr, function_ref< InFlightDiagnostic()> emitError) |
Convert a DenseI32ArrayAttr to the provided storage. More... | |
Attribute | mlir::convertToAttribute (MLIRContext *ctx, ArrayRef< int64_t > storage) |
Convert the provided ArrayRef<int64_t> to a DenseI64ArrayAttr attribute. More... | |