Is your feature request related to a problem? Please describe.
I would like to check the alignment of types once they have been lowered to BasicValueEnums.
Describe the solution you'd like
ArrayType, FloatType, IntType, PointerType, StructType, and VectorType all have get_alignment methods, with the same function signature as size_of:
Is your feature request related to a problem? Please describe. I would like to check the alignment of types once they have been lowered to BasicValueEnums.
Describe the solution you'd like ArrayType, FloatType, IntType, PointerType, StructType, and VectorType all have
get_alignment
methods, with the same function signature assize_of
:which is implemented on the BasicValue trait. I would like
get_alignment
to be a function of BasicValue, the same waysize_of
is.