Declaration of ConversionType
and Conversion
classes.
ConversionType class, to make it easier to work with MLIR types.
__init__(mlir: Type)
Conversion class, to store MLIR operations with additional information.
__init__(origin: Node, result: OpResult)
Get the original bit-width of the conversion.
If not explicitly set, defaults to the actual bit width.
set_original_bit_width(original_bit_width: int)
Set the original bit-width of the conversion.