Expand description
Functions in this group operate on composite constants.
Functions§
- Create a
ConstantArrayfrom values. - Create a non-anonymous
ConstantStructfrom values. - Create a
ConstantDataSequentialwith string content in the global context. - Create a
ConstantDataSequentialand initialize it with a string. - Create a
ConstantStructin the globalContext. - Create an anonymous
ConstantStructwith the specified values. - Create a
ConstantVectorfrom values. - Get element of a constant aggregate
(struct, array or vector)at the specified index. ReturnsNoneif the index is out of range, or it’s not possible to determine the element (e.g., because the constant is a constant expression.) - Get the given constant data sequential as a string.
- Returns true if the specified constant is an array of
i8.