• Home
  • Raw
  • Download

Lines Matching refs:IntKind

35 use crate::ir::int::IntKind;
2884 IntKind::Int in codegen()
2895 (true, 1) => IntKind::I8, in codegen()
2896 (false, 1) => IntKind::U8, in codegen()
2897 (true, 2) => IntKind::I16, in codegen()
2898 (false, 2) => IntKind::U16, in codegen()
2899 (true, 4) => IntKind::I32, in codegen()
2900 (false, 4) => IntKind::U32, in codegen()
2901 (true, 8) => IntKind::I64, in codegen()
2902 (false, 8) => IntKind::U64, in codegen()
2908 IntKind::I32 in codegen()
3471 IntKind::Bool => Ok(quote! { bool }), in try_to_rust_ty()
3472 IntKind::Char { .. } => Ok(raw_type(ctx, "c_char")), in try_to_rust_ty()
3473 IntKind::SChar => Ok(raw_type(ctx, "c_schar")), in try_to_rust_ty()
3474 IntKind::UChar => Ok(raw_type(ctx, "c_uchar")), in try_to_rust_ty()
3475 IntKind::Short => Ok(raw_type(ctx, "c_short")), in try_to_rust_ty()
3476 IntKind::UShort => Ok(raw_type(ctx, "c_ushort")), in try_to_rust_ty()
3477 IntKind::Int => Ok(raw_type(ctx, "c_int")), in try_to_rust_ty()
3478 IntKind::UInt => Ok(raw_type(ctx, "c_uint")), in try_to_rust_ty()
3479 IntKind::Long => Ok(raw_type(ctx, "c_long")), in try_to_rust_ty()
3480 IntKind::ULong => Ok(raw_type(ctx, "c_ulong")), in try_to_rust_ty()
3481 IntKind::LongLong => Ok(raw_type(ctx, "c_longlong")), in try_to_rust_ty()
3482 IntKind::ULongLong => Ok(raw_type(ctx, "c_ulonglong")), in try_to_rust_ty()
3483 IntKind::WChar => { in try_to_rust_ty()
3493 IntKind::I8 => Ok(quote! { i8 }), in try_to_rust_ty()
3494 IntKind::U8 => Ok(quote! { u8 }), in try_to_rust_ty()
3495 IntKind::I16 => Ok(quote! { i16 }), in try_to_rust_ty()
3496 IntKind::U16 => Ok(quote! { u16 }), in try_to_rust_ty()
3497 IntKind::I32 => Ok(quote! { i32 }), in try_to_rust_ty()
3498 IntKind::U32 => Ok(quote! { u32 }), in try_to_rust_ty()
3499 IntKind::I64 => Ok(quote! { i64 }), in try_to_rust_ty()
3500 IntKind::U64 => Ok(quote! { u64 }), in try_to_rust_ty()
3501 IntKind::Custom { name, .. } => { in try_to_rust_ty()
3504 IntKind::U128 => { in try_to_rust_ty()
3513 IntKind::I128 => { in try_to_rust_ty()