pub(super) fn transmute_immediate<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
bx: &mut Bx,
imm: Bx::Value,
from_scalar: Scalar,
from_backend_ty: Bx::Type,
to_scalar: Scalar,
to_backend_ty: Bx::Type,
) -> Bx::ValueExpand description
Transmutes one of the immediates from an OperandValue::Immediate
or an OperandValue::Pair to an immediate of the target type.
to_backend_ty must be the non-immediate backend type (so it will be
i8, not i1, for bool-like types.)