Function llvm_asm_scalar_type

Source
fn llvm_asm_scalar_type<'ll>(
    cx: &GenericCx<'ll, FullCx<'ll, '_>>,
    scalar: Scalar,
) -> &'ll Type
Expand description

Helper function to get the LLVM type for a Scalar. Pointers are returned as the equivalent integer type.