Lines Matching refs:Option
19 fn checked_add_with_type(&mut self, ty: Type, a: u64, b: u64) -> Option<u64> {
55 fn imm64_sdiv(&mut self, ty: Type, x: Imm64, y: Imm64) -> Option<Imm64> {
78 fn imm64_srem(&mut self, ty: Type, x: Imm64, y: Imm64) -> Option<Imm64> {
290 fn fits_in_16(&mut self, ty: Type) -> Option<Type> {
299 fn fits_in_32(&mut self, ty: Type) -> Option<Type> {
308 fn lane_fits_in_32(&mut self, ty: Type) -> Option<Type> {
319 fn fits_in_64(&mut self, ty: Type) -> Option<Type> {
328 fn ty_int_ref_scalar_64(&mut self, ty: Type) -> Option<Type> {
337 fn ty_int_ref_scalar_64_extract(&mut self, ty: Type) -> Option<Type> {
342 fn ty_16(&mut self, ty: Type) -> Option<Type> {
347 fn ty_32(&mut self, ty: Type) -> Option<Type> {
352 fn ty_64(&mut self, ty: Type) -> Option<Type> {
357 fn ty_128(&mut self, ty: Type) -> Option<Type> {
362 fn ty_32_or_64(&mut self, ty: Type) -> Option<Type> {
371 fn ty_8_or_16(&mut self, ty: Type) -> Option<Type> {
380 fn ty_16_or_32(&mut self, ty: Type) -> Option<Type> {
389 fn int_fits_in_32(&mut self, ty: Type) -> Option<Type> {
397 fn ty_int_ref_64(&mut self, ty: Type) -> Option<Type> {
405 fn ty_int_ref_16_to_64(&mut self, ty: Type) -> Option<Type> {
413 fn ty_int(&mut self, ty: Type) -> Option<Type> {
418 fn ty_scalar(&mut self, ty: Type) -> Option<Type> {
423 fn ty_scalar_float(&mut self, ty: Type) -> Option<Type> {
428 fn ty_float_or_vec(&mut self, ty: Type) -> Option<Type> {
436 fn ty_vector_float(&mut self, ty: Type) -> Option<Type> {
445 fn ty_vector_not_float(&mut self, ty: Type) -> Option<Type> {
454 fn ty_vec64_ctor(&mut self, ty: Type) -> Option<Type> {
463 fn ty_vec64(&mut self, ty: Type) -> Option<Type> {
472 fn ty_vec128(&mut self, ty: Type) -> Option<Type> {
481 fn ty_dyn_vec64(&mut self, ty: Type) -> Option<Type> {
490 fn ty_dyn_vec128(&mut self, ty: Type) -> Option<Type> {
499 fn ty_vec64_int(&mut self, ty: Type) -> Option<Type> {
508 fn ty_vec128_int(&mut self, ty: Type) -> Option<Type> {
517 fn ty_addr64(&mut self, ty: Type) -> Option<Type> {
530 fn imm64_power_of_two(&mut self, x: Imm64) -> Option<u64> {
546 fn multi_lane(&mut self, ty: Type) -> Option<(u32, u32)> {
555 fn dynamic_lane(&mut self, ty: Type) -> Option<(u32, u32)> {
564 fn ty_dyn64_int(&mut self, ty: Type) -> Option<Type> {
573 fn ty_dyn128_int(&mut self, ty: Type) -> Option<Type> {
597 fn not_vec32x2(&mut self, ty: Type) -> Option<Type> {
605 fn not_i64x2(&mut self, ty: Type) -> Option<()> {
621 fn nonzero_u64_from_imm64(&mut self, val: Imm64) -> Option<u64> {
629 fn u32_nonnegative(&mut self, x: u32) -> Option<u32> {
654 fn ty_half_lanes(&mut self, ty: Type) -> Option<Type> {
663 fn ty_half_width(&mut self, ty: Type) -> Option<Type> {
688 fn little_or_native_endian(&mut self, flags: MemFlags) -> Option<MemFlags> {
701 fn signed_cond_code(&mut self, cc: &IntCC) -> Option<IntCC> {
786 fn u128_replicated_u64(&mut self, val: u128) -> Option<u64> {
795 fn u64_replicated_u32(&mut self, val: u64) -> Option<u64> {
804 fn u32_replicated_u16(&mut self, val: u64) -> Option<u64> {
814 fn u16_replicated_u8(&mut self, val: u64) -> Option<u8> {
832 fn f16_min(&mut self, a: Ieee16, b: Ieee16) -> Option<Ieee16> {
836 fn f16_max(&mut self, a: Ieee16, b: Ieee16) -> Option<Ieee16> {
852 fn f32_add(&mut self, lhs: Ieee32, rhs: Ieee32) -> Option<Ieee32> {
856 fn f32_sub(&mut self, lhs: Ieee32, rhs: Ieee32) -> Option<Ieee32> {
860 fn f32_mul(&mut self, lhs: Ieee32, rhs: Ieee32) -> Option<Ieee32> {
864 fn f32_div(&mut self, lhs: Ieee32, rhs: Ieee32) -> Option<Ieee32> {
868 fn f32_sqrt(&mut self, n: Ieee32) -> Option<Ieee32> {
872 fn f32_ceil(&mut self, n: Ieee32) -> Option<Ieee32> {
876 fn f32_floor(&mut self, n: Ieee32) -> Option<Ieee32> {
880 fn f32_trunc(&mut self, n: Ieee32) -> Option<Ieee32> {
884 fn f32_nearest(&mut self, n: Ieee32) -> Option<Ieee32> {
888 fn f32_min(&mut self, a: Ieee32, b: Ieee32) -> Option<Ieee32> {
892 fn f32_max(&mut self, a: Ieee32, b: Ieee32) -> Option<Ieee32> {
908 fn f64_add(&mut self, lhs: Ieee64, rhs: Ieee64) -> Option<Ieee64> {
912 fn f64_sub(&mut self, lhs: Ieee64, rhs: Ieee64) -> Option<Ieee64> {
916 fn f64_mul(&mut self, lhs: Ieee64, rhs: Ieee64) -> Option<Ieee64> {
920 fn f64_div(&mut self, lhs: Ieee64, rhs: Ieee64) -> Option<Ieee64> {
924 fn f64_sqrt(&mut self, n: Ieee64) -> Option<Ieee64> {
928 fn f64_ceil(&mut self, n: Ieee64) -> Option<Ieee64> {
932 fn f64_floor(&mut self, n: Ieee64) -> Option<Ieee64> {
936 fn f64_trunc(&mut self, n: Ieee64) -> Option<Ieee64> {
940 fn f64_nearest(&mut self, n: Ieee64) -> Option<Ieee64> {
944 fn f64_min(&mut self, a: Ieee64, b: Ieee64) -> Option<Ieee64> {
948 fn f64_max(&mut self, a: Ieee64, b: Ieee64) -> Option<Ieee64> {
964 fn f128_min(&mut self, a: Ieee128, b: Ieee128) -> Option<Ieee128> {
968 fn f128_max(&mut self, a: Ieee128, b: Ieee128) -> Option<Ieee128> {
985 fn def_inst(&mut self, val: Value) -> Option<Inst> {