Lines Matching refs:tnum
14 struct tnum { struct
21 struct tnum tnum_const(u64 value);
23 extern const struct tnum tnum_unknown;
25 struct tnum tnum_range(u64 min, u64 max);
29 struct tnum tnum_lshift(struct tnum a, u8 shift);
31 struct tnum tnum_rshift(struct tnum a, u8 shift);
33 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness);
35 struct tnum tnum_add(struct tnum a, struct tnum b);
37 struct tnum tnum_sub(struct tnum a, struct tnum b);
39 struct tnum tnum_and(struct tnum a, struct tnum b);
41 struct tnum tnum_or(struct tnum a, struct tnum b);
43 struct tnum tnum_xor(struct tnum a, struct tnum b);
45 struct tnum tnum_mul(struct tnum a, struct tnum b);
48 struct tnum tnum_intersect(struct tnum a, struct tnum b);
51 struct tnum tnum_cast(struct tnum a, u8 size);
54 static inline bool tnum_is_const(struct tnum a) in tnum_is_const()
60 static inline bool tnum_equals_const(struct tnum a, u64 b) in tnum_equals_const()
66 static inline bool tnum_is_unknown(struct tnum a) in tnum_is_unknown()
74 bool tnum_is_aligned(struct tnum a, u64 size);
77 bool tnum_in(struct tnum a, struct tnum b);
85 int tnum_strn(char *str, size_t size, struct tnum a);
87 int tnum_sbin(char *str, size_t size, struct tnum a);
90 struct tnum tnum_subreg(struct tnum a);
92 struct tnum tnum_clear_subreg(struct tnum a);
94 struct tnum tnum_const_subreg(struct tnum a, u32 value);
96 static inline bool tnum_subreg_is_const(struct tnum a) in tnum_subreg_is_const()