Lines Matching refs:tnum

12 #define TNUM(_v, _m)	(struct tnum){.value = _v, .mask = _m}
14 const struct tnum tnum_unknown = { .value = 0, .mask = -1 };
16 struct tnum tnum_const(u64 value) in tnum_const()
21 struct tnum tnum_range(u64 min, u64 max) in tnum_range()
37 struct tnum tnum_lshift(struct tnum a, u8 shift) in tnum_lshift()
42 struct tnum tnum_rshift(struct tnum a, u8 shift) in tnum_rshift()
47 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness) in tnum_arshift()
62 struct tnum tnum_add(struct tnum a, struct tnum b) in tnum_add()
74 struct tnum tnum_sub(struct tnum a, struct tnum b) in tnum_sub()
86 struct tnum tnum_and(struct tnum a, struct tnum b) in tnum_and()
96 struct tnum tnum_or(struct tnum a, struct tnum b) in tnum_or()
105 struct tnum tnum_xor(struct tnum a, struct tnum b) in tnum_xor()
122 struct tnum tnum_mul(struct tnum a, struct tnum b) in tnum_mul()
125 struct tnum acc_m = TNUM(0, 0); in tnum_mul()
144 struct tnum tnum_intersect(struct tnum a, struct tnum b) in tnum_intersect()
153 struct tnum tnum_cast(struct tnum a, u8 size) in tnum_cast()
160 bool tnum_is_aligned(struct tnum a, u64 size) in tnum_is_aligned()
167 bool tnum_in(struct tnum a, struct tnum b) in tnum_in()
175 int tnum_strn(char *str, size_t size, struct tnum a) in tnum_strn()
181 int tnum_sbin(char *str, size_t size, struct tnum a) in tnum_sbin()
201 struct tnum tnum_subreg(struct tnum a) in tnum_subreg()
206 struct tnum tnum_clear_subreg(struct tnum a) in tnum_clear_subreg()
211 struct tnum tnum_const_subreg(struct tnum a, u32 value) in tnum_const_subreg()